This large indicator applies ICT-style smart money analysis to gold on the price chart, covering order blocks, breaker blocks, liquidity pools, premium and discount positioning and market structure.
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
Buy and sell signals can be gated by a discount or premium filter, an opposing order block guard and breaker pattern requirements. Stops and targets can be fixed dollar values, 20 and 50 by default, or structure-based. Extras include historical reactivity levels, magnet levels and a decision waterfall. Nearly every constant is an input, so setup takes care.
Order blocks, breakers and liquidity pools
Discount and premium gate for buys and sells
Fixed dollar or structure-anchored stop and target
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Profile
string
Auto
i_profOverride
HARD D/P GATE (Disc Buys / Prem Sells)
bool
true
i_useDPGate
└ Buy: max P/D %
float
50.0
i_discMaxPct
└ Sell: min P/D %
float
50.0
i_premMinPct
OPPOSING OB GUARD
bool
true
i_useOBGuard
└ Guard dist (ATR)
float
2.0
i_obGuardATR
Sells require OB/Breaker contact
bool
true
i_reqOBForSell
Breaker entries require pattern
bool
true
i_reqPatternBrk
FIXED $ SL/TP (Gold 20/50)
bool
true
i_useFixedSLTP
└ Fixed SL ($)
float
20.0
i_fixedSL
└ Fixed TP ($)
float
50.0
i_fixedTP
Show v18 reject markers
bool
true
i_showV18Marks
Show all 40 settings
Setting
Type
Default
Variable
P1: Structure-Anchored SL
bool
true
i_useStructSL
└ Min SL ATR Mult
float
1.3
i_slATRMult
└ Buffer ATR Mult
float
0.2
i_slBuffer
P1: Liquidity-Cascade TP
bool
true
i_useLiqCascade
P1: Extended P/D Tiers
bool
true
i_useExtPDTiers
P1: 3-Factor Chop Detection
bool
true
i_use3FactorChop
P1: Session-Phase Routing
bool
true
i_useSessPhase
P2: Historical Reactivity Store
bool
true
i_useHRS
└ Level Cluster Tol
float
0.20
i_hrsTolATR
└ Max Tracked Levels
int
80
i_hrsMaxLevels
└ Reaction Threshold
float
1.0
i_hrsReactionATR
P2: HTF Zone Import
bool
true
i_useHTFImport
P2: Magnet Level Detection
bool
true
i_useMagnet
P2: Bilateral Zone Conversion
bool
true
i_useBilateral
P3: Bayesian Per-Zone WR
bool
true
i_useBayesian
└ Prior WR
float
0.65
i_bayesPrior
└ Shrinkage Strength
int
10
i_bayesShrink
P3: Decision Authority Waterfall
bool
true
i_useDecisionWF
P3: Probabilistic Bias Gate
bool
true
i_useProbBias
P3: Pre-Signal Engine
bool
true
i_usePreSignal
P3: Live Trade Quality Monitor
bool
true
i_useTradeQual
Two-Phase Zone Entry
bool
true
i_useZoneEntry
Validation Window (0=auto)
int
0
i_pendingBars
Min Zone Reaction Score
int
4
i_zrsThresh
Hard Bias Gate
bool
true
i_hardBiasGate
Move Exhaustion Filter
bool
true
i_moveExhaust
Max Move (ATR×)
float
5.0
i_moveATRLimit
Require Sweep Rejection
bool
true
i_sweepReject
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 overlay indicator finds pivot highs and lows on the price chart and compares the last two highs and the last two lows. When the percentage difference between a pair is below the Equal HL threshold, it treats them as equal levels and draws a box. Left and
This indicator plots labels on the TradingView price chart to mark ARK Invest's buy and sell trades for the DE stock. Buy transactions appear in green with X1 or X2 multipliers showing the number of ARK ETFs involved on the same day; sells appear in red. The m
This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm
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 implements the Fractal Model concept to plot market structure shifts, liquidity sweeps, and Change in State of Delivery (CISD) levels. It overlays custom higher-timeframe candle previews, open prices, and time markers directly on the price chart
This indicator calculates pivot highs and pivot lows to detect liquidity sweeps and Swing Failure Patterns. It identifies when price breaks past recent key swing highs or lows within a configurable historical window, then looks for a quick reversal or change i