Smart Money Concepts Liquidity Sweep, Order Block & FVGOVERVIEW
Every Smart Money indicator draws order blocks and tells you they work. This one scores them 0–100 and then forward-tests whether the score is actually true — on your instrument, on your timeframe.
It maps liquidity, detects stop-hunts, builds entry zones from the displacement that follows, confirms them with real order flow, and grades every zone that price returns to. Instead of "here is an order block, trust me", the panel tells you something like:
Tier-A zones returned +0.23R vs +0.08R for a matched control, n=61, t=2.1 — PROVEN
...or, just as usefully, NOT PROVEN. It is built to be able to tell you it doesn't work.
This is a research and framing tool. It is NOT a strategy, NOT a signal service, and NOT a validated edge.
WHY THESE PARTS ARE ONE TOOL (mashup rationale)
The Smart Money / ICT model is a SEQUENCE. Each step is meaningless on its own, and that is why they are combined here rather than sold as separate scripts:
1. LIQUIDITY POOLS — Stops cluster above equal highs (buy-side) and below equal lows (sell-side). Swing points within an ATR tolerance are clustered into a single pool; the more swings, the more stops resting there. A pool is not a signal. It is a magnet and a target.
2. THE SWEEP — Price wicks THROUGH the pool and closes back INSIDE it. That is a stop-hunt, and it is the only part of the sequence that reveals intent. A sweep alone is still not a trade.
3. DISPLACEMENT — An impulsive, ATR-normalised move away from the swept level. This is what separates a SWEEP (reversal) from a RUN (continuation).
4. THE ZONE — Displacement leaves footprints: a FAIR VALUE GAP (a three-bar imbalance) and an ORDER BLOCK (the last opposing candle before the impulse). Where an FVG sits INSIDE an order block, two independent structures agree — flagged as a confluence zone.
5. LOCATION — The zone is then judged on WHERE it sits. Against the VOLUME PROFILE (value area, point of control, and untested "naked" POCs), and against the DEALING-RANGE EQUILIBRIUM. A bullish zone in DISCOUNT is a zone you are being paid to buy; the same zone in premium is not.
6. ORDER FLOW — The question structure cannot answer: did anyone actually show up? Intrabar delta signs each lower-timeframe bar's volume by its own direction. A bullish zone born on NEGATIVE delta is a vacuum, not a footprint — and scores nothing for it.
7. THE ENTRY — Price is never chased. The engine arms only when price RETRACES into a fresh zone, then frames entry / stop / target — the target being THE NEXT OPPOSING POOL OF STOPS, because that is where the next batch of liquidity is resting.
8. THE CALIBRATION — Without it, everything above is folklore.
Remove any one of these and the tool marks noise, chases price, targets nothing, ignores where value actually is, or reports a confidence it has not earned.
THE SCORE (0–100, eight measurable components, no discretion)
Displacement strength ...... impulse body ÷ ATR — the energy behind the zone
Participation (RVOL) ....... volume at formation vs its own recent average
Born from a sweep .......... did a stop-hunt precede it? (the core ICT claim)
Imbalance size ............. FVG height ÷ ATR
HTF alignment .............. does the higher timeframe agree?
Premium / discount ......... bullish zone in DISCOUNT? bearish zone in PREMIUM?
Volume-profile location .... at value, at the POC, or at an untested POC?
Order flow (delta) ......... was the displacement backed by real aggressive flow?
Tiers: A (70+) · B (40–69) · C (below 40). Every weight is an input — if you think the sweep matters more than I do, turn it up, and let the calibration tell you whether you were right.
THE CALIBRATION — AND WHY IT IS HONEST
Every zone trade is paired with a MATCHED CONTROL: the same bar, the same direction, and the SAME R:R — but entered at market with an ATR stop instead of at the zone. This isolates exactly one variable: does entering AT THE ZONE beat entering anywhere else on identical geometry? Under a random walk, this control has zero expectancy, so anything the zones earn is real.
Each tier is tested against its OWN control, because an A-zone may carry a very different R:R from a C-zone, and a trade's hit rate depends on its R:R.
Results are reported as EXPECTANCY IN R, not hit rate. When R:R varies from trade to trade, a hit rate on its own is meaningless: a 6R winner at 20% is +0.4R (excellent), while a 1R winner at 55% is +0.1R (barely worth the commission).
A Welch t-test decides whether the difference is real or luck. The panel does not say "proven" unless t > 1.96.
The panel also answers the one question that matters most: DOES TIER A BEAT TIER C? If the scoring model has any value, A-grade zones must outperform C-grade zones. If they don't, the score is noise — and it will say so.
Conventions are deliberately chosen so the tool cannot flatter itself:
· Both barriers touched on the same bar → the STOP is assumed first.
· Expired trades are marked to market, not counted as wins or losses.
· Everything is logged and resolved on confirmed bars only.
HOW TO USE IT
1. Read the bias, the liquidity map, and the premium/discount shading. Pools above are buy-side, pools below are sell-side, and price usually travels from one to the other.
2. Wait for a SWEEP, then for a zone to be created by the displacement that follows.
3. Do NOT chase. The engine arms an entry only when price RETRACES into a fresh zone.
4. Watch for ABSORPTION at the zone — heavy volume, a small range, price holding. Someone is soaking up the aggression. That is a defended zone, and it is the best live confirmation available.
5. READ THE CALIBRATION BEFORE YOU WEIGHT ANY OF IT. If Tier A is not proven on your instrument and timeframe, a zone is a LOCATION, not a PROBABILITY — treat it as context only.
6. Entry / stop / target and the resulting R:R are drawn on the chart. They are arithmetic, not advice.
Do not tune the weights until the numbers turn green. That is curve-fitting, and the calibration exists to catch it — not to be defeated by it.
ORIGINALITY
The underlying SMC concepts are public and credited below. What is assembled here is the specific synthesis: an eight-component measurable score, the fusion of SMC structure with auction-theory location (volume profile and premium/discount), true intrabar order-flow confirmation, a per-tier matched control, expectancy-in-R reporting, and a significance test that can — and frequently does — return "not proven".
Clean-room implementation. No third-party Pine code is reused.
UNIVERSAL / DATA REQUIREMENTS
Works on any symbol and any timeframe — the engine is ATR-normalised throughout, so it adapts to the instrument rather than assuming point values.
Volume improves the score but is NOT required. On a symbol without real volume, the RVOL, volume-profile and order-flow components neutralise and the panel says so, rather than blanking or pretending.
Intrabar delta requires a timeframe strictly below the chart's. The script AUTO-MAPS this (1m→5s, 3m→15s, 5m→30s, 15m→1m, and so on) because if the intrabar timeframe equals the chart timeframe there is only ONE intrabar — the bar itself — and delta degenerates to ±100% on every bar. Where true intrabar data is unavailable, the script falls back to a close-location proxy AND LABELS IT AS A PROXY in the panel.
NON-REPAINTING
Pools, sweeps, displacement, zones, the volume profile, absorption and entries are ALL computed on confirmed bars only.
Swing points use ta.pivot* and are therefore known only AFTER their confirmation bars. This is why a liquidity pool appears a few bars after its swing. That delay is the honest cost of not repainting, and it is paid deliberately — a level that moves after the fact is worse than no level at all.
The higher-timeframe read uses lookahead_off with a live-bar offset. The calibration harness logs AND resolves on confirmed bars, so its statistics cannot inflate intrabar. Nothing here is drawn and then moved.
HONEST LIMITATIONS — PLEASE READ
Smart Money Concepts is a popular framework, not a proven one. That is precisely why this script measures it instead of asserting it.
The calibration figures are IN-SAMPLE, close-to-close, with NO costs or slippage, and they use overlapping windows. A proven in-sample edge is NOT a guarantee of out-of-sample results.
The rolling volume profile is an APPROXIMATION — each bar's volume is spread uniformly across the bins its range covers. It is not tick data.
Small samples are unreliable. A tier with a low "n" is provisional even if it looks good.
If the edge is near zero, negative, or unstable across timeframes, the honest conclusion is that this model carries no edge on that instrument. The tool is designed to be able to tell you that, and you should believe it when it does.
Nothing here predicts price.
CONCEPT CREDITS
Smart Money / ICT concepts — liquidity pools, stop-hunts, displacement, fair value gaps, order blocks, premium/discount and optimal trade entry — are public trading concepts popularised by Michael J. Huddleston (Inner Circle Trader) and the wider SMC community.
Market Profile, the point of control and the value area — J. Peter Steidlmayer and the CBOT.
Market structure theory — Charles Dow.
Average True Range — J. Welles Wilder.
Wilson score interval — Edwin B. Wilson.
Triple-barrier forward labelling — Marcos López de Prado.
Welch's t-test — B. L. Welch.
The zone-scoring model, the order-flow fusion, the per-tier matched control and the tier calibration are the author's own. Not affiliated with, nor endorsed by, any of the above.
DISCLAIMER
This is a research and educational tool only. It is NOT financial advice, NOT a recommendation, and offers NO guarantee of profitability or accuracy. Indicators describe past behaviour; they do not predict the future. Entry, stop and target output is arithmetic, not advice. Trading carries a risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use of this script. Indicator

