1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Entries need RSI to pass set levels plus a gap, with candle color, EMA 200, ATR range and body-size filters, and an optional pullback re-entry. Exits use a percent stop loss, a take profit that widens in higher volatility, a cooldown between trades and an optional ATR trailing stop. Position size is full equity with commission set. Take profit and stop zones can be drawn. Comments are in Indonesian.
RSI breakout entries with EMA 200, ATR and candle filters
Pullback continuation re-entry option
Percent stop loss and volatility-based take profit
Optional ATR trailing stop
Full-equity sizing with commission and zone drawing
TP gentle (vol di atas wall1, 2-bucket) — v22 Max Calmar
float
2.4
tp_gentle
Wall-1 ATR% (low->mid)
float
0.40
wall1
Wall-2 ATR% (mid->high, 3-bucket)
float
0.58
wall2
Use trailing stop
bool
true
use_trail
Trail ATR multiplier
float
2.0
trail_mult
Trail min %
float
0.5
trail_min
Trail max %
float
2.0
trail_max
Trail activation %
float
2.5
trail_act
Garis & zona TP/SL
bool
true
show_zones
Panah masuk (base + pullback)
bool
true
show_arrows
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim
This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian
This strategy trades Donchian channel breakouts on the price chart and exits on a shorter Donchian channel. It sizes each unit from a percentage of equity and an ATR-based initial stop, then adds units as price moves a set ATR distance, up to a maximum unit co
This strategy plots dynamic pivot-based support and resistance trendlines on the price chart and trades breakouts beyond those lines. By default it allows longs only when EMA 50 is above EMA 200 and an RSI-SMA momentum filter is met, with an ATR entry buffer.
Edge 59 is a price-chart strategy that combines an ADX directional filter, a weighted moving average, and a trend-follower channel. The channel uses an exponential moving average of close, optionally smoothed by linear regression, and a percentage of a fixed 2
AG Momentum Breakout is a strategy that identifies continuation signals after pullbacks in trending markets. It filters for uptrends using EMAs and detects recent pullbacks via RSI conditions before entering on RSI crossovers above 50 with ADX confirmation. Th