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
Body sensitivity sets the minimum candle body size relative to the average before a gap is accepted. Mitigation can require a full fill or only a midpoint touch. Boxes extend a chosen number of bars. An optional table lists active gaps, and an optional trend line follows the average direction of valid gaps using passband ripple and cutoff settings. The script reads higher-timeframe data with lookahead enabled.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Timeframe
timeframe
tf
Sensativity
float
1.0
BodySens
Mitigated on mid
bool
true
mit
Show FVG table
bool
false
showActive
Table Left
int
5
TableLeft
Right
int
10
TableRight
Extend Boxes
int
10
extendLength
UpCol
color
color.new(#00ffbb, 50)
UpCol
DnCol
color
color.new(#ff1100, 50)
DnCol
Col
color
color.new(color.gray, 85)
Col
Show FVG Trend
bool
true
showTrend
Passband Ripple (dB)
float
10.0
rp
Show all 15 settings
Setting
Type
Default
Variable
Cutoff Frequency (0 to 0.5)
float
0.1
fc
TUpCol
color
color.lime
TUpCol
TDnCol
color
color.red
TDnCol
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.
The indicator plots ICT displacement candles on the price chart and can switch to retracement scanning. Displacement requires a move larger than a set share of the 14-bar average high-low range, lasting at least a chosen number of bars, with optional close, pr
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator identifies fractal-based pivot highs and lows to map out market structure directly on the price chart. It detects bullish and bearish structure breaks, automatically labeling Break of Structure (BOS) and Change of Character (ChoCH) events when p
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi
The CISD with Fib/Range Extensions and Stats indicator tracks Change in State of Delivery (CISD) level breakouts on the price chart. It detects pullback structures filtered by ATR and volume conditions, then projects future target levels using customizable Fib
MTF State of Delivery tracks lower timeframe and higher timeframe orderflow delivery states by identifying bullish and bearish delivery levels across timeframes. It plots confirmed and pending orderflow lines directly on the price chart and provides an optiona