Fib OTE + FVG Confluence [Viprasol]Fib OTE + FVG Confluence — high-probability ICT entries where two edges agree
═══════════════════════════════════════════════════════════
THE IDEA
═══════════════════════════════════════════════════════════
A Fair Value Gap is a good entry zone. An OTE (Optimal Trade Entry) retracement is a
good entry zone. But an FVG that sits INSIDE the OTE — that's the setup ICT traders
actually wait for. This tool maps the higher-timeframe OTE / premium-discount zone,
detects Fair Value Gaps, and does the one thing that matters: it highlights and ALERTS
you when price taps an FVG that lands inside the OTE.
═══════════════════════════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════════════════════════
1. HTF OTE MAP — From the previous candle range of your chosen higher timeframe
(non-repainting), it builds the Fibonacci map: the OTE band (default 0.618-0.786),
the equilibrium line (0.5) that splits premium from discount, and a directional bias
(Auto from the last HTF candle, or force Long/Short). In a long bias the OTE sits in
discount (below equilibrium) — where you want to buy; in a short bias it sits in
premium.
2. FAIR VALUE GAPS — Standard 3-candle imbalances (bullish `low > high `, bearish
`high < low `), with an optional displacement filter and a minimum-size filter to
cut noise. Each gap is drawn as a box and tracked until filled (Wick / Close /
Average mitigation).
3. CONFLUENCE — the point of the tool. A gap is "confluent" when it overlaps the OTE
band (strict) or, in the looser mode, when a bullish gap sits in discount / a bearish
gap sits in premium. Confluent gaps are highlighted with a ★. Turn on "Show ONLY
Confluent FVGs" and the chart reduces to just the high-probability zones.
4. ALERTS — Get notified when price TAPS a confluent FVG (and optionally when one
forms). One alert, delivered via app / email / SMS / webhook (Text or JSON message).
═══════════════════════════════════════════════════════════
ALERTS SETUP
═══════════════════════════════════════════════════════════
Create one alert → Condition: "Fib OTE + FVG Confluence" → "Any alert() function call",
then pick your delivery (app/email/SMS/webhook) in the dialog. Switch Message Format to
"JSON (webhook)" for bot/automation-friendly output. Messages carry direction, event
(FORMED/TAPPED), and the gap's price range.
═══════════════════════════════════════════════════════════
SETTINGS
═══════════════════════════════════════════════════════════
• HTF Fibonacci / OTE: timeframe, bias (Auto/Long/Short), OTE start/end, show map, colors.
• Fair Value Gaps: min gap %, displacement filter, fill mode, show-only-confluent, colors, box extend.
• Confluence & Alerts: confluence rule (Inside OTE / Favored half), highlight color, form/tap
alert toggles, frequency (once-per-bar-close = no repaint), Text/JSON.
═══════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════
1. Set the OTE higher timeframe (e.g. Daily on an intraday chart).
2. Let Auto bias pick direction, or force Long/Short to your plan.
3. Enable "Show ONLY Confluent FVGs" to see just gaps inside the OTE.
4. Create the alert and wait for a tap of a ★ confluent gap — that's your cue to do
your own analysis and manage risk.
═══════════════════════════════════════════════════════════
LIMITATIONS — PLEASE READ
═══════════════════════════════════════════════════════════
• This is an awareness / confluence tool, not a strategy or signal service — no buy/sell
calls. A confluent tap is a location of interest, not a guarantee.
• The OTE map uses the previous HTF candle range and updates as new HTF candles form;
it reflects current context, not a fixed historical grid.
• FVGs are detected on the chart timeframe; confluence is judged against the OTE active
when each gap forms.
• Not financial advice. Trade at your own risk.
═══════════════════════════════════════════════════════════
CREDITS & ORIGINALITY
═══════════════════════════════════════════════════════════
Fair Value Gaps, OTE, and premium/discount are public ICT concepts. All code here — the
non-repainting HTF OTE map, the FVG detection and mitigation, the confluence logic, and
the alert engine — is original Viprasol work written from the standard definitions. No
third-party Pine code is reused.
Indicator

Adaptive Structural Trail Order Flow, Imbalance & RegimeAdaptive Structural Trail — Order Flow, Imbalance & Regime
What it is
Adaptive Structural Trail is a single, self-contained market-structure framework that re-clocks the chart by participation instead of time, marks the imbalances that real activity leaves behind, lets order flow decide which of those levels still matter, asks a regime filter whether trending behaviour can be trusted right now, and trails the strongest surviving level as an adaptive stop — all summarised in a plain-language dashboard that tells you, at a glance, whether the picture says ride, wait, or stand aside.
It is designed to be market-agnostic: every raw input (price, volume, and the volatility-index reference) is user-selectable, so the same logic runs on index futures, equities, FX, crypto or commodities without touching the code. Defaults are set for NIFTY index futures; change the volatility symbol and (if needed) the volume source for other instruments.
Why the components are combined (this is one tool, not a bundle)
Each layer measures a different facet of one process — activity creating structure, structure decaying or being defended, and a regime deciding whether to act. They are not independent indicators stacked for visual effect; remove any one and the others lose their meaning:
Delta clock (the substrate). A virtual bar closes only when cumulative signed volume becomes statistically significant (σ × a multiplier). Every downstream reading is therefore spaced by participation, not by the clock — a quiet 10 minutes and a violent 10 seconds are treated differently, which is the whole point.
Imbalance / fair-value-gap detection runs on those virtual bars, so a level is recorded only where genuine activity gapped price, not on arbitrary time bars.
Order-flow lifecycle (charge → decay → breaker/dead). When price returns to a level, delta adjudicates the outcome: absorbed-and-defended levels are reborn as breakers; levels that are surged through are killed. Flow decides what structure survives.
Regime gate (efficiency ratio + volatility burst). This routes everything. The trail is shown and signals arm only where trend behaviour is statistically credible; in range/transition/high-volatility states the tool deliberately stands aside.
Confidence fusion. Structure strength, cumulative-delta slope and flow toxicity (VPIN) are blended into one confidence number, which the dashboard converts into a plain instruction.
That coupling — a volume-significance clock feeding imbalance detection whose survival is adjudicated by order flow and gated by regime, fused into a single trailing level and a decision read-out — is the original contribution here.
How to use it
Add it to any liquid instrument. It is built for intraday timeframes (1–15 min is the sweet spot on index futures).
Read the dashboard top-down: the ACTION banner is the headline (e.g. LONG · ride the trail, RANGE · stand aside). Below it: bias + confidence, market state, the actual trail-stop price, order flow, flow toxicity, volatility context, and a plain "what to do" line.
Treat the coloured trail as a structure-based stop while the market state is a trend; when the state leaves trend, the trail disappears by design.
The imbalance zones show where unfilled activity sits; fresh, tapped and breaker levels are colour-coded (see the on-chart legend).
Edge-calibration panel (bottom-right): for transparency it scores past signals against a regime-matched base rate and reports EDGE = Hit − Base with a 95% confidence interval. Read the Edge column, not the raw hit-rate. This is descriptive of the past on your symbol — not a backtest and not a forward guarantee.
Key-info panel (top-left): instrument, timeframe, the live data source (see honesty note), threshold, ATR and level counts.
Honest note on data (please read)
TradingView exposes no true tick-by-tick aggressor delta and cannot build custom bars, so delta here is a proxy: signed intrabar volume taken from the finest lower timeframe your data plan returns — 1-second where available, otherwise 1-minute — falling back to bar-shape when no lower-timeframe data exists. The live source is shown as "Delta source" in the Key-info panel, so you always know which mode is active. Non-repaint: the delta clock advances and structure/regime/signals resolve only on confirmed bars; the trail line itself updates within the forming bar as a current estimate.
Originality
The novelty is the synthesis and coupling, not any single classical block. A participation clock is used to gate imbalance detection; order flow is used to adjudicate level survival; regime is used to route the entire read; and the whole thing collapses into one trailing level plus a decision dashboard and a self-calibration panel. Every raw input is user-selectable so the framework generalises across markets.
Concept credits
This tool synthesises well-established, publicly documented ideas; credit to their originators:
Information / volume-driven bars & VPIN flow toxicity — Marcos López de Prado; Easley, López de Prado & O'Hara.
Efficiency Ratio (trend vs. noise) — Perry J. Kaufman.
Trade-side classification (tick rule) — Lee & Ready.
Market impact & absorption (square-root law) — Almgren; Tóth & Bouchaud.
Wilson score interval (small-sample proportion CI) — E. B. Wilson.
Imbalance / fair-value-gap and trailing-stop concepts are long-standing, widely used market-structure ideas. The synthesis and the Pine implementation are the author's own.
Exported outputs (for use in other scripts)
Available via input.source() in any other indicator, with clean generic names: Bias Score (signed conviction, ±10), Trail Stop, Trail Direction, Regime State, Confidence, Leading Strength, CVD Slope, Flow Toxicity, Cumulative Delta, Volatility ROC, Volatility Bias.
Disclaimer
For research and education only. This is an analytical tool — not financial advice, not a signal service, and not a guarantee of future results. No indicator has an inherent edge; validate with your own testing, apply realistic costs, and manage risk. You are solely responsible for your trading decisions. Indicator

Liquidity Structure Framework [PakunFX]Liquidity Sequence Framework
Liquidity Sequence Framework (LSF) is a market structure analysis indicator designed to visualize the progression of liquidity events, structure shifts, and Fair Value Gaps (FVGs) within a single analytical framework.
Instead of focusing on individual signals, the indicator organizes multiple market events into a sequential process, helping traders observe how price structure develops over time. The script combines swing structure, liquidity sweeps, trend filtering, and Fair Value Gap detection into a unified charting tool.
Features
External and Internal Swing Structure detection
Liquidity Sweep identification (SSL / BSL)
Bullish and Bearish Structure Shift detection
Automatic Fair Value Gap (FVG) detection
EMA-based trend filter
Premium / Discount (Equilibrium) filter
Configurable setup conditions
Visual sequence tracking with alerts
How it Works
The indicator monitors market structure using external and internal swing highs and lows. When liquidity is swept beyond a previous swing level, a new sequence begins. The script then tracks whether price confirms a structure shift and subsequently forms a Fair Value Gap within a configurable sequence window.
Trend filtering can be applied using Fast and Slow EMA conditions, while optional Premium / Discount and Fair Value Gap requirements allow users to customize how potential setups are displayed.
Display Elements
External Swing High / Low
Internal Swing High / Low
Liquidity Sweep markers (SSL / BSL)
Structure Shift markers
Active Fair Value Gap zones
Fast and Slow EMA
Equilibrium level
Setup markers
Alerts
Alerts are available for:
Liquidity Sweep
Bullish Structure Shift
Bearish Structure Shift
Bullish Sequence Setup
Bearish Sequence Setup
These alerts are intended to notify users when predefined analytical conditions are detected.
Notes
Liquidity Sequence Framework is designed as a market analysis tool. It visualizes structural relationships between liquidity events and price development but does not generate trading recommendations or predict future market direction.
Disclaimer
This script is provided for educational and research purposes only.
All calculations are based on historical price data. The displayed structures, Fair Value Gaps, and sequence conditions are intended to support chart analysis and should not be interpreted as guarantees of future market behavior or trading performance.
Indicator

Liquidity Void Zone Map [ZOM]Liquidity Void Zone Map is a clean imbalance and fair-value-gap style zone mapper built to highlight where displacement left thin liquidity behind.
What it shows:
- Bull and bear liquidity void bands built from three-candle imbalance geometry
- Capped zone height so the bands stay readable instead of becoming huge slabs
- Active, tapped, and broken-state tracking
- Reclaim/rejection retest marks when price revisits a void with directional confirmation
- A compact dashboard showing active bull/bear zones, tapped count, broken count, state, and best quality score
How I use it:
The bands are context, not standalone entries. I look for price to return into a void, then watch the reclaim/rejection behavior around the band while considering trend, volatility, and broader market structure. It is designed for ES/NQ/crypto/forex intraday structure reads, but it can be adapted to other liquid markets.
Open-source script. Educational tool only; not financial advice. Indicator

