OPEN-SOURCE SCRIPT

CRT Strategy with 2:1 Risk/Reward

152
Higher Timeframe Range: The strategy calculates the range from the most recent candle on the 1-hour chart.
Entry Conditions: The entry signals use a simple crossover (or you can replace this with any other condition you'd like). A long entry happens when the current close crosses above the highest close of the past 10 bars, and a short entry happens when the current close crosses below the lowest close.
Stop Loss & Take Profit: The stop loss is set based on the HTF range, and the take profit is 2x the range for a 2:1 risk-to-reward ratio.
Plotting: The stop loss and take profit levels are plotted on the chart for visualization.
Customization:
You can adjust the timeframe (htf) to any higher timeframe you'd like (e.g., 1-hour, 4-hour).
The entry condition (crossover and crossunder) is just an example. You can replace this with any other strategy or indicator.
You can also tweak the risk-to-reward ratio or other aspects of the strategy

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.