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
London SR Cleaner WR (TP 0.20) flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest with wick-to-body rejection and a close-away confirmation. Entries are limited to a flat position, a daily trade cap, and one use of each level. An EMA is plotted as a trend filter. Take-profit percent and stop buffer are configurable inputs; the excerpt ends before the order calls.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
London Session (Athens UTC+2)
session
1100-2000
sessionInput
Max bars to wait retest (sniper)
int
2
retestBars
Rejection: Wick > Body *
float
1.5
wickBodyMult
TP % (target)
float
0.20
tpPct
SL buffer (price units)
float
0.3
slBuffer
Max trades/day
int
2
maxTradesPerDay
EMA Filter Length
int
200
emaLen
ATR Length
int
14
atrLen
ATR Break Buffer
float
0.06
atrBreakMult
ATR Close-away confirm
float
0.12
atrCloseAwayMult
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 plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos
This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status
This strategy trades SOL perpetual candles on the price chart. It tracks confirmed pivot highs and lows as support and resistance circles, then compares close with a smoothed filter and a three-period EMA to mark long and short conditions after the bar closes.
This intraday strategy implements Mark Fisher's Opening Range Breakout (ORB) methodology tailored for index futures like ES and NQ. It calculates session opening ranges, volume z-scores, and VWAP bands to plot support, resistance, and confirmation levels on th
P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for
This strategy trades Nikkei 225 futures during a configurable overnight session, defaulting to 19:00–03:00 ET. It builds long and short trend conditions from an 8/21 EMA pair and a 200-period SMA, with RSI, momentum, an ATR-scaled breakout range, and a volume