Elaris FVG Inversion ProElaris FVG Inversion Pro
Advanced Fair Value Gap & Inversion Mapping System
Elaris FVG Inversion Pro is a professional-grade market structure and imbalance visualization tool designed to help traders identify fair value gaps (FVGs), inversion fair value gaps (IFVGs), and potential reaction zones directly on the chart.
The indicator focuses on price inefficiencies created by aggressive directional movement and highlights areas where price may revisit, react, continue, or reverse.
Instead of displaying excessive noise, the system uses smart filtering logic, mitigation tracking, and optional trend confirmation to provide a cleaner and more structured view of market imbalance behavior.
━━━━━━━━━━━━━━━━━━
Core Features
━━━━━━━━━━━━━━━━━━
• Bullish & Bearish Fair Value Gap Detection
Automatically identifies three-candle imbalance structures in real time.
• Inversion Fair Value Gaps (IFVG)
Detects when previously established imbalance zones transition into potential reversal zones after invalidation.
• Non-Repainting Confirmed Detection
Signals and zones can be confirmed only after candle close to maintain stable historical plotting.
• Smart Gap Filtering
Optional ATR, volume, and EMA trend filters help reduce low-quality or insignificant zones.
• Dynamic Zone Management
Zones automatically extend forward and can be configured to expire or hide after mitigation.
• Mitigation Tracking
Supports multiple mitigation models including:
* Proximal
* Midpoint (50%)
* Distal
• Quality Scoring System
Each zone is evaluated using volatility and structure-based conditions to help prioritize stronger imbalances.
• Dark & Light Mode Compatible
Designed for clean visibility across different TradingView chart themes.
• Professional Dashboard
Displays active bullish, bearish, and inversion zones along with trend-state information.
━━━━━━━━━━━━━━━━━━
How It Works
━━━━━━━━━━━━━━━━━━
Bullish FVG:
Forms when price leaves an upside imbalance between candles, potentially creating a future demand area.
Bearish FVG:
Forms when price leaves a downside imbalance, potentially acting as future supply.
IFVG:
Occurs when price invalidates an existing FVG and the zone transitions into a potential reversal area.
The indicator can be used for:
* Trend continuation setups
* Pullback entries
* Liquidity-based reactions
* Market structure analysis
* Confluence with support/resistance or liquidity concepts
━━━━━━━━━━━━━━━━━━
Best Practices
━━━━━━━━━━━━━━━━━━
Higher timeframe FVGs generally produce stronger reactions than lower timeframe gaps.
Using the optional EMA and volume filters may help improve signal quality during volatile or choppy market conditions.
For confirmation-based trading approaches, combine FVG reactions with structure breaks, momentum shifts, or liquidity sweeps.
━━━━━━━━━━━━━━━━━━
Notes
━━━━━━━━━━━━━━━━━━
This indicator is intended for technical analysis and educational purposes.
No indicator guarantees future performance, and traders should always apply proper risk management and independent confirmation before making trading decisions.
Indicator

Fair Value Gap Reclaim Planner [AGPro Series]Fair Value Gap Reclaim Planner
🧠 Core Idea
Has price returned into a fair value gap and reclaimed the imbalance midpoint with enough quality?
📌 Overview / What it does
Fair Value Gap Reclaim Planner is an imbalance-focused price action tool built around three-candle fair value gap structure.
The script detects bullish and bearish FVG zones, tracks fill progress, maps the midpoint, evaluates reclaim quality, and displays a structured 0-100 readiness score. It also projects an active reclaim corridor, invalidation shelf, target rails, labels, and a clean AG Pro dashboard.
It does not predict future price movement, automate entries, or provide guaranteed signals. It is a visual framework for reading fair value gap reclaim behavior.
🎯 Purpose & Design Philosophy
This script was built for traders who study imbalance zones but want a cleaner way to separate meaningful reclaim behavior from ordinary gap interaction.
Fair value gaps can attract attention, but not every touch matters. The planner focuses on whether price fills, reacts, and reclaims a meaningful reference level inside the imbalance.
The design supports patient analysis: identify the zone, measure the fill, wait for reclaim, then evaluate context.
⚡ Why This Script Is Different
Most FVG tools highlight many imbalance zones and leave the user to interpret the rest manually.
This script does NOT flood the chart with every historical imbalance.
Instead, it focuses on the active FVG context, tracks fill progress, evaluates midpoint or full-edge reclaim, and converts the reaction into a clear score and action state.
⚙️ Methodology
1. Context Detection
The script detects bullish and bearish three-candle fair value gaps using a minimum ATR-based size filter.
2. Reference Mapping
It maps the FVG top, bottom, midpoint, fill area, and invalidation boundary.
3. Reaction Evaluation
When price interacts with the active FVG, the script evaluates fill progress, reclaim distance, wick response, body quality, relative volume, gap quality, and freshness.
4. Visual Output
Qualified reclaim events are shown with labels, projected zones, target rails, right-side level tags, and a compact panel.
🗺️ How to Read the Chart
FVG Zone shows the active imbalance area.
Midline marks the primary reclaim reference when Midline mode is selected.
Fill Progress shows how deeply price has returned into the imbalance.
READY FVG RECLAIM labels mark reclaim events that meet the selected score threshold.
Invalidation Shelf marks the area where the reclaim context weakens or fails.
The AG Pro panel summarizes Gap State, Reclaim Score, Fill Progress, Risk, and Action.
🚦 Signals & States
• BULL FVG → bullish fair value gap detected and locked.
• BEAR FVG → bearish fair value gap detected and locked.
• READY FVG RECLAIM → price reclaimed the selected FVG reference with enough quality.
• FVG TOUCH → price interacted with the active FVG zone.
• INVALIDATED → the active reclaim context lost the opposite FVG edge.
• READY → a qualified reclaim event is active.
• MONITOR → the active FVG is being tested or a reclaim context remains open.
• WAIT → no qualified reclaim event is active.
🔔 Alerts Logic
Bullish FVG Reclaim Ready triggers when price reclaims the selected FVG reference upward with enough score quality.
Bearish FVG Reclaim Ready triggers when price reclaims the selected FVG reference downward with enough score quality.
FVG Touch triggers when price interacts with the active imbalance zone.
FVG Reclaim Invalidated triggers when the active reclaim context loses the opposite FVG edge.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The strongest reclaim contexts appear when fill progress, wick response, close quality, relative volume, gap size, and freshness align.
When price returns into the imbalance, respects the zone, and reclaims the midpoint or edge with clean reaction quality, the score improves.
📊 When to Use
• Markets with visible imbalance behavior
• Breakout pullbacks into fair value gaps
• Trend continuation reviews
• Reclaim attempts after partial FVG fills
• Intraday or swing contexts where FVG zones remain meaningful
⚠️ When NOT to Use
• Very low liquidity markets
• Extremely noisy or illiquid symbols
• Markets with unreliable candles or volume
• Wide-spread conditions where small gaps are misleading
• News spikes where imbalance zones can be invalidated quickly
🎛️ Key Inputs
• Minimum FVG Size ATR → filters out tiny imbalance zones.
• Maximum FVG Age Bars → controls how long an FVG can remain active.
• Reclaim Reference → chooses midpoint reclaim or full-edge reclaim.
• Touch Lookback Bars → controls how recent the FVG interaction must be.
• Invalidation Buffer ATR → controls the risk shelf beyond the FVG edge.
• Minimum Ready Score → sets how strict READY events should be.
• Target Rails → control projected T1 and T2 levels.
• Label Settings → control label density, size, and spacing.
• Panel Settings → control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The interface is designed to show the active imbalance context without filling the chart with excessive historical zones.
The FVG zone, midline, fill meter, invalidation shelf, target rails, and panel are visually separated so the chart remains readable.
The goal is a premium first-glance layout: zone first, reclaim second, action state third.
🧪 Practical Usage Workflow
1. Check the panel for active Gap State.
2. Locate the FVG zone and midpoint.
3. Watch how deeply price fills the imbalance.
4. Evaluate READY FVG RECLAIM labels and score quality.
5. Compare price with the invalidation shelf and target rails.
6. Confirm broader structure before making decisions.
🔍 Interpretation Guidelines
A high reclaim score means the reaction is cleaner according to the script's rules.
A lower score means the reclaim may be weaker, late, noisy, or incomplete.
Fill progress is not a signal by itself. It becomes more meaningful when combined with reclaim quality and broader market context.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not guarantee entries, exits, profits, or outcomes.
⚠️ Limitations & Transparency
Fair value gap interpretation can vary across markets, sessions, and timeframes.
Some markets create many small gaps that may not carry meaningful context.
Volatility changes can make an active FVG less relevant over time.
No rule-based script can fully account for news, liquidity shocks, or sudden market structure shifts.
🧠 Market Context Notes
Fair value gaps often represent fast price displacement and temporary imbalance.
The reclaim of a midpoint or edge can help traders study whether the market is accepting or rejecting the imbalance area.
The script works best when combined with structure, liquidity, volatility, and trend context.
🧾 Use Case Examples
When a bullish FVG forms after displacement, price returns into the zone, partially fills it, and then reclaims the midpoint, the script may mark a bullish reclaim context.
When a bearish FVG forms after downside displacement, price retraces into the imbalance and then rejects back below the midpoint, the script may mark a bearish reclaim context.
🧱 System Philosophy
Fair Value Gap Reclaim Planner follows the AG Pro Series approach: turn a popular market concept into a structured decision map with context, score, risk reference, and clean visuals.
It is designed to support judgment, not replace it.
🔐 Non-Promise Statement
No script can provide certainty.
No signal should be treated as guaranteed.
Outputs should always be interpreted with independent analysis and responsible risk control.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
Users are responsible for their own decisions, risk management, and trade execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
This script is designed to help traders study how fair value gap fills, midpoint reclaims, and imbalance reactions behave across different market conditions.
Indicator

