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
Quantum Flow v18.1 Disciplined (Fixed) plots order blocks, breaker blocks, liquidity pools, and premium-discount levels on the price chart. Entry conditions require strict discipline gating: buys in discount, sells in premium, opposing order block guards, and candlestick pattern confirmation at breaker zones. It tracks hypothetical trades using fixed dollar or structure-anchored stops and targets, while incorporating chop detection, session phases, and Bayesian zone reactivity metrics.
Premium and discount execution gate
Opposing order block guard filter
Breaker block candlestick pattern confirmation
Structure-anchored and fixed dollar SL and TP targets
Historical reactivity tracking and Bayesian zone scoring
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 Pine Script indicator identifies liquidity sweeps and confirms signals using a close-back candle pattern directly on the price chart. It tracks recent swing highs and lows over a customizable lookback period. A bullish signal forms when a prior bar sweeps
This overlay indicator draws a set of higher-timeframe candles on the price chart. The user sets the timeframe or lets it select automatically, plus candle count, size, offset, margin, and whether the candles are standard or Heikin Ashi. A table can show the a
The indicator tracks four-bar fractal sweep and reclaim setups on chart timeframes of 15 minutes and above. It calculates Reclaim Strength based on where C2 closes relative to C1's range and plots level lines for the swept C1 extreme and C2 extreme. An on-scre
ICT HTF Candles displays higher timeframe candle structures directly on the price chart using customized boxes and lines. It tracks up to six user-defined higher timeframes, plotting historical body, wick, and imbalance zones alongside optional price level tra
This overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte
Assistant is an overlay indicator that marks candles with small or missing upper and lower wicks, using a threshold relative to body size. It plots three-candle and five-candle swing fractals as triangles two bars back, and fires alerts when a bullish or beari