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 indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
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
Each engine measures candle range as open to close or high to low, compares it with a standard deviation multiple, and marks the candle when a fair value gap confirms on the next bar. Default multipliers run from 6.5 down to 5.0, and each engine has its own bull and bear toggle. Markers are shifted back one bar to sit on the displaced candle, and alerts are provided. Only confirmed bars are used.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Range Type
string
Open to Close
d1_type
Std Dev Length
int
100
d1_len
Std Dev Multiplier
float
6.5
d1_mult
Show Bull
bool
true
d1_show_b
Show Bear
bool
true
d1_show_r
Range Type
string
Open to Close
d2_type
Std Dev Length
int
100
d2_len
Std Dev Multiplier
float
6.0
d2_mult
Show Bull
bool
true
d2_show_b
Show Bear
bool
true
d2_show_r
Range Type
string
Open to Close
d3_type
Std Dev Length
int
100
d3_len
Show all 20 settings
Setting
Type
Default
Variable
Std Dev Multiplier
float
5.5
d3_mult
Show Bull
bool
true
d3_show_b
Show Bear
bool
true
d3_show_r
Range Type
string
Open to Close
d4_type
Std Dev Length
int
100
d4_len
Std Dev Multiplier
float
5.0
d4_mult
Show Bull
bool
true
d4_show_b
Show Bear
bool
true
d4_show_r
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 indicator detects compressed corrective coils inside a higher-timeframe trend and signals when they resolve into clean directional breaks. It plots compression bands, fractal boxes, efficiency scores, and a light dashboard on the price chart. Signals clas
Calculates CRT session range boundaries and detects Turtle Soup setups to identify potential breakout signals. The script tracks session high, low, and midpoint values to determine intraday bias while measuring price break distances against ATR thresholds. It
Indicatorv5SMC / ICT / price actionSessions & time
This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator maps market structure and supply and demand zones on the price chart. It marks validated and optional unvalidated swing highs and lows using a pivot length and extra confirmation bars. Consolidation and impulse moves are measured against ATR to
Acceleration Bands is an overlay indicator that plots a volatility envelope around a central simple moving average. It calculates upper and lower boundary bands scaled by the high-to-low bar range relative to the midpoint price, smoothed by an SMA over a user-
This indicator calculates and plots Donchian Channels directly on the price chart. It determines the highest high and lowest low over a user-selected lookback period using an optimized monotonic deque algorithm, as well as a middle basis line computed as their