Luxy BOSS MODE - Support & ResistanceBOSS MODE S/R is a comprehensive Support & Resistance system that detects, scores, and learns from every zone reaction — then automatically generates trade plans with entry, stop, target, and position size.
Unlike traditional S/R indicators that simply draw lines, BOSS MODE combines 6 detection engines , an adaptive scoring algorithm , a real-time momentum classifier powered by the Luxy Energy Index, and a Trade Plan Generator that calculates exact risk parameters based on your account.
── WHAT MAKES IT DIFFERENT ──
1. Adaptive Weight Scoring
Every zone is scored 0-100 based on 7 factors: volume at touch, higher-timeframe origin, confluence with other zones, freshness, touch count, regime alignment, and historical performance. After 20+ observed zone outcomes (first bounce or first break per zone), the system adjusts its scoring weights based on which factors correlated with bounces vs breaks on that specific chart and asset.
2. LEI-Powered Momentum Classifier
Uses the Luxy Energy Index (Extension + Velocity + Volume exhaustion model) to classify each approaching zone as likely BOUNCE or BREAK . LEI ≥ 70 = exhausted move arriving at zone = bounce expected. LEI ≤ 30 = energized move = break risk.
3. Trade Plan Generator
For qualifying setups (Grade A/B zone, regime-aligned, R:R above your minimum), the indicator auto-calculates:
Entry — just beyond zone boundary
Stop Loss — opposite side of zone + ATR buffer
Target — nearest zone in trade direction
Position Size — based on your account size and risk %
R:R ratio — only shows when above your minimum
4. Per-Zone Intelligence
Every zone tracks its own history: how many times it bounced vs broke, average bounce distance in ATR units, and hold rate. Labels show this inline: ⬆ SUPPORT 📐 82 5/7 +0.4ᴬ = score 82, held 5 of 7 tests, avg distance from zone mid at touch: 0.4 ATR.
── 6 DETECTION ENGINES ──
📐 Swing Pivots — Classical swing highs/lows on current, Daily, and Weekly timeframes
🧱 Order Blocks — Last candle before a strong impulsive move, confirmed by volume
📊 Volume POC — Highest-volume price cluster over lookback period
💨 Fair Value Gaps — 3-candle imbalances where price left unfilled ranges
💧 Liquidity Pools — Equal high/low clusters where stops accumulate
⚓ Anchored VWAP — Auto-anchors on gap+volume events (earnings, catalysts)
All 6 sources feed into the same unified zone object, allowing true confluence scoring across methodologies.
── REGIME-AWARE SCORING ──
The market regime (STRONG_BULL / WEAK_BULL / RANGE / WEAK_BEAR / STRONG_BEAR / SQUEEZE) drives the scoring bias. In a bullish regime, support zones receive a significant score bonus while resistance zones score lower — reflecting the statistical reality that zones aligned with the trend hold more reliably.
Regime is calculated from ADX + Bollinger Band Width + EMA slope, giving 5 states plus a Squeeze override when volatility compresses to the bottom 10% of the last 100 bars.
── VISUAL SYSTEM ──
Zones are rendered with a 4-layer heat-map system:
Atmospheric halo — fades beyond zone boundaries, scales with score
Main fill — neon color: cyan family for support, red/orange for resistance, intensity proportional to score
Hot core strip — brighter inner band at zone midpoint
Entry line — solid bright stripe at the price-contact edge (top for support, bottom for resistance)
Grade-A pulse ring — glowing outline when a high-conviction zone is within 1.5 ATR of price
Score bar — vertical progress bar to the right of each zone, height = score 0-100
Simple View : A separate layer draws just two clear boxes — nearest SUPPORT (green) and nearest RESISTANCE (red) — with text centered inside. Designed for traders who want instant visual clarity without analyzing all zones.
── TRADE PLAN GENERATOR ──
Configure in the 💰 Trade Plan settings group:
Account Size ($) — your total trading capital
Risk per Trade (%) — standard is 1.0% per trade
Min R:R to Show — only displays setups where the calculated reward exceeds this multiple of risk
When a qualifying setup is found, three dashed lines appear on the chart (blue = entry, red = stop, green = target) with a summary label showing direction, prices, share count, and R:R ratio. The Dashboard shows it in the 💰 Active Setup row. An alert fires with the full trade plan.
Important: The Trade Plan Generator identifies setups based on zone proximity and regime alignment. All trade decisions remain entirely the responsibility of the user. Past zone reactions do not guarantee future performance. Always apply your own analysis and risk management.
── DASHBOARD (14 rows) ──
The information panel shows in real-time:
Market Regime with color coding
Asset Class / Session (PRE/RTH/AH for stocks)
Active zones breakdown (0A/1B/3C format)
Nearest Resistance price, grade, ATR distance
Nearest Support price, grade, ATR distance
ATR% Rank (volatility context)
Active Warning (8 types, color-coded by severity)
Anchored VWAP value and anchor reason
Squeeze detector
Zone Hit Rate (historical bounce %)
Active Detection Sources
Scenario suggestion
Adaptive Weights status
Active Trade Plan (Entry / Stop / Target / Shares / R:R)
Every cell has a detailed tooltip explaining what the value means and how to use it.
── MULTI-ASSET SUPPORT ──
The asset engine auto-detects chart type and adjusts accordingly:
Stocks — ATR-based zones, session-aware (PRE/RTH/AH)
Stocks under $1 — percent-based zone widths (ATR is unreliable for extreme low-price securities)
Crypto — 24/7, percent bands, no session breaks
Forex — pip-based zone widths
Indices — volume-agnostic fallback
Futures — rollover-aware
── SETTINGS OVERVIEW ──
🎯 Trading Mode — Scalp / Intraday / Swing (affects zone widths and sensitivity)
🧭 Regime Classifier — ADX, BB, and EMA periods
🎯 Zone Detection — Toggle each of the 6 engines independently
📐 Swing Pivots — Left/right lookback bars and zone width
🧱 Order Blocks — Lookback period, minimum move %, volume threshold
📊 Volume POC — Lookback bars and histogram bins
💨 Fair Value Gaps — Minimum gap size %
💧 Liquidity Pools — Lookback and touch tolerance %
⚓ Anchored VWAP — Auto-anchor thresholds and manual catalyst date
⚖️ Scoring — Individual weight controls for all 7 scoring factors
🌍 Asset-Class Adaptation — Override or force Sub-$5 mode
🚨 Warnings — Toggle each of 8 warning types with ATR distance control
🎨 Visual Settings — Top-N zones, adaptive hide, transparency, Simple View toggle
📊 Dashboard — Position, size, show/hide
💰 Trade Plan — Account size, risk %, minimum R:R
🔔 Alerts — Standard or structured JSON for webhook automation
── ALERTS ──
8 alert types:
Any Warning (catch-all)
Sweep Imminent
Regime Shift near Grade-A zone
Trap Suspected (low-volume false breakout)
Zone Approach
Squeeze Detected
Trade Plan — LONG Setup
Trade Plan — SHORT Setup
Enable Structured JSON Alerts to receive webhook-ready payloads with full zone data, regime, warning type, and trade plan details.
── EXTERNAL LIBRARY ──
This script imports Luxy Energy Index (LEI) by OrenLuxy for the momentum classifier. LEI measures move exhaustion using Extension from VWAP, Velocity (5-bar rate of change), and Volume as a modifier.
── IMPORTANT NOTES ──
This indicator is for educational and analytical purposes only . It does not constitute financial advice.
Past zone performance (hit rate, average bounce) does not guarantee future results.
The Trade Plan Generator calculates position sizes mathematically based on user inputs — always verify sizing with your broker before placing orders.
Adaptive weights require 20+ observed bounce/break events to activate. On new charts, base weights are used.
The LEI library requires separate import — the indicator will prompt if not accessible.
── CREDITS ──
Luxy Energy Index (LEI) — OrenLuxy. Exhaustion methodology drawing on academic research by Campbell-Grossman-Wang (1993) on volume-return relationships, ATR normalization by J. Welles Wilder Jr., and standard VWAP methodology.
S/R concepts inspired by VSA (Volume Spread Analysis), SMC (Smart Money Concepts), and classical pivot point theory.
Past performance does not predict future results. This tool is for informational purposes only and does not constitute investment advice. Trading involves substantial risk of loss.
Indicator

Silver Bullet Window Map [AGPro Series]Silver Bullet Window Map
🔹 Overview
Silver Bullet Window Map is a precision time-based tool that maps the three classic ICT "Silver Bullet" kill zones — compact 1-hour windows where institutional order flow is statistically concentrated — and automatically detects Fair Value Gap (FVG) imbalances formed inside each window. Instead of cluttering the chart with session-wide structures, the script isolates only the high-probability time periods ICT scalpers actually trade, rendering each window as a clean vertical zone with a live countdown, pulse highlight on the active window, and a lifecycle S/R zone for every FVG that prints during the window.
🔸 Unique Edge
Most Silver Bullet scripts either draw static colored backgrounds with no analytical value, or detect FVGs across the entire session and overwhelm the chart. This script does neither. It enforces a strict discipline: FVGs are only drawn if they form INSIDE an active Silver Bullet window. Outside-window price action is deliberately ignored. The result is a chart where every marked imbalance carries ICT-legitimate timing context — not noise. Each FVG becomes a horizontal lifecycle zone (bull or bear) that extends forward in time and is dimmed automatically when mitigated, giving you both a real-time map and a historical window-quality record in one view.
🔹 Methodology
The indicator evaluates the current bar's hour and minute in a user-selectable timezone (New York default, per ICT standard) and identifies three windows: London (03:00–04:00), AM (10:00–11:00), and PM (14:00–15:00). During each window, a three-bar FVG check is performed on confirmed bars: a bullish FVG requires the current bar's low to exceed the high two bars back; a bearish FVG requires the current bar's high to fall below the low two bars back. Gaps are filtered by a user-tunable ATR(14) multiplier to reject insignificant imbalances. Valid FVGs are rendered as time-anchored rectangular zones that extend a configurable number of bars into the future and are marked as mitigated the moment price revisits the opposite side of the gap.
A built-in timeframe guard disables rendering on timeframes of 1 hour and above, because Silver Bullet windows are exactly 1 hour long and cannot be resolved by bars equal to or larger than the window itself. On HTF charts, the panel displays a clean warning message instead of a broken visual.
🔸 Signals & Alerts
Four alert conditions are available: London window open, AM window open, PM window open, and window close. The script is designed for discretionary use — it does not issue buy/sell signals. Its purpose is to put the trader inside the correct time context with the correct structural references, and to let the trader read price action within that context.
🔹 Key Inputs
• Timezone: New York / London / UTC / Exchange
• Historical window depth: 1–30 days
• Individual toggles and custom colors for each of the three windows
• Active-window pulse effect (on/off)
• FVG detection (on/off), minimum size as ATR multiple, zone extension in bars
• Mitigation behavior: dim inactive zones or remove them
• Panel position, theme (Dark/Light), and font size
• Window labels and FVG labels: independently toggleable, font size configurable
🔸 How to Use
Best deployed on 1m–30m intraday charts where the 1-hour windows are visually meaningful. The AM window (10:00–11:00 NY) is historically the most actionable for US equities, indices, and major FX pairs. Wait for a window to open — the background lights up, the panel shows ● LIVE, and the window label appears above the opening candle. Look for a displacement candle creating an FVG inside the window. Use the FVG zone as a retest entry reference with risk defined beyond the gap. The panel's countdown and per-window FVG tally help you gauge window quality in real time. At the end of each day, the L / AM / PM tally shows which window produced the most imbalances — a quick read on session character.
🔹 Limitations & Transparency
This indicator does not predict direction. It does not backtest or display historical win rates — such figures on a time-window tool would be statistically misleading without an execution model. FVG detection uses the standard 3-bar definition; alternative definitions (implied fair value, BPR, inversion FVGs, etc.) are not covered by design. The tool is timezone-sensitive: if your data feed's timestamps drift from the selected timezone's DST boundaries, window alignment can shift by one bar around DST transitions. On timeframes equal to or greater than 1 hour, the script deliberately disables all rendering to avoid producing a misleading visual.
🔸 Risk Disclosure
This script is provided for educational and analytical purposes only. It does not constitute financial advice. Trading leveraged instruments carries substantial risk of loss. Past price behavior around kill zones does not guarantee future results. Use proper risk management and position sizing at all times. Indicator

