Indicator · Pine Script v6 · On the chart

Quantum Flow v18.1 Disciplined (Fixed)

by Jitheandra98

This indicator implements an ICT and smart money concepts decision framework primarily tuned for gold and major assets.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code2,406
Settings40inputs
LicenceNone stated
Last update3 months ago23 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

Jitheandra98 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Candlestick patterns

Markets

Gold, Forex, Indices, Crypto

Timeframes

M1-M5, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
ProfilestringAutoi_profOverride
HARD D/P GATE (Disc Buys / Prem Sells)booltruei_useDPGate
└ Buy: max P/D %float50.0i_discMaxPct
└ Sell: min P/D %float50.0i_premMinPct
OPPOSING OB GUARDbooltruei_useOBGuard
└ Guard dist (ATR)float2.0i_obGuardATR
Sells require OB/Breaker contactbooltruei_reqOBForSell
Breaker entries require patternbooltruei_reqPatternBrk
FIXED $ SL/TP (Gold 20/50)booltruei_useFixedSLTP
└ Fixed SL ($)float20.0i_fixedSL
└ Fixed TP ($)float50.0i_fixedTP
Show v18 reject markersbooltruei_showV18Marks
Show all 40 settings
SettingTypeDefaultVariable
P1: Structure-Anchored SLbooltruei_useStructSL
└ Min SL ATR Multfloat1.3i_slATRMult
└ Buffer ATR Multfloat0.2i_slBuffer
P1: Liquidity-Cascade TPbooltruei_useLiqCascade
P1: Extended P/D Tiersbooltruei_useExtPDTiers
P1: 3-Factor Chop Detectionbooltruei_use3FactorChop
P1: Session-Phase Routingbooltruei_useSessPhase
P2: Historical Reactivity Storebooltruei_useHRS
└ Level Cluster Tolfloat0.20i_hrsTolATR
└ Max Tracked Levelsint80i_hrsMaxLevels
└ Reaction Thresholdfloat1.0i_hrsReactionATR
P2: HTF Zone Importbooltruei_useHTFImport
P2: Magnet Level Detectionbooltruei_useMagnet
P2: Bilateral Zone Conversionbooltruei_useBilateral
P3: Bayesian Per-Zone WRbooltruei_useBayesian
└ Prior WRfloat0.65i_bayesPrior
└ Shrinkage Strengthint10i_bayesShrink
P3: Decision Authority Waterfallbooltruei_useDecisionWF
P3: Probabilistic Bias Gatebooltruei_useProbBias
P3: Pre-Signal Enginebooltruei_usePreSignal
P3: Live Trade Quality Monitorbooltruei_useTradeQual
Two-Phase Zone Entrybooltruei_useZoneEntry
Validation Window (0=auto)int0i_pendingBars
Min Zone Reaction Scoreint4i_zrsThresh
Hard Bias Gatebooltruei_hardBiasGate
Move Exhaustion Filterbooltruei_moveExhaust
Max Move (ATR×)float5.0i_moveATRLimit
Require Sweep Rejectionbooltruei_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.

Similar Pine Scripts

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Liquidity Sweep + Close-Back Confirmation
46 stars

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

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 7 weeks ago · None stated GitHub repository of HTF Sweep Model with CISD Table

Fractal Reclaim Strength

by selimgrsoy0-commits
12 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Fractal Reclaim Strength

ICT HTF Candles (fadi)

by dbruce1990
12 stars

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

Indicator v6 SMC / ICT / price actionCandlestick patterns
Updated 1 year ago · None stated GitHub repository of ICT HTF Candles (fadi)

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

Indicator v6 Candlestick patternsSupport & resistance
Updated yesterday · MIT GitHub repository of Tweezer & Kangaroo Zones [WavesUnchained]

Assistant

by eddiebelaval
7 stars

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

Indicator v6 Candlestick patternsSupport & resistance
Updated 3 months ago · None stated GitHub repository of Assistant

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers