Indicator · Pine Script v6 · On the chart

Quantum Flow - FVG CE + TP Tiers

by Jitheandra98

This indicator implements an ICT and SMC decision engine directly on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code2,791
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 - FVG CE + TP Tiers calculates Fair Value Gap consequent encroachment entry triggers alongside multi-tiered profit targets and structure-anchored stop losses. Trades are filtered through premium or discount valuation gates, opposing order block guards, 3-factor chop detection, and session-phase routing. A built-in statistics engine tracks simulated historical performance across zone taps, magnets, and liquidity sweeps.

Details

Published by

Jitheandra98 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Sessions & time, Trend

Markets

Gold, Forex, Indices

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
Take Trade on FVG CE Touchbooltruei_useFVGCEEntry
FVG CE: Require Bias Alignmentbooltruei_fvgCEReqBias
FVG CE: First Touch Onlybooltruei_fvgCEFirstOnly
FVG CE: Skip in Hard Chopbooltruei_fvgCESkipChop
FVG CE: Skip when ADR Exhaustedbooltruei_fvgCESkipADR
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
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

7 stars

This script combines Smart Money Concepts including Break of Structure, Optimal Trade Entry Fibonacci levels, Fair Value Gaps, and Order Blocks to identify setup entries on the price chart. It tracks 15-minute higher timeframe structure, restricts trades to th

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of 15m BOS + OTE + FVG + OB (Prop Firm)

714AutoM8trDST

by alboogycOdR
6 stars

Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8trDST
2 stars

This indicator identifies Quasimodo Level (QML) market structure patterns on the price chart using a ZigZag algorithm. It includes optional directional trend filtering using dual exponential moving averages, an ADX threshold filter to verify trend strength, an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of QML Indicator Only w/filters [upslidedown]

SMC Marks

by kxngHADES
2 stars

This Pine Script indicator automatically marks Smart Money Concepts on the price chart. It identifies swing highs and lows as HH, HL, LH, LL using a configurable swing length. It detects breaks of market structure (BMS/BOS) and changes of character (CHoCH), wi

Indicator v6 SMC / ICT / price actionTrend
Updated 4 weeks ago · None stated GitHub repository of SMC Marks
575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

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