Unicorn Model Detector [AGPro Series]Unicorn Model Detector
Overview
The Unicorn Model Detector identifies one of the most discussed setups in Inner Circle Trader (ICT) and Smart Money Concepts literature: the Unicorn Model. A Unicorn forms when a Breaker Block and a Fair Value Gap (FVG) overlap inside the same price zone — a pocket where prior swing liquidity has been swept and an unfilled imbalance still exists at the retest. The detector scans for these overlaps, tracks every occurrence through its full lifecycle, and reports aggregate statistics in a compact on-chart panel. It is a detection and bookkeeping tool, not a trading strategy.
Unique Edge
Most breaker and FVG scripts publish either zones in isolation or require the user to eyeball the overlap. This detector does the overlap match automatically and only draws a zone when both conditions are present on the same chart area with the same directional bias. A strict causality rule is enforced — the Breaker must form first (after liquidity sweep) and the FVG must appear during or after the retest, which matches the true ICT Unicorn definition. A pairing that consumes a given breaker and FVG is removed from future candidate pools, so the chart never stacks redundant zones from the same source structure. A Loose overlap mode is also provided for users who prefer an ATR-based proximity interpretation instead of strict geometric intersection.
Methodology
1. Swing pivots are detected with a configurable left/right length using ta.pivothigh and ta.pivotlow.
2. When a confirmed pivot forms, the body range of the pivot bar is stored as the potential Breaker source zone.
3. A Breaker Block is registered when price closes through the previous-bar swing level in the opposite direction.
4. A Fair Value Gap is registered when a 3-bar formation produces an unfilled imbalance (low > high for bullish, high < low for bearish) and the gap exceeds a user-defined ATR multiple.
5. A Unicorn is spawned when a same-direction Breaker zone and FVG zone overlap vertically AND the FVG formed at or after the Breaker (causality check).
6. A configurable cooldown prevents consecutive spawns from clustering, improving signal hygiene.
7. The overlap rectangle becomes the tracked zone. Zone mid is the reference entry, the stop is placed 0.4 times the zone height beyond the structure boundary, and the target is projected at the user-defined R-multiple.
Signals & Alerts
Four independent alert conditions are exposed:
- New Unicorn Detected — a fresh bullish or bearish Unicorn has just formed.
- Unicorn Triggered — price has entered the overlap zone of a pending Unicorn.
- Target Hit — a triggered Unicorn has reached its R-multiple target.
- Stop Hit — a triggered Unicorn has been invalidated at its stop level.
All alerts fire once per bar close and include the ticker and timeframe in the payload.
Key Inputs
- Swing Pivot Length (default 7) — left/right length used for pivot confirmation.
- Breaker Lookback (default 80 bars) — maximum age for a broken swing to remain a valid Breaker.
- FVG Minimum Size (default 0.25 x ATR) — noise filter for 3-bar imbalances.
- Overlap Mode (Strict / Loose) — geometric intersection vs ATR-tolerance match.
- Reward-to-Risk Target (default 2.0) — multiple used to project the target level.
- Max Active Pending Unicorns (default 3) — chart-cleanliness cap.
- Cooldown After Signal (default 30 bars) — minimum spacing between consecutive spawns.
- Invalidate on Close Through Zone (default off) — optional tighter invalidation rule.
- Visual controls — show/hide per lifecycle state, label size, zone opacity, max recent labels.
- Panel controls — show/hide, location (6 positions), theme (Dark/Light), text size.
How to Use
1. Add the indicator to any timeframe; higher timeframes (1H, 4H, 1D) tend to produce structurally more meaningful Unicorns.
2. Watch for a new Unicorn zone to appear. Pending zones are drawn in the directional state color with a bold border; triggered ones switch to the indigo accent color; TP / SL / Expired zones fade to their respective colors with a thinner border.
3. Each zone carries a tethered flag label outside the price axis — Bullish labels below, Bearish labels above — so they never overlap candles.
4. The panel reports running counts of pending and active Unicorns, historical win rate, average R per setup, and total completed.
5. Use the displayed entry / target / stop reference lines as a structural map for your own analysis. The tool does not place orders and does not recommend position sizing.
6. Combine with higher-timeframe bias (trend, session context, HTF structure) before acting on any zone.
Limitations & Transparency
- The detector is a structural scanner, not a forecasting engine. It reports what has formed, not what will happen.
- Swing detection depends on pivot length; shorter lengths generate more noise, longer lengths miss smaller structures.
- Statistics are calculated on-chart from historical bars loaded by TradingView and will vary with timeframe, symbol and data range.
- Realtime behaviour: zones are drawn on confirmed events (bar close for breaks, 3-bar-complete for FVGs). Some invalidations are evaluated intrabar on wick touches of the stop level.
- The script is open-source under Mozilla Public License 2.0. Users are encouraged to inspect and adapt the methodology.
Risk Disclosure
This indicator is provided for educational and analytical purposes only. It is not financial advice, a trading signal service, or a strategy. Past structural patterns do not guarantee future outcomes. Trading involves substantial risk of loss; readers are solely responsible for their own decisions and risk management. Indicator

AG Pro Fair Value Gap Engine [AGPro Series]AG Pro Fair Value Gap Engine
OVERVIEW / WHAT IT DOES
AG Pro Fair Value Gap Engine is a rules-based overlay built to detect 3-bar fair value gap structures and organize them as a living imbalance map on the chart.
The script identifies bullish fair value gaps when the current low is above the high from two bars earlier, and bearish fair value gaps when the current high is below the low from two bars earlier. Once detected, each zone is stored, rendered, tracked through time, and updated as price interacts with it.
Instead of stopping at basic FVG detection, this script continues to follow the structure after creation. It monitors whether the gap remains active, whether price returns into it, whether mitigation occurs, how old the structure has become, and how strong or weak that mitigation event appears relative to the gap itself.
The result is not just a visual list of imbalances. It is an FVG lifecycle model designed to help traders distinguish between fresh gaps, aging gaps, mitigated gaps, and higher-quality mitigation events.
UNIQUE EDGE
Many fair value gap tools simply highlight every detected gap and leave the user to interpret the rest.
This script is built around a different idea:
not all FVGs deserve the same attention, and not every mitigation event carries the same informational value.
AG Pro Fair Value Gap Engine separates itself by combining detection, aging, prioritization, mitigation tracking, and scoring in a single structured workflow. Gaps are not treated as static rectangles. They are treated as evolving chart objects with a lifecycle.
Within the AG Pro Series, this script is also distinct from breakout-quality, reclaim, rotation, pressure, or acceptance-style overlays. Those models focus on trend behavior, reclaim behavior, structural confirmation, momentum pressure, or price acceptance around a reference. This one is centered on imbalance structure itself: where the 3-bar gap formed, how long it stayed relevant, whether price returned, and how credible that mitigation looked once interaction happened.
In practical terms, the script is designed to answer questions such as:
Which FVGs are still active?
Which ones are becoming stale?
Which mitigation events happened with better quality?
Which visible zones are worth keeping in focus, and which are just legacy context?
That is the core difference. This is not a generic FVG highlighter. It is an imbalance-ranking and mitigation-quality engine.
METHODOLOGY
1) Detection Logic
The script scans for standard 3-bar fair value gap structures.
Bullish FVG:
current low > high from two bars back
Bearish FVG:
current high < low from two bars back
A minimum size filter relative to ATR is applied so that very small gaps can be ignored when desired.
2) Structure Tracking
After detection, each FVG is stored and tracked over time. The script keeps the zone on the chart, extends active zones forward when enabled, and updates their visual state as the market evolves.
This allows the chart to preserve the structural memory of imbalance zones instead of treating every new gap as an isolated event.
3) Aging and Visual Decay
Older gaps gradually lose visual priority through fade logic. This helps newer or more relevant structures stay readable while old zones move into the background.
Optional controls can also suppress distant legacy zones when they become both old and far from current price.
4) Mitigation Logic
The script monitors how deeply price returns into each gap. When the user-defined mitigation threshold is reached, the FVG is marked as mitigated.
Mitigated zones can remain visible as context or be hidden for a cleaner chart, depending on preference.
5) Quality Scoring
Mitigation is not treated as a simple yes/no event. The script evaluates mitigation quality using a weighted model that includes:
- Gap size relative to ATR
- Speed of return into the zone
- Relative volume during the mitigation event
- Return strength after contact with the gap
This produces a normalized score intended to help separate weaker fills from stronger, better-formed mitigation behavior.
6) Focus and Prioritization
To reduce chart noise, the script includes focused labeling, active-zone prioritization, top-zone filtering, and legacy suppression logic.
This means the visual output can be tuned away from “show everything” and toward “show what matters most.”
SIGNALS & ALERTS
This script provides alert conditions for:
- Newly detected bullish fair value gaps
- Newly detected bearish fair value gaps
- Bullish fair value gaps reaching mitigation
- Bearish fair value gaps reaching mitigation
These alerts are event-based and rules-based. They are not forecasts, predictions, or trade instructions.
The labels and panel are designed to summarize state, not to replace the user’s broader market process.
KEY INPUTS
Core Settings
- Minimum FVG Size (ATR)
- Mitigation Threshold (%)
- Maximum Tracked FVG Count
- Age Fade Length
- Extend Active FVG Boxes
Scoring Engine
- Speed Score Reference
- Volume Score SMA Length
- Volume Score Max Ratio
- Size Score Max ATR
Visual Settings
- Show FVG Labels
- Focused Label Mode
- Focused Label Minimum Score
- Active / Mitigated Label Age Limits
- Highlight Score Threshold
- Theme Preset
- Show Mitigated Zones
- Show Mitigated Zone Labels
- Label Horizontal Offset
- Hide Distant Legacy FVGs
- Legacy Hide Age
- Legacy Hide Distance
- Show Only Top Active Zones
- Top Active Zones Count
- Label Stack Spacing
Panel Settings
- Show Panel
- Panel Position
- Panel Font Size
These controls allow the same logic to be used in a more information-dense mode or in a much cleaner presentation mode, depending on the charting style of the user.
LIMITATIONS & TRANSPARENCY
This script detects and organizes 3-bar imbalance structures. It does not claim to identify every meaningful liquidity event, order-flow shift, or broader smart money context factor on its own.
A fair value gap can remain open for a long time, fail quickly, or be revisited multiple times. A high score does not guarantee a directional outcome. A low score does not automatically invalidate the zone as context.
The mitigation score is a structured ranking model, not an objective truth about future price behavior. It is designed to help compare events inside the framework of this script.
Because chart structure, volatility, timeframe, and instrument behavior vary, users should expect different FVG densities and different score distributions across markets.
This tool is best used as a market-organization layer for imbalance analysis, not as a standalone execution system.
RISK DISCLOSURE
AG Pro Fair Value Gap Engine is an analytical charting tool for educational and informational use.
It does not provide financial advice, does not promise outcomes, and should not be interpreted as a standalone buy or sell system. Fair value gaps, mitigation events, and score readings should be evaluated together with market structure, volatility, timeframe context, liquidity conditions, and the user’s own risk framework.
Trading involves risk. Past chart behavior does not guarantee future results.
Indicator

Esco Theory v4Esco Theory maps the hidden geometry of price action. It identifies swing structure, plots geometric rails between pivots, detects supply and demand zones, fair value gaps, liquidity pools, compression patterns, and confluence clusters.
All signals are synthesized into a real-time dashboard so traders can read market structure and volatility conditions at a glance.
Built for traders who study displacement, structure shifts, and the expansion–compression cycles that drive price.
Features
Market Structure (BOS / MSS)
Automatically detects Break of Structure (BOS) and Market Structure Shifts (MSS) using configurable swing lookback. Bullish and bearish shifts are labeled directly on the chart with color-coded markers.
Displacement candles (body greater than 1.5× ATR) are highlighted to confirm impulsive moves.
Geometric Rails
Trendlines (“rails”) are drawn between consecutive swing highs and swing lows and extended forward.
Two tiers are available:
Minor Rails
Short-term pivots for intraday and swing geometry.
Major Cycle Rails
Higher-timeframe pivots that reveal broader structural channels.
Cross-rails connect swing highs to swing lows using dotted diagonals, revealing convergence and divergence patterns.
Cycle Fan
A fan of rays projects from the deepest major swing low through each major swing high (and vice versa), mapping the angular geometry of the current market cycle.
These angles often highlight reaction zones where time and price intersect.
Supply & Demand Zones
Zones are created at pivot candles confirmed by displacement on the following bar.
Each zone tracks retests and gradually fades in transparency as it is touched.
Mitigated zones are automatically removed to keep charts clean.
Fair Value Gaps (FVG) & Inverted FVGs
Three-candle imbalance gaps are detected and drawn as shaded boxes.
When a gap fills to its midpoint it converts into an inverted FVG, which can act as a continuation or re-entry zone.
Both gap types have independent color settings and optional auto-expiration.
Premium / Discount Zones
Using the most recent major swing high and low, price is divided into:
Premium (upper 25%)
Discount (lower 25%)
Equilibrium (midpoint)
A dotted equilibrium line marks fair value and helps filter entries.
Support & Resistance Clustering
All pivot prices are grouped by proximity.
Levels with multiple touches are drawn as dashed horizontal lines labeled with touch count:
S (3)
R (4)
Stronger clusters appear as thicker lines.
Confluence Zones
When three or more levels from different sources cluster together (pivots, S/R levels, supply and demand), a shaded confluence zone is drawn.
These areas often produce the strongest market reactions.
Liquidity — Equal Highs / Equal Lows
Swing highs and lows within a defined tolerance are identified as EQH and EQL liquidity pools.
These levels extend forward and often attract price before reversals or breakouts.
Liquidity Sweeps
When price wicks through an equal high or low and closes back inside the level, a sweep marker (✕) appears.
Sweeps often signal liquidity grabs before reversals.
Compression & Squeeze Detection
Two compression signals identify volatility contraction.
ATR Compression
Occurs when fast ATR drops below 60% of slow ATR.
Bollinger / Keltner Squeeze
When Bollinger Bands contract inside Keltner Channels.
When the squeeze releases, a triangle marker signals expansion.
A wedge overlay connects compression pivots to visualize tightening ranges.
Real-Time Dashboard
A compact panel displays current market conditions.
Bias
Current structure trend (Bullish / Bearish / Neutral)
Zone
Premium, Discount, or Equilibrium
Volatility
Squeeze, Compression, or Expansion
ATR Ratio
Fast ATR vs Slow ATR
BBW
Bollinger Band Width percentage
Wedge
Active compression wedge detection
FVG
Active gap count
Sweeps
Recent liquidity sweep count
Inputs & Customization
Every module can be toggled independently.
Key settings include:
Swing Lookback (minor and major)
Rail Extension length
Max Cross-Rails
Supply / Demand Pivot Length
FVG Minimum Size and Max Age
Support / Resistance Tolerance and Minimum Touches
Confluence Width and Minimum Levels
Equal High / Low Tolerance
All colors are fully customizable.
How to Use
Identify bias
Check the dashboard for current structure direction and premium/discount location.
Find confluence
Look for areas where rails, zones, gaps, and support/resistance overlap.
Watch compression
Squeeze diamonds and wedges signal volatility building.
Trade displacement
Highlighted candles confirm impulsive moves through key levels.
Monitor liquidity sweeps
EQH/EQL sweeps often precede reversals or expansions.
Notes
Overlay indicator designed for use directly on price charts.
Compatible with all markets and timeframes.
Lower timeframes with large bar counts may increase drawing load. Adjust lookback settings if needed.
Best used alongside discretionary price action and market context. Indicator

SMC Core Lite - Signals█ OVERVIEW
SMC Core Lite is a lightweight, performance-optimized Smart Money Concepts (SMC) indicator designed to help traders identify institutional trading patterns and generate high-probability trade signals.
This indicator combines the most essential SMC elements - Fair Value Gaps (FVG), Order Blocks (OB), and Break of Structure (BOS) - into a single, easy-to-use tool with automatic LONG/SHORT signal generation.
█ CONCEPTS
The indicator is built on the foundation of Smart Money Concepts, a trading methodology that focuses on understanding how institutional traders (banks, hedge funds, market makers) move the markets.
🔹 Break of Structure (BOS)
When price breaks above a swing high or below a swing low, it signals a potential continuation of the trend. This confirms the market's directional bias.
🔹 Change of Character (CHoCH)
When BOS occurs against the prevailing trend, it signals a potential trend reversal. This is a powerful early warning sign of shifting market sentiment.
🔹 Fair Value Gaps (FVG)
Also known as imbalances, FVGs are areas on the chart where price moved so quickly that it left a "gap" in the price action. These zones often act as magnets for price to return and fill.
🔹 Order Blocks (OB)
Order blocks represent the last opposing candle before a strong impulsive move. These zones mark areas where institutional orders were placed and often act as strong support/resistance levels.
█ FEATURES
• ✅ Break of Structure (BOS) Detection
• ✅ Change of Character (CHoCH) Detection
• ✅ Fair Value Gap (FVG) Identification
• ✅ Order Block (OB) Detection
• ✅ Automatic LONG/SHORT Signals
• ✅ Auto Stop Loss & Take Profit Levels
• ✅ Market Bias Dashboard
• ✅ Customizable Risk:Reward Ratio
• ✅ Signal Cooldown Filter
• ✅ Alert Conditions for All Events
• ✅ Lightweight & Fast Loading
█ HOW IT WORKS
The signal generation follows a confluence-based approach:
🟢 LONG SIGNAL CONDITIONS:
1. Price pulls back into a bullish zone (Bullish FVG or Bullish OB)
2. Recent Bullish BOS/CHoCH confirmed OR Market Bias is Bullish
3. Current candle closes bullish (confirmation)
4. Signal cooldown period has passed
🔴 SHORT SIGNAL CONDITIONS:
1. Price pulls back into a bearish zone (Bearish FVG or Bearish OB)
2. Recent Bearish BOS/CHoCH confirmed OR Market Bias is Bearish
3. Current candle closes bearish (confirmation)
4. Signal cooldown period has passed
█ HOW TO USE
1. Add the indicator to your chart
2. Wait for market structure to develop (BOS/CHoCH labels)
3. Observe the Market Bias in the dashboard (BULL 🐂 or BEAR 🐻)
4. Look for LONG signals in bullish bias, SHORT signals in bearish bias
5. Use the auto-generated SL/TP levels for trade management
6. Set alerts to get notified of new signals
█ SETTINGS
═══ SIGNALS ═══
• Show LONG/SHORT Signals → Enable/disable signal labels
• Show SL/TP Lines → Display stop loss and take profit levels
• Risk:Reward → Set your desired R:R ratio (1:1 to 1:5)
• Signal Cooldown → Minimum bars between signals (reduces noise)
═══ STRUCTURE ═══
• Show BOS/CHoCH → Display structure break labels
• Swing Length → Lookback period for swing point detection
═══ ZONES ═══
• Show FVG → Display Fair Value Gap boxes
• Show Order Blocks → Display Order Block boxes
• Zone Lookback → Historical bars to analyze
• OB Strength → ATR multiplier for impulse move detection
█ ALERTS
The indicator includes 4 alert conditions:
1. 🟢 LONG Signal → Triggered when a buy signal appears
2. 🔴 SHORT Signal → Triggered when a sell signal appears
3. 🟢 Bullish BOS → Triggered on bullish break of structure
4. 🔴 Bearish BOS → Triggered on bearish break of structure
To set alerts: Right-click on chart → Add Alert → Select this indicator → Choose condition
█ IMPORTANT NOTES
⚠️ This indicator is optimized for speed and performance. It stores only the most recent 10 FVGs and 10 Order Blocks to ensure fast loading times.
⚠️ Works best on higher timeframes (15m, 1H, 4H, Daily) where market structure is cleaner.
⚠️ Always use proper risk management. No indicator is 100% accurate.
█ BEST PRACTICES
✅ Trade in the direction of the higher timeframe bias
✅ Wait for price to pull back to zones before entering
✅ Use the 50% level of zones for optimal entries
✅ Combine with your own analysis for best results
✅ Backtest before using with real capital
█ DISCLAIMER
This indicator is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always do your own research and consider your financial situation before making any trading decisions.
█ CREDITS
Inspired by the Smart Money Concepts trading methodology and ICT (Inner Circle Trader) concepts.
If you find this indicator helpful, please consider giving it a boost 🚀 and following for more trading tools!
█ VERSION HISTORY
v1.0 - Initial Release
• BOS/CHoCH Detection
• FVG & Order Block Identification
• LONG/SHORT Signal Generation
• Auto SL/TP Calculation
• Market Bias Dashboard
• Alert Conditions Indicator

Smart Confluence█ SMART CONFLUENCE (SC)
Multi-Factor SMC Trading System
Smart Confluence combines multiple market structure signals into a single confluence score . When enough signals align, it generates BUY/SELL setups with precise Entry Zones, Stop Loss, and 3 Take Profit levels — all fully automated.
Free and Open Source.
█ THE CONCEPT: WHY CONFLUENCE MATTERS
No single indicator is reliable on its own. A CHOCH can fail. An Order Block can break. A sweep can be a fakeout. But when 4-6 different signals all agree at the same time — that's when the probability is in your favor.
Smart Confluence requires a core trigger (CHOCH, Sweep, or EQ-Grab) PLUS enough confirmations to reach the minimum confluence threshold before any signal fires. This eliminates most false signals.
█ CORE FEATURES
1. Market Structure Detection
Automatic Swing High/Low identification with Change of Character (CHOCH) — the moment a downtrend breaks above the last swing high (bullish) or an uptrend breaks below the last swing low (bearish). CHOCH is worth 2 confluence points.
2. Liquidity Sweeps
Detects stop-hunt patterns where price sweeps below recent lows (or above recent highs) and reverses. These sweeps indicate smart money collecting liquidity before the real move. Worth 2 confluence points.
3. EQH/EQL (Equal Highs/Lows)
Identifies liquidity pools where multiple swing points cluster at the same price level. When price sweeps through these clusters (EQ-Grab), it signals institutional order flow. Worth 3 confluence points (configurable).
4. Order Blocks & Fair Value Gaps
Order Blocks — The last opposing candle before a strong move — institutional supply/demand zones. +1 point when price is inside.
FVGs — Price imbalances (gaps between candles) that act as magnets. +1 point when price is inside.
5. Premium/Discount Zones
Calculates where price is relative to the current range. Buy in discount (<50%), sell in premium (>50%). OTE (Optimal Trade Entry) bonus for the 62-79% retracement zone. Up to +3 confluence points.
6. Confirmation Filters
Volume — High volume confirms institutional activity (+1-2 points)
RSI Divergence — Momentum exhaustion = strong reversal signal (+2 points)
EMA Trend Filter — Price vs EMA21/50/200 alignment (+1-2 points)
ATR Volatility — High volatility confirms market activity (+1 point)
HTF Trend — Higher timeframe trend agreement (+1 point)
Candlestick Patterns — Engulfing, Hammer, Shooting Star (+1 point)
█ AUTO-TIMEFRAME ADAPTATION
All parameters auto-adjust to your chart timeframe: Swing Length, Cooldown, OB Lookback, Min Confluence, HTF selection, SL Buffer, Min R:R, EQ Tolerance, EQ Age, Setup duration, S/R Cluster. Supports 1m to Monthly.
█ S/R ZONE DETECTION
Automatic Support/Resistance zones built from clustering multiple sources: Swing points, Order Blocks, FVGs, EQH/EQL levels, HTF levels. Each zone gets a strength score (1-5). Only shows the strongest zones.
█ ENTRY / SL / TP SYSTEM
Entry Zone — Based on active Order Block or FVG. Falls back to current candle range.
Stop Loss — 4 modes: Entry-Based, Swing, ATR, or SMC (below OB/FVG). R:R filter ensures minimum reward.
Take Profit — 4 modes: Structure (next swing), Fixed R:R, ATR-based, or Hybrid (structure if available, else R:R).
Partial TP — Configurable distribution (50/30/20, 33/33/34, 40/40/20, 60/30/10).
█ DASHBOARD
Compact dark-themed info panel showing: Mode (Auto/Manual + TF), Trend direction, HTF confirmation, Premium/Discount zone, S/R levels with strength, Bull/Bear confluence scores, Active setup details (direction, R:R, SL, Entry, TP1-3), SL/TP mode, Partial distribution.
█ ALERTS (8 CONDITIONS)
BUY Signal — Full confluence with valid R:R
SELL Signal — Full confluence with valid R:R
Bullish CHOCH — Trend reversal detected
Bearish CHOCH — Trend reversal detected
EQH Grab — Liquidity pool swept (bearish)
EQL Grab — Liquidity pool swept (bullish)
Bullish Sweep — Stop hunt detected
Bearish Sweep — Stop hunt detected
█ PRO VERSION
The PRO version (Smart Confluence Pro) adds:
Signal Profile Presets — Scalping, Intraday, Swing, Position, Aggressive, Conservative, SMC Pure
Asset Auto-Detection — Crypto, Forex, Stock, Futures with 8 scaling factors
A/B/C Signal Grading — Quality scoring based on Zone, HTF, Volume, Session, Divergence
Risk Management — Account size, risk %, position sizing, custom partial distributions
Session Filter — London, New York, Asia sessions with overlap detection
Funding Rate — Crypto perpetual funding rate as contrarian confluence
Trailing Stop Loss — Break-Even + Trail TP modes
Trade Management Alerts — TP1/TP2/TP3 hit, SL hit, Trailing updates, Setup expiry
14+ Alert Types — Including A-Grade only alerts
█ NON-REPAINTING
All signals require confirmed bars (barstate.isconfirmed for EQH/EQL). Signal confirmation waits for the next candle. HTF data uses lookahead=barmerge.lookahead_off. No future data leakage. No repainting.
█ WORKS ON
Crypto, Forex, Stocks, Futures, Indices — any timeframe from 1 minute to Monthly.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Indicator

Liquidity Radar# Liquidity Radar
## Overview
Liquidity Radar is a Smart Money Concepts (SMC) indicator that visualizes where institutional liquidity rests in the market. It combines automatic market structure detection (BOS & CHoCH), a thermal liquidity heatmap, dynamic order blocks, and fair value gaps into a single, performance-optimized overlay.
**Free & Open Source** — no invite-only access, no paywall. Full source code, fully transparent.
## The Concept: Why Liquidity Matters
In institutional trading, **liquidity pools** form above swing highs and below swing lows — these are clusters of stop-loss orders from retail traders. Smart money targets these pools to fill large positions. Understanding where liquidity rests gives you an edge in anticipating price movements:
- **Swing High Liquidity** — Stop-losses from short sellers sit above swing highs
- **Swing Low Liquidity** — Stop-losses from long buyers sit below swing lows
- **Liquidity Sweeps** — When price takes out a swing level to grab these stops, it often reverses
The indicator automates the detection and visualization of these key levels.
## Core Features
### 1. Thermal Liquidity Heatmap
The signature feature. Liquidity zones appear at every confirmed swing high and swing low with a thermal color gradient:
- **Fresh zones** — Warm colors (orange/yellow) indicate high relevance
- **Aging zones** — Cool colors (purple/blue) indicate decreasing relevance as time passes
- **Volume-weighted intensity** — Zones formed on high-volume bars appear more intense
- **Auto-cleanup** — Zones fade out over a configurable decay period and are removed when price sweeps through them
### 2. Market Structure Detection (BOS & CHoCH)
Automatic swing high/low detection using pivot-based logic:
- **BOS (Break of Structure)** — Price breaks a prior swing level in the trend direction (continuation). Shown as dashed lines.
- **CHoCH (Change of Character)** — Price breaks a prior swing level against the trend (potential reversal). Shown as solid lines with thicker width.
- Color-coded: Cyan/Teal = bullish, Magenta/Pink = bearish
### 3. Dynamic Order Blocks
Institutional supply and demand zones rendered as semi-transparent boxes:
- **Bullish OB** — The last bearish candle before a strong bullish move (at swing lows)
- **Bearish OB** — The last bullish candle before a strong bearish move (at swing highs)
- Configurable mitigation threshold — controls how much price must penetrate the block before it is considered mitigated
- Auto-removed when price closes through the block
### 4. Fair Value Gaps (FVG)
Three-candle inefficiency detection:
- Bullish FVG: Gap between candle 1's low and candle 3's high
- Bearish FVG: Gap between candle 1's high and candle 3's low
- ATR-based noise filter removes insignificant gaps
- Auto-removed when price fills the gap
- Default: OFF (toggle on in settings)
### 5. Premium / Discount Zones
Based on the current swing range:
- **Premium Zone** (upper half) — Light red background
- **Discount Zone** (lower half) — Light green background
- **Equilibrium Line** (50%) — Dashed amber line
- Default: OFF (toggle on in settings)
## Dashboard
A compact, dark-themed info panel displaying:
- **Trend** — Current market direction (Bullish / Bearish / Neutral)
- **Structure** — Last detected structure signal (BOS or CHoCH)
- **Liq. Heat** — How many liquidity zones are near the current price (High / Medium / Low)
- **Volume** — Above or below 20-period average
- **Momentum** — RSI(14) status (Overbought / Neutral / Oversold)
- **Next Zone** — Nearest liquidity zone with price level and distance in percent
## Auto-Timeframe Adaptation
All parameters automatically adjust to your chart timeframe:
| Timeframe | Swing Lookback | Heatmap Decay |
|-----------|---------------|---------------|
| 1-5 min | 6 | 100 bars |
| 15 min | 10 | 80 bars |
| 30 min | 12 | 80 bars |
| 1 Hour | 15 | 60 bars |
| 4 Hour | 22 | 50 bars |
| Daily | 35 | 40 bars |
| Weekly+ | 50 | 30 bars |
You can switch to manual mode for full control.
## Alert Types (7)
1. Bullish BOS — Break of Structure confirmed (continuation up)
2. Bearish BOS — Break of Structure confirmed (continuation down)
3. Bullish CHoCH — Change of Character detected (potential reversal up)
4. Bearish CHoCH — Change of Character detected (potential reversal down)
5. Bullish Liquidity Sweep — Swing high liquidity taken
6. Bearish Liquidity Sweep — Swing low liquidity taken
7. Price Entering Order Block — Price enters a bullish or bearish OB zone
## Settings
**Market Structure:**
- Show BOS / CHoCH (on/off)
- Auto Swing Lookback (on/off)
- Manual Swing Lookback (3-100)
- BOS / CHoCH line styles and width
**Liquidity Heatmap:**
- Show Heatmap (on/off)
- Auto Decay Period (on/off)
- Manual Decay (10-500 bars)
- Zone Width (ATR multiplier)
- Volume-Weighted Intensity (on/off)
- Max Active Zones (4-20)
**Order Blocks:**
- Show Order Blocks (on/off)
- Max OBs per Side (1-6)
- Mitigation Threshold (0.0-1.0)
**Fair Value Gaps:**
- Show FVGs (on/off, default OFF)
- Min FVG Size (ATR multiplier)
- Max Active FVGs (2-15)
- FVG Extend (bars)
**Premium / Discount:**
- Show Zones (on/off, default OFF)
- Zone Transparency
**Dashboard:**
- Show Dashboard (on/off)
- Position (Top Right / Top Left / Bottom Right / Bottom Left)
- Size (Tiny / Small / Normal)
**Visual Settings:**
- All 5 colors fully customizable
- Watermark (on/off)
## Non-Repainting
All signals are calculated on confirmed (closed) bars only. Pivot detection inherently requires N bars of confirmation on each side. BOS/CHoCH signals fire on the bar where the break occurs, after the swing point is already confirmed. What you see is what happened — no hindsight bias.
## Works On
- Crypto (BTC, ETH, SOL, ...)
- Forex (EUR/USD, GBP/JPY, ...)
- Stocks (AAPL, TSLA, NVDA, ...)
- Futures & Indices (NQ, ES, SPX, ...)
- Any timeframe from 1 minute to Monthly
## Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss. Indicator

ICT Bias ProICT Bias Pro: Dashboard + First Hour Range & Session FVGs
This indicator is a comprehensive "Bias Builder" designed for traders who follow Inner Circle Trader (ICT) concepts. It combines a multi-timeframe trend dashboard with a specific intraday strategy derived from ICT's recent teaching: "How Do I Engage Markets When I Don't Have An Initial Bias?"
The tool is designed to help traders find confluence between the Macro trend (Daily/4H) and the Micro execution (15M/5M) during the New York AM Session.
Features & Methodology
1. Multi-Timeframe Bias Dashboard Located in the corner of your chart, this dashboard provides a quick "Traffic Light" view of the market structure across 4 key timeframes:
Daily & 4-Hour: Establishes the macro direction.
15-Min & 5-Min: Monitors intraday order flow.
Logic: Bias is determined by comparing price relative to the 20 EMA and checking for Market Structure alignment. Green = Bullish, Red = Bearish.
2. The "First Hour" Trading Range (No-Bias Strategy) Following ICT’s specific logic for days when bias is unclear, this tool automatically highlights the 9:30 AM – 10:30 AM (New York Time) trading range.
Range High & Low: Defining the volatility of the opening hour.
Equilibrium (50%): The "Line in the Sand." Price holding above the 50% signals bullish strength (Premium); price below signals bearish weakness (Discount).
Quadrants (25% & 75%): Deep discount/premium zones for precision entries.
3. Session-Specific Fair Value Gaps (FVG) The indicator automatically detects and draws Fair Value Gaps that form only within that critical first hour of trading.
Auto-Extension: Boxes extend to the right until price "mitigates" (fills) them.
Consequent Encroachment (C.E.): Automatically plots the 50% dashed line inside every FVG, a key institutional support/resistance level.
Smart Mitigation: Once a gap is filled, the box changes color (user-selectable) to indicate it is no longer an active magnet.
How to Use This Indicator
This tool is designed to identify Confluence:
Check the Dashboard: Look for alignment on the Daily and 4H timeframes (e.g., Both Green).
Wait for 10:30 AM EST: Allow the script to draw the First Hour Range.
Trade the Confluence:
Bullish Setup: If the Dashboard is Green, look for price to hold above the 50% Equilibrium of the First Hour Range. Look for entries inside Bullish FVGs that form near the 50% or 75% levels.
Bearish Setup: If the Dashboard is Red, look for price to reject the 50% Equilibrium and stay in the lower half. Target Bearish FVGs near the 50% or 25% levels.
Settings & Customization
Dashboard Toggle: Show or hide the table to keep charts clean.
Colors: Fully customizable colors for Range High/Low, FVGs (Bullish/Bearish), and Mitigated gaps.
Text Positioning: Adjust FVG labels (Left/Center/Right) to prevent visual clutter on candles.
Credits & Attribution
Concept: Inner Circle Trader (Michael Huddleston).
Core Strategy: Based on the video "How Do I Engage Markets When I Don't Have An Initial Bias?"
Disclaimer: This tool is for educational purposes only. Past performance is not indicative of future results. Indicator

Indicator

Indicator

Volumatic Fair Value Gaps [BigBeluga]🔵 OVERVIEW
The Volumatic Fair Value Gaps indicator detects and plots size-filtered Fair Value Gaps (FVGs) and immediately analyzes the bullish vs. bearish volume composition inside each gap. When an FVG forms, the tool samples volume from a 10× lower timeframe , splits it into Buy and Sell components, and overlays two compact bars whose percentages always sum to 100%. Each gap also shows its total traded volume . A live dashboard (top-right) summarizes how many bullish and bearish FVGs are currently active and their cumulative volumes—offering a quick read on directional participation and trend pressure.
🔵 CONCEPTS
FVGs (Fair Value Gaps) : Imbalance zones between three consecutive candles where price “skips” trading. The script plots bullish and bearish gaps and extends them until mitigated.
Size Filtering : Only significant gaps (by relative size percentile) are drawn, reducing noise and emphasizing meaningful imbalances.
// Gap Filters
float diff = close > open ? (low - high ) / low * 100 : (low - high) / high *100
float sizeFVG = diff / ta.percentile_nearest_rank(diff, 1000, 100) * 100
bool filterFVG = sizeFVG > 15
Volume Decomposition : For each FVG, the indicator inspects a 10× lower timeframe and aggregates volume of bullish vs. bearish candles inside the gap’s span.
100% Split Bars : Two inline bars per FVG display the % Bull and % Bear shares; their total is always 100%.
Total Gap Volume : A numeric label at the right edge of the FVG shows the total traded volume associated with that gap.
Mitigation Logic : Gaps are removed when price closes through (or touches via high/low—user-selectable) the opposite boundary.
Dashboard Summary : Counts and sums the active bullish/bearish FVGs and their total volumes to gauge directional dominance.
🔵 FEATURES
Bullish & Bearish FVG plotting with independent color controls and visibility toggles.
Adaptive size filter (percentile-based) to keep only impactful gaps.
Lower-TF volume sampling at 10× faster resolution for more granular Buy/Sell breakdown.
Per-FVG volume bars : two horizontal bars showing Bull % and Bear % (sum = 100%).
Per-FVG total volume label displayed at the right end of the gap’s body.
Mitigation source option : choose close or high/low for removing/invalidating gaps.
Overlap control : older overlapped gaps are cleaned to avoid clutter.
Auto-extension : active gaps extend right until mitigated.
Dashboard : shows count of bullish/bearish gaps on chart and cumulative volume totals for each side.
Performance safeguards : caps the number of active FVG boxes to maintain responsiveness.
🔵 HOW TO USE
Turn on/off FVG types : Enable Bullish FVG and/or Bearish FVG depending on your focus.
Tune the filter : The script already filters by relative size; if you need fewer (stronger) signals, increase the percentile threshold in code or reduce the number of displayed boxes.
Choose mitigation source :
close — stricter; gap is removed when a closing price crosses the boundary.
high/low — more sensitive; a wick through the boundary mitigates the gap.
Read the per-FVG bars :
A higher Bull % inside a bullish gap suggests constructive demand backing the imbalance.
A higher Bear % inside a bearish gap suggests supply is enforcing the imbalance.
Use total gap volume : Larger totals imply more meaningful interest at that imbalance; confluence with structure/HTF levels increases relevance.
Watch the dashboard : If bullish counts and cumulative volume exceed bearish, market pressure is likely skewed upward (and vice versa). Combine with trend tools or market structure for entries/exits.
Optional: hide volume bars : Disable Volume Bars when you want a cleaner FVG map while keeping total volume labels and the dashboard.
🔵 CONCLUSION
Volumatic Fair Value Gaps blends precise FVG detection with lower-timeframe volume analytics to show not only where imbalances exist but also who powers them. The per-gap Bull/Bear % bars, total volume labels, and the cumulative dashboard together provide a fast, high-signal read on directional participation. Use the tool to prioritize higher-quality gaps, align with trend bias, and time mitigations or continuations with greater confidence. Indicator

Indicator

Smarter Money Concepts - FVGs [PhenLabs]📊 Smarter Money Concepts - FVGs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - FVGs is a sophisticated indicator designed to identify and track Fair Value Gaps (FVGs) in price action. These gaps represent market inefficiencies where price moves quickly, creating imbalances that often attract subsequent price action for mitigation. By highlighting these key areas, traders can identify potential zones for reversals, continuations, and price targets.
The indicator employs volume filtering ideology to highlight only the most significant FVGs, reducing noise and focusing on gaps formed during periods of higher relative volume. This combination of price structure analysis and volume confirmation provides traders with high-probability areas of interest that institutional smart money may target during future price movements.
🚀 Points of Innovation
Volume-Filtered Gap Detection : Eliminates low-significance FVGs by requiring a minimum volume threshold, focusing only on gaps formed with institutional participation
Equilibrium Line Visualization : Displays the midpoint of each gap as a potential precision target for trades
Automated Gap Mitigation Tracking : Monitors when price revisits and mitigates gaps, automatically managing visual elements
Time-Based Gap Management : Intelligently filters gaps based on a configurable timeframe, maintaining chart clarity
Dual Direction Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure view
Memory-Optimized Design : Implements efficient memory management for smooth chart performance even with numerous FVGs
🔧 Core Components
Fair Value Gap Detection : Identifies price inefficiencies where the current candle’s low is higher than the previous candle’s high (bearish FVG) or where the current candle’s high is lower than the previous candle’s low (bullish FVG).
Volume Filtering Mechanism : Calculates relative volume compared to a moving average to qualify only gaps formed during significant market activity.
Mitigation Tracking : Continuously monitors price action to detect when gaps get filled, with options to either hide or maintain visual representation of mitigated gaps.
🔥 Key Features
Customizable Gap Display : Toggle visibility of bullish and bearish gaps independently to focus on your preferred market direction
Volume Threshold Control : Adjust the minimum volume ratio required for gap qualification, allowing fine-tuning between sensitivity and significance
Flexible Mitigation Methods : Choose between “Wick” or “Close” methods for determining when a gap has been mitigated, adapting to different trading styles
Visual Customization : Full control over colors, transparency, and style of gap boxes and equilibrium lines
🎨 Visualization
Gap Boxes : Rectangular highlights showing the exact price range of each Fair Value Gap. Bullish gaps indicate potential upward price targets, while bearish gaps show potential downward targets.
Equilibrium Lines : Dotted lines running through the center of each gap, representing the mathematical midpoint that often serves as a precision target for price movement.
📖 Usage Guidelines
General Settings
Days to Analyze : Default: 15, Range: 1-100. Controls how many days of historical gaps to display, balancing between comprehensive analysis and chart clarity
Visual Settings
Bull Color : Default:(#596fd33f). Color for bullish Fair Value Gaps, typically using high transparency for clear chart visibility
Bear Color : Default:(#d3454575). Color for bearish Fair Value Gaps, typically using high transparency for clear chart visibility
Equilibrium Line : Default: Enabled. Toggles visibility of the center equilibrium line for each FVG
Eq. Line Color : Default: Black with 99% transparency. Sets the color of equilibrium lines, usually kept subtle to avoid chart clutter
Eq. Line Style : Default: Dotted, Options: Dotted, Solid, Dashed. Determines the line style for equilibrium lines
Mitigation Settings
Mitigation Method : Default: Wick, Options: Wick, Close. Determines how gap mitigation is calculated - “Wick” uses high/low values while “Close” uses open/close values for more conservative mitigation criteria
Hide Mitigated : Default: Enabled. When enabled, gaps become transparent once mitigated, reducing visual clutter while maintaining historical context
Volume Filter
Volume Filter : Default: Enabled. When enabled, only shows gaps formed with significant volume relative to recent average
Min Ratio : Default: 1.5, Range: 0.1-10.0. Minimum volume ratio compared to average required to display an FVG; higher values filter out more gaps
Periods : Default: 15, Range: 5-50. Number of periods used to calculate the average volume baseline
✅ Best Use Cases
Identifying potential reversal zones where price may react after extended moves
Finding precise targets for take-profit placement in trend-following strategies
Detecting institutional interest areas for potential breakout or breakdown confirmations
Plotting significant support and resistance zones based on structural imbalances
Developing fade strategies at key market structure points
Confirming trade entries when price approaches significant unfilled gaps
⚠️ Limitations
Works best on higher timeframes where gaps reflect more significant market inefficiencies
Very choppy or ranging markets may produce small gaps with limited predictive value
Volume filtering depends on accurate volume data, which may be less reliable for some symbols
Performance may be affected when displaying a very large number of historical gaps
Some gaps may never be fully mitigated, particularly in strongly trending markets
💡 What Makes This Unique
Volume Intelligence : Unlike basic FVG indicators, this script incorporates volume analysis to identify the most significant structural imbalances, focusing on quality over quantity.
Visual Clarity Management : Automatic handling of mitigated gaps and memory management ensures your chart remains clean and informative even over extended analysis periods.
Dual-Direction Comprehensive Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure picture rather than forcing a directional bias.
🔬 How It Works
1. Gap Detection Process :
The indicator examines each candle in relation to previous candles, identifying when a gap forms between the low of candle and high of candle (bearish FVG) or between the high of candle and low of candle (bullish FVG). This specific candle relationship identifies true structural imbalances.
2. Volume Qualification :
For each potential gap, the algorithm calculates the relative volume compared to the configured period average. Only gaps formed with volume exceeding the minimum ratio threshold are displayed, ensuring focus on institutionally significant imbalances.
3. Equilibrium Calculation :
For each qualified gap, the script calculates the precise mathematical midpoint, which becomes the equilibrium line - a key target that price often gravitates toward during mitigation attempts.
4. Mitigation Tracking :
The indicator continuously monitors price action against existing gaps, determining mitigation based on the selected method (wick or close). When price reaches the equilibrium point, the gap is considered mitigated and can be visually updated accordingly.
💡 Note:
Fair Value Gaps represent market inefficiencies that often, but not always, get filled. Use this indicator as part of a complete trading strategy rather than as a standalone system. The most valuable signals typically come from combining FVG analysis with other confirmatory indicators and overall market context. For optimal results, start with the default settings and gradually adjust parameters to match your specific trading timeframe and style. Indicator

Indicator

Indicator
