Liquidity Side Bias Engine [AGPro Series]Liquidity Side Bias Engine
🧠 Core Idea
Which side of resting liquidity is the more likely near-term draw right now: the buy-side above, or the sell-side below?
This script is built to answer that one question with structure instead of guesswork.
📌 Overview / What It Does
Liquidity Side Bias Engine is a forward-looking, two-sided liquidity planner for smart-money and ICT-style analysis. Most price action leaves resting liquidity on both sides of the market: buy-side liquidity above old highs and equal highs, and sell-side liquidity below old lows and equal lows. At any moment, one of those two sides usually has the stronger pull. This tool maps the nearest untapped liquidity on each side and weighs it into a single, readable side lean.
Concretely, it identifies the closest buy-side pool above price and the closest sell-side pool below price from equal-highs and equal-lows clusters, the prior higher-timeframe high and low, and unmitigated swing points. It then scores each side from 0 to 100 using proximity, pool strength, trend context, and premium-discount range position, and reports which side is leaning, by how much, where the primary draw sits, and which opposite level would flip the read.
It does NOT predict price, generate buy or sell signals, or automate trades. It organizes a two-sided liquidity picture into a structured bias so the chart is easier to read and plan around. Every output is analytical context, not a recommendation.
🎯 Purpose & Design Philosophy
Liquidity tools usually fall into two buckets: reactive sweep detectors that mark a liquidity grab after it already happened, and static maps that draw every pool on the chart and leave interpretation entirely to the trader. Both are useful, but neither answers the practical question a planner actually asks before the move: of the two sides, which one is the market more likely leaning toward next?
This engine was built to fill that gap. It is for the trader who already understands liquidity but wants a clean, consistent way to frame the two-sided picture without manually weighing five different factors on every chart. It supports a patient, context-first mindset: read the lean, understand why it leans, watch the primary draw and the flip level, and let broader market context confirm or deny the idea. The goal is intentional, structured thinking, not a shortcut around it.
⚡ Why This Script Is Different
Most liquidity tools focus on what already happened, marking sweeps and grabs after the candle closes, or they paint a dense map of every pool and stop there.
This script does NOT try to call tops and bottoms, does NOT fire trade signals, and does NOT bury the chart in unlabeled levels.
Instead, it looks forward. It treats buy-side and sell-side liquidity as a two-sided tug-of-war and resolves it into one lean score from 0 to 100, with a clear dominant side, a primary draw target, an opposite flip level, the pool type in play, and a premium-discount range read. The leaning side is drawn solid and emphasized; the opposite side is drawn faint as the flip reference. The result is a single, calm decision-support read instead of a wall of levels or a backward-looking alert.
⚙️ Methodology
1. Context Detection
An ATR baseline, an EMA trend backbone with a slope check, and a premium-discount dealing range are computed to describe the current environment.
2. Reference Mapping
The nearest untapped buy-side pool above price and sell-side pool below price are located from equal-highs and equal-lows clusters, the prior higher-timeframe high and low, and unmitigated swing points. The prior period adapts to the chart: prior day on intraday, prior week on daily, prior month on higher timeframes.
3. Reaction Evaluation
Each side is scored from 0 to 100 across four factors: proximity (closer pools pull more), pool strength (cluster size, prior-period magnetism, freshness), trend context (the direction-aligned side is weighted), and range position (discount weights the buy-side draw, premium weights the sell-side draw). The two scores are compared into a single lean; a small balance gap is treated as two-sided.
4. Visual Output
The leaning side, its primary draw, the opposite flip level, pool type, distance, and a next-action read are rendered into a clean panel, two side lines, a centered bias badge, and moderate alternating event labels.
🗺️ How to Read the Chart
- Side lines: the buy-side line sits above price, the sell-side line below. The leaning side is solid and bold; the opposite side is faint and dashed, marking the flip reference.
- Bias badge: a compact badge near current price shows the leaning state and its 0-100 score.
- Target tag: a single right-edge tag marks the primary draw price on the leaning side.
- Faint pool lines: lighter dotted lines show other untapped pools as a soft liquidity map.
- Labels: green relates to buy-side context, pink to sell-side context, amber to balanced.
- Panel: a fixed readout of state, bias score, primary draw, pool type, range, flip level, and action.
🚦 Signals & States
- Buy-Side Lean → buy-side liquidity above is currently the leaning near-term draw.
- Sell-Side Lean → sell-side liquidity below is currently the leaning near-term draw.
- Balanced → both sides are close in score; no clear leaning side.
- Buy-Side Taken / Sell-Side Taken → a liquidity side was traded through (mitigated).
These are interpretive states, not instructions. A Buy-Side Lean does not mean buy; it means the upside pool is the weighted draw in the current context.
🔔 Alerts Logic
Three optional alerts are available:
- Buy-Side Lean: triggers when the dominant side flips to buy-side above the active threshold.
- Sell-Side Lean: triggers when the dominant side flips to sell-side above the active threshold.
- Liquidity Side Taken: triggers when a buy-side or sell-side pool is traded through.
Alerts are attention markers that point you back to the chart for context. They are not trade instructions and carry no guarantee of any outcome.
🧩 Confluence Logic
The lean is itself a confluence read. When proximity, pool strength, trend alignment, and range position agree on one side, that side scores higher and the lean is more pronounced. When they disagree, the score stays moderate and the state may resolve to Balanced, which is information in itself: the two-sided picture is unresolved.
📊 When to Use
- Trending markets, to frame whether the trend-aligned liquidity remains the dominant draw.
- Ranging markets, to read which range extreme is the more likely draw from the current premium-discount position.
- Around prior-period highs and lows, to gauge which side carries the stronger pull.
- As a planning overlay alongside your own structure, entries, and risk framework.
⚠️ When NOT to Use
- In very low-liquidity symbols or sessions, where swing points and pools are unreliable.
- In extremely noisy or news-driven conditions, where levels are violated erratically.
- As a standalone entry trigger, or in isolation from market structure and risk context.
- On data with large gaps or thin history, where pool detection has too little to work with.
🎛️ Key Inputs
- Swing Strength: how strong a swing must be to qualify as a pool. Higher keeps only major swings.
- Pool Memory: how many recent swings are retained per side.
- Equal Level Tolerance: ATR width for grouping nearby levels into an equal-highs or equal-lows cluster.
- Use Prior-Period Pools: includes the adaptive prior-period high and low as pools.
- Trend Backbone EMA and Slope Bars: define the directional context weighting.
- Premium-Discount Range: lookback for the dealing range that drives the range-position factor.
- Max Draw Distance, Pool Freshness Window: shape how distance and age affect the score.
- Active Bias Score and Balanced Gap: thresholds for an active lean versus a balanced read.
- Visual, label, and panel controls: side lines, badge, target tag, pool map, label density, panel location, theme, and font size.
🖥️ Interface & Visual Design
The panel is the primary readout, leading with the leaning state and 0-100 score, then primary draw, pool type, premium-discount range, flip level, and a concise action line. On the chart, visual hierarchy favors the leaning side: it is solid and emphasized, while the opposite side stays faint. Labels are kept moderate and strictly alternating so the chart reads cleanly at a glance. Panel location, theme, and font size are adjustable; the panel is shown by default for readability.
🧪 Practical Usage Workflow
1. Read the panel: note the leaning state and the bias score.
2. Check the primary draw and the flip level: where is the weighted draw, and what would invalidate the read.
3. Read the premium-discount range line: is price in discount or premium, and how far is the draw in ATR.
4. Confirm with your own market structure, higher-timeframe context, and risk framework before any decision.
🔍 Interpretation Guidelines
Think of the lean as a weighted opinion about the two-sided liquidity picture, not a forecast. A higher score means the factors agree more strongly; a moderate score or a Balanced state means the picture is mixed and patience is warranted. The flip level is a structural reference, not a hard line. Always interpret the lean inside the broader market context rather than in isolation.
🚫 What This Script Is NOT
- It is NOT a prediction engine and does not forecast price direction.
- It is NOT financial advice or a recommendation to buy or sell.
- It is NOT an automated trading system.
- It does NOT produce guaranteed signals or outcomes.
⚠️ Limitations & Transparency
Outputs depend on detected swing structure and may differ across timeframes and symbols. Volatility, liquidity, and changing market conditions affect how pools form and how they are taken. Prior-period pools rely on higher-timeframe data and shift as new periods print. The tool describes current structure; it cannot know the future, and any level can be exceeded or fail to be reached.
🧠 Market Context Notes
Liquidity tends to rest where many participants place stops and pending orders: above equal highs, below equal lows, and around prior-period extremes. In an uptrend, price in discount often leans toward the buy-side draw above; in a downtrend, price in premium often leans toward the sell-side draw below. This engine encodes that two-sided logic into a single read, but market context always has the final word.
🧾 Use Case Examples
- Price is in discount within its range, trend is up, and the nearest buy-side pool is a prior-week high: the engine shows a Buy-Side Lean with the prior-week high as the primary draw.
- Price is in premium, momentum is fading, and equal lows rest below: the engine may show a Sell-Side Lean with those equal lows as the primary draw and a high above as the flip level.
- Both sides score closely: the engine reports Balanced, signaling an unresolved two-sided picture.
🧱 System Philosophy
This tool reflects the AGPro Series approach: convert a familiar but messy concept into a calm, structured, decision-support read. Liquidity is everywhere on a chart; the value is in organizing it into a single, honest lean that respects the trader's own judgment rather than replacing it.
🔐 Non-Promise Statement
This script makes no promise of profit, accuracy, or any specific result. It is an analytical and organizational tool. No certainty is offered or implied.
📉 Risk Disclosure
Trading involves substantial risk, and most participants can lose money. This script is provided for educational and analytical purposes only and does not constitute financial advice. All decisions, positions, and outcomes remain entirely your own responsibility. Always manage risk and trade within your own plan.
📚 Educational Note
Used as intended, the engine can sharpen how you think about two-sided liquidity: where it rests, which side is weighted, and what would change the picture. Treat it as a lens for structured analysis, and keep building your own market understanding alongside it.
Indicator

Draw On Liquidity Planner [AGPro Series]Draw On Liquidity Planner
🧠 Core Idea
Of all the liquidity resting around price, which single pool is the dominant draw right now, how strong is that draw, and what level would put it in question?
📌 Overview / What It Does
Draw On Liquidity Planner is a chart-first liquidity decision tool. Instead of drawing every high and low on the screen, it studies the untapped liquidity pools sitting on both sides of price and decides which one is acting as the dominant "draw on liquidity," then frames a complete read around it.
It maps buy-side liquidity above price and sell-side liquidity below price from three sources: clusters of equal highs and equal lows, the prior higher-timeframe high and low, and unmitigated swing points. It tracks which pools are still untapped and which have already been swept. It then scores each side from 0 to 100 and selects the single dominant draw, presenting a clear state, the target pool price, the draw distance in ATR, the pool type, a structural invalidation reference, and a plain next-action read in a clean panel.
The script does not predict price, generate buy or sell signals, or automate trades. It organizes scattered liquidity into one structured draw decision so the chart can be read with intent instead of guesswork.
🎯 Purpose & Design Philosophy
This planner was built to close a specific gap. Many liquidity tools fall into one of two traps: they map every level at once until the chart is unreadable, or they only flag a sweep after it has already happened. Neither answers the first question a liquidity-focused trader actually asks: of everything resting around price, which side is the real magnet, and how convinced should I be?
Draw On Liquidity Planner is designed for patient, context-driven traders who think in terms of where liquidity rests and where price is being pulled. It supports a planning mindset rather than a reflex: identify the dominant draw, note the target and the invalidation, gauge conviction from the score, and then wait for the market to confirm or reject that context. It is a decision-support layer, not a trigger.
⚡ Why This Script Is Different
Most liquidity tools either print a dense map of every swing high and low, or they detect a sweep only once it is complete and leave the interpretation to you.
This script does NOT flood the chart with every level, and it does NOT claim to know the next move.
Instead, it ranks both sides of liquidity into a single dominant draw with a transparent 0-100 score, shows one clean target, one structural invalidation, and a light reference map of the remaining pools, and keeps the detailed read in a premium panel so the price area stays clear. The decision layer — which side, how strong, what would invalidate it — is the product. The raw levels are just the inputs.
⚙️ Methodology
The internal logic runs in clear, rule-based steps:
1. Pool Detection
Swing highs and swing lows are detected with an adjustable swing strength and stored as candidate liquidity pools. The prior higher-timeframe high and low can be included as significant pools, and the period adapts to the chart: prior day on intraday charts, prior week on daily charts, and prior month on higher timeframes.
2. Mitigation Tracking
A buy-side pool is marked as taken once price trades through it, and a sell-side pool once price trades under it. Only untapped liquidity is treated as an active draw, so the read reflects what is still resting rather than what has already been consumed.
3. Cluster Evaluation
Nearby untapped levels are grouped using an ATR-based tolerance to recognize equal highs and equal lows. More touches at a level mean stronger resting liquidity, which contributes a higher draw quality.
4. Draw Scoring
Each side receives a 0-100 score built from four components: pool quality (cluster strength and prior-period status), proximity in ATR, directional context from a trend backbone, and pool freshness. The weighting favors quality and proximity while still respecting trend alignment and how recently the pool formed.
5. Dominant Draw Selection
The higher-scoring side becomes the active draw. When the two sides are close, the context is treated as balanced two-sided liquidity rather than forcing a single direction.
6. Visual Output
The active draw is drawn as a thin highlighted zone with a centered badge, a target line, a structural invalidation line, a light reference map of the remaining pools, a single right-edge target tag, and a complete summary panel.
🗺️ How to Read the Chart
- Draw Zone: the thin highlighted band around the dominant liquidity target, with a centered badge showing the state and the 0-100 score.
- Target Line: the solid line at the active draw pool price.
- Invalidation Line: the dashed line at the opposite-side structural reference (the nearest swing on the other side); losing that level weakens the current draw lean.
- Faint Pool Lines: dotted reference lines marking the other untapped pools on each side, as a light liquidity map.
- Target Tag: a single right-edge tag with the active draw target price.
- Event Labels: compact markers that print when the dominant draw flips side or when a liquidity pool is swept. They alternate by side and stay clear of the candles.
- Panel: state, draw score, target, distance, pool type, invalidation, and action.
Colors follow the AG Pro palette: teal for buy-side draws, pink for sell-side draws, and amber for balanced or lower-conviction context.
🚦 Signals & States
• Buy-Side Draw → untapped liquidity above is the dominant magnet
• Sell-Side Draw → untapped liquidity below is the dominant magnet
• Two-Sided → both sides are roughly balanced, with no single dominant draw
• No Draw → no qualifying untapped pool is currently in range
States describe liquidity context only. They are not trade instructions and carry no guarantee of direction.
🔔 Alerts Logic
Alerts are available for:
- Buy-Side Draw: the dominant draw establishes on the buy side with a qualifying score
- Sell-Side Draw: the dominant draw establishes on the sell side with a qualifying score
- Liquidity Pool Swept: a tracked pool is traded through
Alerts are attention markers that flag a change in liquidity context. They are not signals to enter or exit a position, and each alert should be interpreted within the broader market picture.
🧩 Confluence Logic
The draw score is itself a confluence measure. A high score means pool quality, proximity, directional context, and freshness are aligning on the same side. When the active draw also agrees with your higher-timeframe bias and the prevailing structure, the context is stronger. When they disagree, the read deserves more caution, and the score will usually reflect that with a lower value.
📊 When to Use
• Trending markets, where price tends to reach for liquidity in the direction of the trend
• Range edges, where equal highs or equal lows build obvious resting liquidity
• Charts with a clear prior-period high or low acting as a reference draw
• Planning phases, when defining a target and an invalidation before committing to a view
⚠️ When NOT to Use
• Very low-liquidity symbols or thin sessions, where swing structure is unreliable
• Extreme volatility events, where levels are torn through without reaction
• Very low timeframes dominated by noise, where pools form and break too quickly
• As a standalone entry trigger, with no regard for broader context
🎛️ Key Inputs
• Swing Strength → how strong a swing must be to become a pool
• Pool Memory → how many recent pools are retained
• Equal Level Tolerance → how loosely nearby levels merge into a cluster
• Use Prior-Period Pools → include the prior higher-timeframe high and low (day, week, or month by chart)
• Trend Backbone EMA and Slope → the directional context used in scoring
• Max Draw Distance → distance beyond which a pool is treated as too far to be an active draw
• Active Draw Score → minimum score for an emphasized, alert-eligible draw
• Two-Sided Balance Gap → score gap below which liquidity is treated as balanced
• Visual and panel settings → control zones, lines, labels, density, location, theme, and font size
🖥️ Interface & Visual Design
The interface is intentionally restrained. One dominant draw zone, one target line, one structural invalidation reference, a light pool map, and a single target tag keep the chart readable. Event labels alternate by side and point at the candle that produced them, so the chart reads as a clean sequence rather than a cluster. The panel carries the detailed read, and its first row is a single merged brand header. Panel location, theme, and font size are all adjustable, and the panel is shown by default for clarity.
🧪 Practical Usage Workflow
1. Read the panel: note the state and the draw score.
2. Locate the target: confirm the highlighted draw zone and the target line.
3. Check the invalidation: note the opposite-side structural reference.
4. Confirm context: compare with your higher-timeframe bias and structure before acting on any view.
🔍 Interpretation Guidelines
Treat the draw score as a measure of how clearly liquidity leans to one side, not as a probability of profit. A strong, aligned draw is context to plan around. A balanced or weak read is a reason to wait rather than to force a trade. Every output is meant to be interpreted inside the broader market picture, never in isolation.
🚫 What This Script Is NOT
- It is NOT a prediction engine.
- It is NOT financial advice.
- It is NOT an automated trading system.
- It does NOT generate guaranteed signals or outcomes.
⚠️ Limitations & Transparency
Liquidity context behaves differently across timeframes, symbols, and volatility regimes. Pools can be ignored, swept and reversed, or run through without reaction. Swing detection depends on the chosen settings, and prior-period references behave differently across symbols and session types. This tool organizes context and frames a decision; it does not guarantee how price will respond to any level.
🧠 Market Context Notes
Liquidity tends to rest where many participants place stops: above equal highs, below equal lows, and around prior-period extremes. Price often gravitates toward these areas, but the timing and the reaction are never certain. The structure and volatility around a pool shape how meaningful any reaction near it is likely to be, which is why the score blends proximity and trend context rather than distance alone.
🧾 Use Case Examples
• In an uptrend, the planner highlights a buy-side draw at a cluster of equal highs above price, with a recent swing low as the structural invalidation below and a score that reflects how aligned and how close that draw is.
• In a range, the planner shows two-sided liquidity, signaling that no single side is dominant and that patience is warranted until one side resolves.
• After a deep move, the prior-period high or low can become the dominant draw, giving a clear reference target while the invalidation marks where that lean would weaken.
🧱 System Philosophy
The AG Pro approach favors decision-support tools over raw indicators. Each script is built to answer a specific question, present a clean read, and respect the chart. Draw On Liquidity Planner reflects that philosophy by turning scattered liquidity into one structured draw decision with a transparent score and a defined invalidation.
🔐 Non-Promise Statement
This tool offers no guarantees and no certainty about future price movement. It is a structured way to read liquidity context and frame a plan, nothing more.
📉 Risk Disclosure
Trading involves substantial risk. This script is provided for educational and analytical purposes only and does not constitute financial advice. All trading decisions and their outcomes are solely the responsibility of the user.
📚 Educational Note
Use this planner to study how price interacts with resting liquidity over time. Watching which draws are respected, swept, or ignored on your own market and timeframe is a practical way to build liquidity-reading skill and a more structured trading process. Indicator

Peak Decoder v1.0Kurzbeschreibung:
Ein hochentwickelter, strukturbasierter Oszillator, der die relative Position des Preises innerhalb seiner aktuellen Handelsspanne entschlüsselt.
Das Tool identifiziert vollautomatisch die mathematischen und visuellen Scheitelpunkte (Peaks & Troughs) in den Extremzonen und filtert kurzfristiges Marktrauschen sowie Fehlausbrüche effektiv heraus.
Hauptfunktionen & Funktionsweise:Drei integrierte Sensitivitäts-Modi:
Über das Einstellungsmenü kann die Reaktivität des Algorithmus fliegend gewechselt werden:
Aggressiv: Extrem schnell, optimiert für das Scalping in kleinsten Zeiteinheiten.
Normal: Die ausgewogene Standard-Einstellung für das klassische Daytrading.
Passiv: Filtert starkes Rauschen heraus, ideal für die übergeordnete Trendbestimmung (HTF).
Intelligenter Bounce- & Wellenfilter: Der Indikator speichert Ausbrüche in den Extremzonen im Zwischenspeicher. Er wartet geduldig, bis eine Bewegung endgültig abgeschlossen ist. Entstehen tiefere Täler oder höhere Hochs innerhalb derselben Phase, wandert das Signal automatisch mit.
Striktes Wechselsystem: Die Logik erzwingt ein sauberes, alternierendes Signalmuster (Top ➔ Bottom ➔ Top). Dadurch werden mehrfache Fehlsignale auf derselben Seite in volatilen Seitwärtsphasen komplett eliminiert.
Präzise visuelle Signale: Bestätigte Wendepunkte werden mit dezenten Kreisen direkt auf der Wellenspitze markiert. Zur besseren Übersicht wird ein fetter Richtungspfeil horizontal (auf 3 Uhr) daneben platziert.
Anwendung im Trading:Der Oszillator dient als hervorragender Filter zur Bestimmung von Premium- (Überkauft) und Discount-Zonen (Überverkauft) im Rahmen von Smart Money Concepts (SMC) oder klassischen Marktstruktur-Strategien.
Rot (Oben): Potenzielle Erschöpfung der Käufer, Vorbereitung für Short-Setups.
Grün (Unten): Potenzielle Erschöpfung der Verkäufer, Vorbereitung für Long-Setups.
Enthält eine voll integrierte Alarm-Schnittstelle (alert()), die pro Bar-Close einmalig auslöst, sobald ein Peak final bestätigt wurde. Indicator

Indicator

Crypto Ultimate Indicator v2═══════════════════════════════════════════════
CRYPTO ULTIMATE INDICATOR (CUI)
═══════════════════════════════════════════════
A multi-layer confluence system for crypto traders. Stacks 12+ independent technical layers — trend, momentum, volume, regime, multi-timeframe bias, and Smart Money Concepts — and fires Buy/Sell signals only when enough of them agree. Every signal comes with a confidence score, three take-profit levels, position size recommendation, and live outcome tracking.
Built for 4H and Daily crypto charts. No proprietary "secret sauce" — every component is documented and every input is exposed.
━━━━━━━ WHY THIS EXISTS ━━━━━━━
Most multi-indicator scripts stack correlated trend filters (more EMAs, more oscillators) and call it "confluence." That just adds the illusion of agreement without adding independent information.
CUI's filter stack is built from genuinely different signal sources, so when they align, that alignment carries real weight:
• Trend regime — HMA + Supertrend + EMA Ribbon
• Momentum — RSI with proper pivot-to-pivot divergence
• Volume flow — body-weighted Volume Delta + CVD divergence
• Volatility state — Bollinger squeeze + squeeze-release timing
• Market structure — composite of ADX, Choppiness Index, BB-width percentile
• Multi-timeframe — weighted Daily / Weekly / Custom HTF (all offset, no repaint)
• Liquidity & gaps — Fair Value Gaps + Liquidity Sweep detection
• External context — optional BTC trend filter for alt trading
A Buy or Sell only fires when the relevant subset of these align. A built-in "Why-Not" diagnostic table shows you exactly which filter is blocking a near-signal at any moment — turning the indicator into a tunable system rather than a black box.
━━━━━━━ CORE FEATURES ━━━━━━━
TREND & MOMENTUM
▸ Hull Moving Average (configurable length)
▸ Supertrend with ATR factor
▸ 5-EMA Ribbon (8/13/21/34/55) with stacking score
▸ RSI with consecutive-pivot divergence detection
▸ MACD and Stochastic RSI (data window)
VOLUME
▸ Body-weighted Volume Delta (not naive close-position)
▸ Cumulative Volume Delta (CVD)
▸ CVD divergence at confirmed pivots
VOLATILITY & REGIME
▸ Bollinger Bands with squeeze detection and release timing
▸ Composite regime classifier (ADX × CHOP × BB-width)
▸ Background tint for trending vs ranging states
▸ Regime transition labels
SMART MONEY CONCEPTS
▸ Fair Value Gap zones (bullish and bearish)
▸ Liquidity Sweep detection
MULTI-TIMEFRAME
▸ Daily / Weekly / User-defined custom HTF
▸ Weighted confluence score (D 1.0x + W 1.5x + Custom 0.75x)
▸ Optional HTF pivot-based S/R lines
BTC CONTEXT (for alt traders)
▸ Optional BTC trend filter
▸ Relative strength vs BTC
SIGNAL ENGINE
▸ 0-100 confidence score
▸ Configurable minimum confidence threshold
▸ Auto-tune presets (Aggressive / Balanced / Conservative / Custom)
▸ Confirmation bar requirement
▸ Minimum spacing between signals
TRADE MANAGEMENT
▸ Three take-profit levels (TP1/TP2/TP3) with configurable ATR multipliers
▸ Custom % allocation per target
▸ Adaptive SL/TP — different distances in trending vs ranging conditions
▸ Break-even stop activation after TP1
▸ Chandelier ATR trailing stop on runner portion
▸ Position size calculator (account size × risk % × confidence multiplier)
LIVE TRACKING & DIAGNOSTICS
▸ Main dashboard with all current state
▸ Signal log table — last N trades with live TP/SL outcomes
▸ Why-Not diagnostic — which filter is currently blocking each direction
▸ Regime stats — win rate broken down by trending vs ranging
ALERTS
▸ 15+ classic alertcondition triggers
▸ Optional JSON webhook payload for bot integration
━━━━━━━ HOW A BUY SIGNAL FIRES ━━━━━━━
All of the following must be true on the signal bar:
1. HMA trending up
2. RSI above 50
3. Volume delta positive
4. EMA Ribbon score ≥ +3 (at least 4 of 5 aligned bullish)
5. Supertrend bullish
6. HTF confluence score ≥ +1.5
7. Confidence score ≥ user minimum
8. BTC trend bullish (if BTC filter enabled)
9. Price not inside opposing FVG zone (if FVG filter enabled)
10. Market not in strong ranging mode
11. Price more than 0.5 ATR from upper resistance zone
12. Candle body > 50% of range
13. Minimum bars elapsed since last signal
14. Confirmation bar (if enabled)
A Sell signal requires the inverse. On 4H BTC expect roughly 1-3 signals per week in normal conditions. If you see fewer, drop the confidence floor or switch to the Aggressive preset.
━━━━━━━ RECOMMENDED USE ━━━━━━━
▸ Primary: 4H on BTC/USDT, ETH/USDT, and majors
▸ Also works: Daily, 12H, 8H
▸ Use caution below 1H — noise increases, news spikes can trigger wicks
▸ Low-liquidity alts: bump ATR period to 21
WORKFLOW
1. Start on the Balanced preset
2. Watch the dashboard and Why-Not panel for a few sessions
3. Adjust the confidence floor based on signal frequency
4. Enable Regime Stats after chart history accumulates
5. For bots: enable JSON webhook alerts, route via "Any alert() function call"
━━━━━━━ REPAINT DISCLOSURE ━━━━━━━
Full transparency on what does and doesn't repaint:
▸ HMA, Supertrend, EMA Ribbon: repaint on the developing current bar (use bar-close confirmation for live trading)
▸ HTF confluence (D/W/Custom): all use offset — fetch last closed HTF bar only — NO intra-period repaint, NO lookahead
▸ RSI and CVD divergence labels: plotted at confirmed pivot bar (5 bars after the actual pivot). Do NOT appear and disappear.
▸ FVG zones: drawn on confirmation bar of the 3-bar gap pattern. Do not repaint once drawn.
▸ Liquidity sweeps: detected on bar close
▸ Trade outcomes (signal log): evaluated on each closing bar
▸ Regime transition labels: confirmed on bar close
━━━━━━━ HONEST LIMITATIONS ━━━━━━━
▸ This is a decision-support tool, not a complete trading system. Risk management, position discipline, and execution matter more than any indicator.
▸ Signal outcomes in the Regime Stats table are based on bar-close evaluation. Real-fill slippage is not modeled.
▸ Volume Delta is approximated from candle structure, not true tick-level bid/ask (PulseWire doesn't expose that without premium feeds).
▸ FVG and liquidity sweep are simplified interpretations of those concepts — pure SMC purists may prefer dedicated tools.
▸ The regime classifier is a heuristic composite. It works well on liquid crypto pairs but can lag at sharp inflection points.
▸ Past performance does not predict future results.
━━━━━━━ SETTINGS OVERVIEW ━━━━━━━
The script has many inputs, grouped by function. For first-time users, the most important groups are:
▸ Preset & Theme → pick Balanced to start
▸ UI Sizing → table text and label sizes
▸ Signal Engine → set Minimum Confidence Score
▸ Tiered Exits → TP/SL multipliers and % allocation
▸ Position Sizing → account size and risk per trade
▸ Alerts & Webhooks → enable JSON for bot trading
Default state shows a clean chart: HMA, Supertrend, BB, regime tint, signal labels, plus three tables (dashboard, signal log, HTF panel). Everything else is one toggle away — EMA Ribbon, FVG boxes, ATR zones, HTF S/R lines, CVD divergence labels, sweep markers, Why-Not diagnostic, Regime Stats.
━━━━━━━ WHAT'S NOT INCLUDED ━━━━━━━
▸ Full strategy() backtest — this is an indicator(). A companion strategy script may be released separately.
▸ Funding rate / open interest overlays — require specific tickers not universally available
▸ Chart pattern recognition (H&S, wedges, etc.)
━━━━━━━ CREDITS ━━━━━━━
Built on Pine Script v6. Uses PulseWire built-ins: ta.supertrend, ta.dmi, ta.bb, ta.macd, ta.rsi, ta.pivothigh, ta.pivotlow, ta.valuewhen. Choppiness Index, CVD, FVG detection, liquidity sweep logic, regime classifier, confidence scoring, trade tracking, and confluence weighting are custom implementations.
═══════════════════════════════════════════════
Indicator

Daily Bias Liquidity Profiler [MarkitTick]💡 This advanced analytical framework is engineered to decode market structure, track liquidity sweeps, and map volatility profiles on an intraday basis. Built natively for the sophisticated Pine Script version 6 environment, this indicator transcends basic charting by aggregating Previous Day metrics, session-specific liquidity pools, Fair Value Gap (FVG) confluences, and probabilistic bias models into a single, cohesive visual interface. It is designed for quantitative and algorithmic traders who require a deep understanding of market mechanics, offering unparalleled insight into where resting liquidity is likely positioned and how daily volatility is structured based on pure statistical variance.
✨ Originality and Utility
● Comprehensive Architectural Design
Most standard technical indicators focus on a single mathematical transformation, such as moving averages or simple momentum oscillators. The originality of this profiler lies in its multi-faceted approach, unifying advanced price action concepts that typically require multiple separate scripts. By leveraging Pine Script version 6 User-Defined Types (UDTs), the script maintains an incredibly lightweight footprint while calculating complex, interconnected market states without degrading chart performance.
● Algorithmic Session Tracking
The utility of the indicator is profoundly evident in its automated handling of time-based liquidity. Rather than manually drawing boxes around the Asian and London sessions, the script dynamically profiles these periods. It treats their boundaries not as mere historical artifacts, but as active, magnetic liquidity pools that drive future price action.
● Real-Time Bias Computation
This tool introduces a dynamic probability engine that continuously evaluates the likelihood of price sweeping the Previous Day High or Previous Day Low based on current opening momentum and accumulated volatility. This gives traders a statistical edge in determining their daily directional bias without relying on subjective chart patterns.
🔬 Methodology and Concepts
● Daily Range Profiling
At the core of the script's methodology is the Daily Profile engine. It systematically captures the Previous Day High, Previous Day Low, and Previous Day Close. These levels represent the absolute boundaries of yesterday's value area. The script calculates the total range of the previous day to establish a baseline for current-day expectations and statistical deviation limits.
● Session Liquidity Engineering
The script defines distinct macro-economic windows, specifically targeting the Asian and London trading sessions.
Asian Session Consolidation: Often characterized by tight ranges, the Asian session builds resting liquidity above its highs and below its lows. The algorithm tracks these exact price levels dynamically.
London Session Expansion: The script monitors the London open for initial expansion moves that frequently sweep the liquidity accumulated during the Asian session, triggering internal alerts when these specific thresholds are pierced.
● Fair Value Gap (FVG) Confluence
Market imbalances are identified through a precise Fair Value Gap detection algorithm. The script does not just highlight every random gap on the chart; it specifically looks for FVG formations that align with the directional bias and occur in proximity to session sweeps. This creates a high-probability confluence signal, indicating that the market is rapidly moving to rebalance price delivery.
● Advanced Volatility Metrics
Volatility is not measured through standard lagging indicators. Instead, the script utilizes an Average Daily Range (ADR) calculation. It dynamically tracks the percentage of the ADR that has been fulfilled during the current day. By calculating how many bars it typically takes to reach standard deviation milestones of the ADR, the script provides a predictive model for intraday exhaustion.
● Dynamic Bias Scoring Engine
The indicator calculates a running score to determine the daily bias. It awards positive and negative weights based on several factors: the location of the current price relative to the daily open, whether a session liquidity sweep has occurred, the presence of FVG confluences, and the proximity to the Previous Day's extremes. This score is translated into a probability percentage for sweeping either the high or the low.
🎨 Visual Guide
● Liquidity Zones and Range Boxes
Session Boxes: Distinct, shaded rectangular regions drawn over the chart to encapsulate the high and low bounds of the Asian and London sessions. These boxes visually isolate the accumulation phases.
Range Zone Boxes: Projected areas above and below the current price action representing high-probability reversal or expansion targets based on the ADR calculations.
● Structural Lines
Previous Day Boundaries: Solid, distinct horizontal lines marking the exact price levels of the Previous Day High and Previous Day Low.
Midlines: Subtler horizontal lines traversing the center of the calculated range zones to indicate equilibrium levels where price action may stall or pivot.
● Dynamic Labels and Alerts
Sweep Labels: Textual annotations that appear exactly when price pierces a session boundary or previous day extreme, explicitly confirming a liquidity sweep.
Bias State Text: A dedicated label displaying the current statistical bias, updating dynamically as volatility metrics shift throughout the trading day.
📖 How to Use
● Establishing Directional Bias
Begin your analysis by referencing the Bias State metric displayed on the chart. If the script calculates a high probability of sweeping the Previous Day High, prioritize bullish setups. Conversely, a high probability for the Previous Day Low dictates a bearish posture. Do not fight the algorithmic bias without significant contradicting evidence from higher timeframes.
● Executing the Sweep and Reverse
Monitor the Asian and London session boxes. A prime setup occurs when price aggressively breaks outside a session box and immediately faces strong rejection. This false breakout is the trigger for a mean-reversion trade targeting the opposite side of the session range. Look for the script's sweep labels to confirm the level has been compromised.
● Filtering with Volatility
Consult the Volatility Metrics before entering a trade. If the current daily range has already fulfilled a high percentage of the Average Daily Range (ADR), the probability of further directional expansion diminishes. In such cases, avoid breakout trades and look for exhaustion reversals at the projected Range Zone extremes.
● Utilizing FVG Confluence
When a sweep occurs, wait for the algorithm to highlight a valid Fair Value Gap in the opposite direction of the sweep. Enter the market on the retracement into this FVG, placing stop losses just beyond the sweep extreme for optimal risk-to-reward ratios.
⚙️ Inputs and Settings
● Time and Session Configuration
Asia Session Hours: Allows the user to precisely define the start and end times of the Asian session based on their specific exchange and timezone.
London Session Hours: Configurable inputs to match the precise opening and closing dynamics of the European market.
● Volatility Parameters
ADR Lookback Length: The historical window (number of days) used to calculate the Average Daily Range. A shorter lookback makes the indicator more responsive to recent volatility spikes, while a longer lookback provides a smoother, more stable expected range.
● Visual Toggles
Show Session Boxes: A boolean toggle to enable or disable the shaded background for trading sessions, allowing for a cleaner chart if only the boundary lines are desired.
Show Sweep Labels: Allows users to turn off the text annotations for liquidity sweeps to reduce visual clutter during highly volatile, choppy market conditions.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Auction Market Theory and Liquidity
The foundational logic of this script is deeply rooted in Auction Market Theory. Financial markets operate as a continuous dual-auction process, seeking areas of high liquidity to facilitate trade execution for large-scale participants. The script mathematically models this by isolating session highs and lows, recognizing them as high-density zones for stop-loss orders and breakout triggers.
● Statistical Variance and Range Forecasting
The Volatility Metrics engine relies on historical variance. By computing the Average Daily Range over a predefined dataset, the script applies a simplified standard deviation model to predict the expected boundaries of the current day. This creates a probabilistic bell curve of expected price distribution, where the extremes of the ADR represent the tails of the distribution curve, indicating areas of high mean-reversion probability.
● Microstructural Order Flow Imbalances
The Fair Value Gap (FVG) detection logic is an algorithmic representation of order flow imbalance. In academic market microstructure, when price moves with extreme velocity, it creates a void in the bid-ask spread where only one side of the market was effectively matched. The script mathematically identifies these structural inefficiencies, utilizing them as high-probability zones for future price retracements, as the market naturally seeks to re-auction these inefficiently traded areas.
● Probabilistic Modeling
The bias engine utilizes a rudimentary form of multi-factor linear weighting. By assigning specific values to isolated market events (e.g., crossing the open price, sweeping a specific session), the model computes a composite score. This deterministic approach strips away emotional trading by replacing it with a quantifiable metric that guides directional expectations.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

AlphaTrend Momentum Matrix [MarkitTick]💡 The AlphaTrend Momentum Matrix is an advanced, comprehensive trend-following architecture designed to dynamically track market momentum, manage dynamic trade states, and seamlessly bridge the gap between technical charting and automated execution. Far from a simple overlay, this script acts as a multi-layered analytical suite. It evaluates primary trend direction using volatility and volume-weighted money flow, filters out market noise with a custom state-matrix, and projects actionable higher-timeframe data onto the active chart. Furthermore, it incorporates an internal mathematical framework capable of dynamically calculating strict risk-to-reward targets and dispatching meticulously formatted JSON payloads for external webhook execution.
✨ Originality and Utility
● The Momentum Matrix Advantage
While traditional trend indicators rigidly lock onto moving averages or standard price bands, the AlphaTrend Momentum Matrix thrives on market dynamism. Its true utility lies in its multifaceted approach to trend validation. It introduces an exclusive "ATR Breakout Override" system—a custom logic module that forces a trend recalibration if an explosive price movement severely disrupts the standard deviation envelope, regardless of standard trailing conditions. This ensures the indicator remains highly responsive to sudden, high-impact market events without waiting for lagging conditions to catch up.
● Automated Payload and State Management
A standout feature of this tool is its embedded Trade State system. It does not merely paint a signal on the chart; it internalizes the exact entry price, computes a precise stop-loss based on the active AlphaTrend baseline, and mathematically projects a 1:2 risk-to-reward Take Profit target. This localized tracking seamlessly interfaces with the built-in Alert Engine, dynamically injecting these critical metrics into formatted JSON templates ready for third-party automated execution systems.
🔬 Methodology and Concepts
● AlphaTrend Core Engine
The primary directional engine relies on the interplay between the Average True Range (ATR) and the Money Flow Index (MFI). A trailing upper band (Support) and lower band (Resistance) are calculated using a user-defined ATR coefficient. The script interrogates the 14-period MFI; if the MFI reads above 50, indicating positive money flow momentum, the algorithm biases toward the Support band, updating it only when the price makes higher lows. Conversely, an MFI below 50 shifts the bias to the Resistance band.
● Breakout Override Protocol
To counteract the inherent lag of volume-weighted smoothing, the indicator employs a momentum breakout scanner. By measuring the absolute distance between the previous two closing prices and comparing it against the prior ATR multiplied by a sensitivity factor, the script can definitively detect volatility shocks. If a shock occurs concurrently with a directional price cross over the active AlphaTrend line, the system immediately forces a directional shift, bypassing the standard MFI requirements.
● Signal Filtering and Matrix Constraints
Raw signal crossovers are notoriously noisy during consolidation. To mitigate whipsaw trades, this script implements a continuous loop counter (the K and O matrices). It tracks the consecutive bars since the last primary buy or sell condition. A signal is only declared "valid" if it successfully breaks the historical sequence of the opposing trend counter, ensuring that localized micro-fluctuations do not trigger premature trade entries.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Volatility and the Average True Range
Developed by J. Welles Wilder Jr. in 1978, the Average True Range is a foundational pillar of this indicator. The ATR scientifically quantifies absolute market volatility by decomposing the entire range of an asset's periodic price action, factoring in gaps and limit moves. By applying a multiplier to the ATR, this script establishes a statistically significant standard deviation envelope, distinguishing between normal market "breathing" and definitive structural shifts.
● Volume-Weighted Momentum via Money Flow Index
The MFI, created by Gene Quigley and Colin Dysart, represents an evolution of the Relative Strength Index (RSI). From an academic standpoint, the MFI incorporates volume into its momentum calculation, producing a more robust metric of buying and selling pressure. It uses the Typical Price (High + Low + Close / 3) multiplied by volume to calculate raw money flow. The 50-level threshold serves as the equilibrium point; sustaining above this level empirically signifies net accumulation, providing the mathematical justification for the indicator's bullish bias.
● Algorithmic State Machines
The signal filtering mechanism and the internal Trade State tracker are practical applications of Finite State Machines (FSM) commonly used in quantitative algorithmic design. The script holds memory of its current operational state (Long, Short, Neutral) and refuses state transitions unless specifically validated mathematical conditions (boolean logic gates) are met, significantly reducing error rates inherent in purely reactive, memory-less indicators.
● Repainting and Lookahead Warning
This script utilizes the request component to pull Higher Timeframe (HTF) context into the primary chart. Crucially, it employs the barmerge.lookahead_on parameter. While this creates a visually perfect, non-lagging representation of higher timeframe trends when analyzing historical data, it introduces lookahead bias. Traders must understand that historical HTF visuals and signals may appear with perfect precision on past bars, but real-time execution will lack this future data context, potentially resulting in different localized behavior in live markets.
🎨 Visual Guide
● The AlphaTrend Trailing Line
Up Trend (Bullish): A bold, solid step-line tracking below the price, rendered in a distinctive golden-yellow (#F0D080).
Down Trend (Bearish): A bold, solid step-line tracking above the price, colored in a deep crimson (#7A2010).
● The Cloud Fill
Dynamic Channel: A semi-transparent shaded area connecting the active AlphaTrend line to a central Cloud Reference Line (a smoothing of the typical price). This cloud visually represents the buffer zone of the current trend.
Color Coding: The cloud dynamically changes color to match the dominant trend (Gold for bullish, Crimson for bearish), allowing for rapid peripheral analysis of market conditions.
● Price Action Overrides
Colored Candles: The bodies and wicks of the actual price candles are uniformly colored to reflect the AlphaTrend matrix state, instantly identifying periods of alignment or divergence.
● Execution Elements
Signal Labels: Distinct "BUY" and "SELL" textual shapes appear precisely on the chart at the moment the state matrix validates a trend shift.
HTF Stepline: When enabled, a secondary, smoothed step-line appears to show the overarching macro trend, colored accordingly to dictate the broader market regime.
📖 How to Use
● Trend Riding and Context
The most effective way to utilize this tool is to align the primary chart timeframe with the HTF AlphaTrend line. If the HTF line is Gold, you should strictly look for "BUY" signals generated by the primary indicator to trade in the direction of the macro trend, ignoring temporary bearish signals as minor pullbacks.
● Momentum Breakout Confirmation
When you observe a sudden color change accompanied by an unusually large price bar, this is often the Breakout Override triggering. These scenarios represent high-momentum events. Instead of waiting for a retest, aggressive traders may use these specific signals to capture immediate volatility expansions, placing their stop-loss strictly on the opposite side of the newly formed AlphaTrend line.
● Automating Your Strategy
For quantitative traders, the indicator handles the heavy lifting of trade logic. Ensure you configure the exact JSON payload strings required by your third-party execution platform (like 3Commas, PineConnector, etc.) in the settings. The indicator will autonomously calculate your risk/reward parameters upon every valid signal and fire a perfectly formatted JSON alert.
⚙️ Inputs and Settings
• ⚙️ Core Calculations
ATR Multiplier: Defines the sensitivity of the trailing line. Lower values (e.g., 0.5) track price closely for scalping; higher values (e.g., 2.0) provide wide breathing room for swing trades.
ATR & MFI Lookback Period: The standard window (default 14) for calculating both volatility and volume momentum.
Display Signals: Toggles the visibility of the "BUY" and "SELL" chart labels.
• 🛡️ Breakout Override
Enable ATR Breakout Override: Turns the momentum-shock detection system on or off.
Breakout Sensitivity: Determines how large a price jump must be (relative to the ATR) to force a trend change. Lower values trigger more aggressively.
• 🕐 Higher Timeframe
Show HTF AlphaTrend: Projects the higher timeframe data onto the current chart.
HTF Timeframe: The specific macro timeframe to monitor (e.g., Daily "D" when trading on the 1-Hour chart).
• ☁️ Cloud Fill
Show Cloud Fill: Toggles the visual buffer zone on the chart.
Cloud Reference Length: Adjusts the smoothing period of the central reference line.
Color Candles: Enables or disables the overriding of standard chart candle colors based on trend direction.
• 🔌 Webhook Execution Config
Payload Actions: Four distinct text fields where you can define the exact syntax your external bot requires for entering longs, entering shorts, closing longs, and closing shorts. These values are automatically injected into the dynamic JSON alert string.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Elaris Volume Intelligence ProElaris Volume Intelligence Pro is a professional-grade volume analysis and smart money intelligence indicator designed to help traders understand market participation, hidden pressure, and potential reversal activity in real time.
Instead of displaying raw volume alone, Elaris Volume Intelligence Pro transforms market volume into actionable intelligence by combining relative volume analysis, volume delta estimation, CVD (Cumulative Volume Delta), absorption detection, climax activity, and smart flow momentum into a single clean and trader-friendly system.
The indicator is built for discretionary traders, scalpers, intraday traders, swing traders, and crypto traders who want deeper insight into market behavior beyond standard candles.
━━━━━━━━━━━━━━━━━━
FEATURES
━━━━━━━━━━━━━━━━━━
• Smart Volume Columns
Dynamically colored volume bars help identify bullish pressure, bearish pressure, climax activity, and absorption zones instantly.
• Relative Volume & Z-Score Engine
Detects abnormal market participation using relative volume and statistical volume expansion analysis.
• Volume Flow Momentum
A smoothed institutional-style flow model that helps traders identify whether aggressive buying or selling pressure is dominating the market.
• Bullish & Bearish Climax Detection
Highlights potential exhaustion candles during extreme participation and volatility conditions.
• Demand & Supply Absorption Detection
Detects high-volume compression behavior that may indicate hidden accumulation or distribution by larger participants.
• Volume & CVD Divergence Signals
Identifies possible reversal conditions when price action and cumulative volume behavior diverge.
• Smart Market State Dashboard
A clean built-in intelligence panel provides:
* Market bias
* Smart score
* Relative volume strength
* Volume Z-score
* Delta pressure
* Active signal state
• Dark Mode Optimized UI
Professionally designed visuals optimized for both dark and light PulseWire themes.
• Fully Configurable
All thresholds, smoothing values, divergence sensitivity, and visual layers can be customized for different trading styles and markets.
━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━
• Strong Bullish Conditions
Look for:
* Bullish volume climax
* Positive flow momentum
* Increasing relative volume
* Bullish divergences
* Demand absorption
• Strong Bearish Conditions
Look for:
* Bearish climax candles
* Negative flow momentum
* High sell-side pressure
* Bearish divergences
* Supply absorption
• Best Use Cases
* Crypto futures trading
* Intraday momentum trading
* Breakout confirmation
* Reversal detection
* Smart money analysis
* Volume-based confluence systems
━━━━━━━━━━━━━━━━━━
ALERTS INCLUDED
━━━━━━━━━━━━━━━━━━
The indicator includes built-in alerts for:
* Bullish/Bearish Volume Climax
* Demand/Supply Absorption
* Bullish/Bearish Divergence
* Bullish/Bearish Pressure States
━━━━━━━━━━━━━━━━━━
IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━
• This indicator does not use repainting logic.
• Signals are generated using confirmed candle data.
• Works best on liquid markets with reliable volume data.
• Designed for confirmation and confluence, not standalone financial advice.
Built by Elaris Group.
Financial intelligence for modern markets.
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 PulseWire 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

Indicator

Indicator

Smart Money Displacement Ladder [AGPro Series]Smart Money Displacement Ladder
🧠 Core Idea
Is displacement strong, clean, and sustained enough to shift market context?
📌 Overview / What it does
Smart Money Displacement Ladder is a rule-based market-structure and price-action visualization tool designed to study strong directional displacement candles.
The script identifies clean bullish or bearish displacement, maps the imbalance shelf created by the candle, tracks ladder-style follow-through, and highlights whether the displacement is being sustained or failing.
It does not predict price direction, automate trades, or guarantee that displacement will continue. It is a structured decision-support map for displacement quality, imbalance shelf behavior, ladder continuation, and failure context.
🎯 Purpose & Design Philosophy
Many smart-money or imbalance tools mark a gap, a candle, or a generic continuation zone.
This script was built to answer a more complete question:
Did displacement actually change context, and is the market defending that displacement?
The design goal is to help traders read displacement as a progression: clean candle, shelf defense, ladder step, sustained pressure, or failure.
⚡ Why This Script Is Different
Most tools focus on single displacement candles, fair value gaps, or basic momentum signals.
This script does NOT treat every large candle as meaningful displacement.
Instead, it checks candle body, range, close location, optional volume participation, shelf defense, and ladder continuation. The focus is displacement quality and progression rather than simple candle marking.
⚙️ Methodology
1. Candle Quality Detection
The script evaluates candle body size, full range, and close strength relative to ATR.
2. Displacement Validation
A candle must satisfy directional and quality thresholds before it becomes the active displacement anchor.
3. Imbalance Shelf Mapping
After displacement forms, the script projects an imbalance shelf from the displacement candle.
4. Ladder Evaluation
Price extension beyond the active ladder level increases the ladder step count and strengthens the continuation context.
5. Visual Output
The chart displays the displacement box, imbalance shelf, ladder rails, centered shelf label, event labels, right-side tags, alerts, and a compact AG Pro decision panel.
🗺️ How to Read the Chart
Displacement Box = the active candle range that created the displacement anchor.
Imbalance Shelf = the projected shelf that should ideally remain defended after displacement.
Ladder Rail = the active extension level used to track follow-through.
Centered Shelf Label = the main visual anchor inside the active imbalance shelf.
Right-Side Tags = current displacement state, quality score, and shelf reference.
Event Labels = clean displacement, ladder continuation, or displacement failure labels.
Panel = summarizes displacement state, direction, quality score, ladder steps, shelf range, next context, and timeframe.
🚦 Signals & States
• CLEAN DISPLACEMENT → a directional candle meets displacement quality rules.
• FOLLOW-THROUGH → price extends beyond the active ladder level after displacement.
• LADDER STEP → a new continuation step is formed.
• SUSTAINED DISPLACEMENT → multiple ladder steps are active after the displacement anchor.
• DISPLACEMENT FAIL → price loses the imbalance shelf during the failure window.
• WAIT DISPLACEMENT → no valid displacement anchor is active yet.
🔔 Alerts Logic
Alerts trigger when a major displacement state appears.
• Clean Displacement → a clean directional displacement candle has formed.
• Displacement Ladder Continuation → price extended the active displacement ladder.
• Displacement Failure → price lost the active imbalance shelf after displacement.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• Candle body is large relative to ATR
• Candle range expands cleanly
• Close location is strong in the displacement direction
• Relative volume supports participation
• The imbalance shelf remains defended
• Price forms additional ladder steps
• The panel state agrees with chart labels
If these elements do not align, the script avoids forcing a displacement continuation interpretation.
📊 When to Use
• Smart-money displacement studies
• Market-structure shift review
• Momentum expansion analysis
• Imbalance shelf tracking
• Trend continuation context
• Crypto, forex, stocks, and index markets
• 1H, 4H, and daily charts
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy markets with unreliable candle structure
• News spikes where displacement quality may be distorted
• Ultra-low timeframes with excessive wick noise
• Markets where large candles repeatedly fail without structure
• Situations where displacement should not be interpreted without broader context
🎛️ Key Inputs
• ATR Length → normalizes displacement size, shelf depth, and label spacing.
• Minimum Body ATR → controls how large the candle body must be before displacement qualifies.
• Minimum Range ATR → controls how much total candle expansion is required.
• Close Strength Threshold → controls how strong the candle close must be inside the range.
• Use Volume Confirmation → adds relative volume to quality scoring.
• Shelf Failure Window → controls how long shelf failure remains relevant after displacement.
• Imbalance Shelf ATR → controls shelf thickness.
• Projection Bars → controls how far shelves, rails, and tags project.
• Label Font Size → controls chart label and tag text size.
• Panel Font Size → controls panel text size.
🖥️ Interface & Visual Design
The visual hierarchy is built around the displacement progression.
The displacement box marks the anchor candle.
The shelf shows where displacement should ideally remain defended.
The ladder rail shows whether price is extending.
The centered badge keeps the active shelf readable at first glance.
The AG Pro panel summarizes the current displacement state without requiring the user to inspect every candle manually.
🧪 Practical Usage Workflow
1. Wait for a clean displacement candle.
2. Check the imbalance shelf created by that candle.
3. Watch whether price defends or loses the shelf.
4. Look for ladder steps after shelf defense.
5. Use the panel to confirm direction, quality, ladder count, and next context.
6. Interpret the output inside broader trend, liquidity, volatility, and structure context.
🔍 Interpretation Guidelines
Clean displacement does not guarantee continuation. It means the candle met the script's displacement quality rules.
A defended shelf does not guarantee trend expansion. It means price has not invalidated the displacement shelf during the active window.
A ladder step does not guarantee follow-through. It means price extended the active ladder reference.
A displacement failure is a structural warning, not a trading command.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a simple fair value gap marker.
It is not a full smart-money concept trading system.
⚠️ Limitations & Transparency
Displacement quality depends on ATR and candle structure.
Timeframe differences can change displacement visibility.
High volatility can create large candles that fail quickly.
Low-liquidity markets may create misleading candle expansion.
Shelf behavior should be interpreted within broader market structure.
The script is designed for structured interpretation, not certainty.
🧠 Market Context Notes
Displacement often matters most when it appears near important structure, after liquidity events, or during momentum expansion.
The same displacement candle can mean different things in a strong trend, a range, a liquidity sweep, or a news shock.
The script should be read together with volume, volatility, liquidity, and higher-timeframe context.
🧾 Use Case Examples
• If a bullish displacement candle forms and the shelf remains defended, the ladder may show follow-through context.
• If a bearish displacement candle forms and price quickly reclaims the shelf, the map may show displacement failure.
• If multiple ladder steps form after displacement, the script may classify the move as sustained displacement.
🧱 System Philosophy
Smart Money Displacement Ladder is part of the AGPro Series approach to decision-support tools:
clear structure, premium chart readability, honest interpretation, and no promise of certainty.
The goal is to help traders see whether displacement is being defended and extended, without turning every strong candle into a forced signal.
🔐 Non-Promise Statement
No script can know the future.
No displacement candle guarantees continuation.
No signal should be interpreted without broader market context.
📉 Risk Disclosure
Trading involves risk.
Markets can move unpredictably.
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions.
📚 Educational Note
Use this script to study how displacement develops after a strong candle.
The value is not only in the displacement label. The value is in learning whether the market defends the shelf, extends through ladder steps, or rejects the displacement context.
Indicator

Liquidity Timeframe Stack Map [AGPro Series]Liquidity Timeframe Stack Map
🧠 Core Idea
Are lower-timeframe liquidity sweeps aligned with the higher-timeframe liquidity shelf, or are they fighting the broader structure?
📌 Overview / What it does
Liquidity Timeframe Stack Map is a multi-timeframe liquidity context tool built to compare current-chart sweep behavior with higher-timeframe liquidity shelves.
The script maps the latest confirmed higher-timeframe upper and lower liquidity shelves, detects local buy-side and sell-side sweeps, evaluates wick-based reaction quality, and converts the result into a readable stack state.
It does not predict price direction, automate trades, or claim that every sweep will create a reversal. It is designed as a structured market context and visualization tool.
🎯 Purpose & Design Philosophy
This script was built to solve a common liquidity-reading problem:
A lower-timeframe sweep can look important by itself, but its meaning changes when it happens near a higher-timeframe shelf.
The goal is to help traders separate aligned liquidity reactions from isolated local noise. The script supports a context-first mindset: read the shelf, read the sweep, then judge whether the reaction is aligned or conflicting.
⚡ Why This Script Is Different
Most liquidity tools focus on detecting a sweep, stop run, equal high, or equal low.
This script does NOT treat every sweep as equally important.
Instead, it compares the local sweep against a higher-timeframe liquidity framework and classifies whether the move is a stack alignment, a stack conflict, or a neutral shelf interaction.
⚙️ Methodology
1. Higher-Timeframe Shelf Detection
The script reads confirmed pivot structure from the selected higher timeframe and builds active upper and lower liquidity shelf zones.
2. Local Sweep Detection
The chart timeframe is used as the lower-timeframe layer. Local buy-side and sell-side sweeps are detected when price takes a recent pivot level and closes back through it.
3. Reaction Evaluation
The script evaluates wick reaction quality after the sweep. Stronger wick rejection or reclaim behavior produces a higher reaction quality score.
4. Stack Classification
The script checks whether the local sweep occurred near the relevant higher-timeframe shelf. If the sweep and shelf context align, the script marks an HTF Buy Stack or HTF Sell Stack. If the sweep fights the broader shelf context, it marks a Stack Conflict.
5. Visual Output
The result is displayed through HTF shelf zones, sweep markers, stack labels, right-side tags, alerts, and a compact AG Pro panel.
🗺️ How to Read the Chart
Upper HTF Liquidity Shelf = the active higher-timeframe upper liquidity reference.
Lower HTF Liquidity Shelf = the active higher-timeframe lower liquidity reference.
Buy-Side Sweep marker = price swept a local upper liquidity reference and closed back below it.
Sell-Side Sweep marker = price swept a local lower liquidity reference and closed back above it.
HTF Buy Stack label = a sell-side sweep reacted near the lower HTF shelf with enough reaction quality.
HTF Sell Stack label = a buy-side sweep reacted near the upper HTF shelf with enough reaction quality.
Stack Conflict label = the local sweep behavior is not cleanly aligned with the broader HTF shelf context.
Panel = summarizes stack state, stack score, HTF shelves, LTF sweep state, reaction quality, next context, and invalidation reference.
🚦 Signals & States
• HTF BUY STACK → sell-side liquidity was swept near the lower higher-timeframe shelf with a qualifying reaction.
• HTF SELL STACK → buy-side liquidity was swept near the upper higher-timeframe shelf with a qualifying reaction.
• STACK CONFLICT → local sweep behavior is fighting or confusing the broader shelf context.
• LOWER SHELF → price is interacting with the lower HTF shelf area, but no full stack event is active.
• UPPER SHELF → price is interacting with the upper HTF shelf area, but no full stack event is active.
• NEUTRAL → no active shelf alignment or conflict is detected.
🔔 Alerts Logic
Alerts trigger when a new major stack condition appears.
• HTF Buy Stack Alignment → a sell-side sweep aligns with the lower higher-timeframe liquidity shelf.
• HTF Sell Stack Alignment → a buy-side sweep aligns with the upper higher-timeframe liquidity shelf.
• Liquidity Stack Conflict → the local sweep direction conflicts with the broader higher-timeframe shelf context.
• HTF Liquidity Shelf Touch → price enters either active higher-timeframe shelf zone.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when these elements align:
• Price is near an active higher-timeframe shelf
• Local liquidity is swept
• The candle closes back through the swept level
• Wick reaction quality is strong
• The panel state and chart label agree
When these elements do not align, the script treats the context as neutral or conflicting instead of forcing a directional interpretation.
📊 When to Use
• Multi-timeframe liquidity analysis
• Swing and intraday market preparation
• Smart-money-style structure review
• Sweep and reclaim evaluation
• Context checks before interpreting local reactions
• Markets where higher-timeframe levels matter
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy lower timeframes
• Markets with unreliable wick structure
• Situations where the selected higher timeframe is not meaningful
• Assets with large gaps or inconsistent session data
• Moments when a single local candle should not be over-interpreted
🎛️ Key Inputs
• Higher Timeframe Shelf → selects the timeframe used to build the broad liquidity shelves.
• HTF Shelf Pivot Length → controls how strict the higher-timeframe shelf structure is.
• LTF Sweep Pivot Length → controls how local sweep references are detected.
• Shelf Zone Width ATR → adjusts the visual thickness of HTF shelf zones.
• Max Shelf Width % Range → caps shelf thickness relative to the distance between the upper and lower HTF shelves, keeping the visual structure clean on wide timeframes.
• Near Shelf Distance ATR → controls how close a sweep must be to a shelf to count as aligned.
• Reaction Quality Threshold → sets the minimum wick reaction required for a strong stack event.
• Stack Score Smoothing → smooths the panel score for cleaner interpretation.
• Visual settings → control shelves, equilibrium line, sweep markers, event labels, right-side tags, and font sizes.
• Show Sweep Marker Letters → adds optional BS / SS text to local sweep markers. The default publication view keeps this disabled for a cleaner chart.
• Event Label Mode → Premium labels only strong HTF stack alignments. Detailed also labels stack conflicts.
• Adaptive Label Layout → automatically shortens and separates shelf labels when higher timeframes compress the HTF shelf cluster.
• Event Label Offset ATR → moves stack event labels farther from candles and shelf-center labels. HTF Sell Stack labels are pushed above the upper shelf zone, while HTF Buy Stack labels are pushed below the lower shelf zone to reduce overlap on publication screenshots.
• Right-side tags use adaptive positioning so the STACK tag avoids crowding the HTF UPPER and HTF LOWER tags when price is near a shelf.
🖥️ Interface & Visual Design
The interface is built around a clear visual hierarchy:
HTF shelves show the broader liquidity map.
Sweep markers show local liquidity events.
Stack labels show important alignment or conflict moments.
The AG Pro panel compresses the current state into a fast, readable decision-support summary.
🧪 Practical Usage Workflow
1. Start with the panel state.
2. Check where price is relative to the HTF upper and lower shelves.
3. Look for a recent buy-side or sell-side sweep marker.
4. Read the event label only if the sweep happened near the relevant shelf.
5. Use Reaction Q and Stack Score to judge whether the context is clean or weak.
6. Interpret the result inside the broader market structure.
🔍 Interpretation Guidelines
HTF Buy Stack does not mean price must go up. It means a sell-side sweep reacted near a lower higher-timeframe shelf with enough quality to deserve attention.
HTF Sell Stack does not mean price must go down. It means a buy-side sweep reacted near an upper higher-timeframe shelf with enough quality to deserve attention.
Stack Conflict is often more useful as a warning than as a signal. It tells the trader that the local sweep and broader shelf context are not cleanly aligned.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It does not claim that every liquidity sweep will reverse.
⚠️ Limitations & Transparency
Higher-timeframe pivot shelves are confirmed after structure develops, so they are not instant future levels.
Different chart timeframes may create different local sweep readings.
Very volatile markets may generate fast shelf touches without clean reactions.
Low-liquidity symbols may produce misleading wick behavior.
The selected higher timeframe should match the trader’s actual analysis horizon.
🧠 Market Context Notes
Liquidity analysis is strongest when local behavior is interpreted inside a broader structure.
A sweep near a meaningful higher-timeframe shelf can carry more information than a random sweep in the middle of a range.
This script is designed to make that distinction visible.
🧾 Use Case Examples
When price sweeps local sell-side liquidity near the lower HTF shelf and closes back above the swept level, the script may mark HTF BUY STACK if reaction quality is strong enough.
When price sweeps local buy-side liquidity near the upper HTF shelf and closes back below the swept level, the script may mark HTF SELL STACK if reaction quality is strong enough.
When a local sweep appears away from the relevant higher-timeframe shelf, the script may classify the move as neutral or conflicting.
🧱 System Philosophy
The script follows a context-first AGPro approach:
Structure first.
Liquidity second.
Reaction third.
Decision support last.
It is designed to reduce isolated signal thinking and encourage multi-timeframe interpretation.
🔐 Non-Promise Statement
No script can guarantee outcomes.
No shelf, sweep, score, or label should be treated as certainty.
The output should always be combined with broader market context and personal risk rules.
📉 Risk Disclosure
Trading involves risk.
Markets can move against any interpretation.
This script is for educational and analytical purposes only.
Users are fully responsible for their own decisions.
📚 Educational Note
Use this script to study how lower-timeframe liquidity behavior changes when it is read against higher-timeframe structure.
Indicator

Smart Money Liquidity Detector [PickMyTrade]Smart Money Liquidity Detector
This indicator measures market microstructure — the structural signals that institutional activity leaves behind in price and volume data. It combines four academically grounded models into a single Microstructure Stress Score (MSS) ranging from 0 to 100.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODELS USED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
► Roll (1984)
Synthetic bid-ask spread estimated from the serial covariance of price changes. High Roll spread indicates wider market-maker quotes — historically associated with periods of elevated volatility.
► Corwin-Schultz (2012)
High-low range spread estimator. Uses the relationship between single-period and two-period high-low ranges to back out the effective spread without requiring tick data.
► Amihud (2002)
Illiquidity ratio measuring price move per unit of volume. High Amihud values mean large price impact per dollar traded — a sign of thin order books.
► Kyle Lambda (1985)
Price impact of signed order flow. Derived from the regression of price changes on volume direction. Estimates how aggressively informed participants are moving the market.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MICROSTRUCTURE STRESS SCORE (MSS)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each model is z-scored over a rolling window, normalised to , then averaged and scaled to 0–100.
MSS = (Roll + Corwin-Schultz + Amihud + Kyle Lambda) / 4 × 100
- MSS > 70 → High stress. Spreads wide, illiquidity elevated, price impact high. Consistent with institutional order flow.
- MSS 30–70 → Normal range. No structural signal.
- MSS < 30 → Low stress. Tight spreads, liquid conditions, quiet tape.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ANOMALY DETECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Any individual model z-score crossing ±2σ triggers an anomaly flag. Anomaly bars are highlighted in orange on the chart. Roll and Corwin-Schultz anomalies are marked with coloured circles directly on the MSS line.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INPUTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Spread window (default 20) — lookback for Roll and Corwin-Schultz estimation
- Z-score window (default 60) — rolling window for z-scoring all models
- Impact window (default 20) — lookback for Amihud and Kyle Lambda
- MSS normalise window (default 100) — window for normalisation before scoring
- Toggle each model's z-score plot individually
- Highlight anomaly bars on/off
- Info table on/off
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Top-right table displays live values and z-scores for all four models, the current MSS reading, and anomaly status on the last closed bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Works on any liquid instrument and any timeframe. Most effective on futures, forex, and equity indices where volume data is reliable.
- This indicator does not generate buy or sell signals. It is a market structure diagnostic tool.
- Powered by PickMyTradeLib — PickMyTrade's open quantitative library.
This script is published for educational and informational purposes only. It does not constitute financial advice. Use at your own risk. Past microstructure behaviour does not guarantee future price outcomes.
Indicator

Order Block Detector [SMC ChartSense]# SMC ChartSense — Order Block Detector
**Order block detection with mandatory FVG (Fair Value Gap) confirmation.** Each zone marked must have a 3-bar FVG at the anchor candle — institutional displacement that left a literal gap in price. Most basic OB scripts flag every breakout candle as an order block; this script filters to only the zones that came with displacement footprint, producing a cleaner chart with fewer but more meaningful zones.
## How it works
The script tracks swing pivots at a configurable length and waits for a confirmed break — a candle that closes beyond the prior swing high or low. When a break occurs, it searches back through the recent bars to identify the deepest counter-direction candle (lowest low for a bullish OB, highest high for a bearish OB). This becomes the OB anchor.
The anchor is then validated against the FVG requirement: there must be a 3-bar gap at the anchor index (bar A high below bar C low for bullish, bar A low above bar C high for bearish). No FVG, no OB. This is the central quality filter.
Validated zones extend forward from the anchor and remain active until invalidated — either when price closes through the zone or when the wick touches the far side, depending on user preference.
## Features
- FVG validation gate at the anchor candle (3-bar gap requirement)
- Configurable swing pivot length for structural sensitivity
- User-tunable OB anchor lookback (5–100 bars)
- Wick-based or body-based zone definition
- Configurable mitigation trigger: Close-through or Wick-touch
- Auto-pruning of oldest OBs when active count exceeds limit
- Optional faded display of mitigated zones for historical study
- Built on Pine v6 with clean, maintainable architecture
## Inputs
**Structure Detection**
- *Swing Pivot Length* — Higher values produce fewer, more significant pivots. Lower values produce more frequent pivots of smaller structural significance. Default: 5.
**Quality Filters**
- *OB Anchor Lookback Bars* — How far back from a confirmed pivot break to search for the OB anchor candle. Default 30 covers most timeframes; reduce for scalping, increase for higher TFs.
- *Anchor OB to Wick (vs Body)* — Wick mode uses the full candle range. Body mode uses open/close only (tighter zones).
- *Mitigation Trigger* — Close mode invalidates when a candle closes through the zone. Wick mode invalidates on first wick touch.
**Visualization**
- Bull/Bear OB colors (customizable)
- Max OBs Per Side (caps active display, oldest auto-pruned)
- Show OB Labels (off by default — boxes alone are usually sufficient)
- Show Midline (50% level inside each OB, dotted)
- Keep Mitigated OBs Visible (faded gray boxes remain for historical reference)
## Built-in alerts
- New Bull OB formed
- New Bear OB formed
- Bull OB touched (price entered zone)
- Bear OB touched (price entered zone)
## Suggested use
Best on liquid intraday markets — major forex pairs, crypto perps, index futures, large-cap equities — at timeframes from 5m to 4h. Default settings are tuned for 15m–1h ranges; adjust Swing Pivot Length down to 3 for scalping or up to 8–10 for higher-TF trend trading.
Use this as a context tool. The zones identify where institutional displacement occurred — actual entries should incorporate your own analysis: HTF bias, structural alignment with current market regime, risk-reward planning, and confirmation from other tools.
## Part of the SMC ChartSense suite
One of several focused SMC tools. Designed to work alongside other SMC ChartSense scripts for a coherent analytical workflow across the SMC vocabulary.
## Disclaimer
This is a technical analysis tool. It does not provide investment advice or trade recommendations. The author is not a SEBI-registered Research Analyst. Use at your own risk; do your own due diligence. Indicator

ICT SMC Liquidity Grabs and OTE ZonesICT SMC Liquidity Grabs and OTE Zones
This indicator combines three core ICT Smart Money Concepts into one clean confluence tool: liquidity sweeps (grabs), Order Blocks formed on strong reversal candles, and Optimal Trade Entry (OTE) Fibonacci zones at 61.8% and 78.6%.
How it works:
- Detects liquidity grabs by checking if price sweeps the highest high or lowest low over a user-defined lookback and closes back inside.
- After a grab, it marks the Order Block only on strong candles (body > 30% of range).
- Dynamic Fibonacci levels are drawn from the most recent confirmed pivot swing high/low.
- Buy/sell entries trigger only when a liquidity grab + strong candle + price inside the OTE zone align.
- Optional stop-loss lines and exact SL levels are shown on signals for immediate risk visibility.
- Take-profit targets: TP1 at previous swing extreme, TP2 at 1.5x risk (adjustable).
Key customizations (all exposed in inputs):
- Liquidity lookback period
- Pivot strength (left/right bars) — tune for different timeframes
- Order Block box length
- TP2 multiplier and SL distance multiplier
- Full color control for every element
- Toggle visibility of grabs, blocks, Fib lines, entries, and SL
Best used on NQ and ES futures, 5-minute and 15-minute charts during NY session. Works best in ranging or mildly trending markets where liquidity sweeps are respected.
How to use:
1. Wait for LG-L + bullish candle inside buy OTE zone → long
2. SL below the OTE zone (shown automatically)
3. TP1 = previous swing high, TP2 = 1.5R
4. Reverse for shorts on LG-H
Important warnings:
- Pivot-based Fib levels only confirm after the right-side bars complete (standard repainting until confirmation — normal for all pivot indicators).
- In strong trending markets, grabs can fail more often. Reduce position size or add your own higher-timeframe filter.
- This is a confluence tool, not a standalone strategy. Always apply proper risk management (risk 0.5-1% per trade max).
- No backtest claims are made. Past performance on any chart does not guarantee future results.
All inputs are grouped logically. Default settings are optimized for NQ 5m. Test on your preferred symbol and timeframe before live use.
Open source. No invite-only or paid versions.
This is a confluence tool, not a magic arrow. You only take trades when all three things line up:
Liquidity Grab (orange LG label)
Order Block (colored box)
Price inside OTE Fib zone + strong candle
Visual Legend (what you see on the chart)
ElementColorMeaningWhat to DoLG-HOrangeLiquidity Grab High (sweep of highs)Look for short setupLG-LOrangeLiquidity Grab Low (sweep of lows)Look for long setupRed BoxRedBearish Order Block (after LG-H)Potential short zoneGreen BoxGreenBullish Order Block (after LG-L)Potential long zoneGreen LinesGreenBuy OTE zone (61.8% – 78.6% from swing low)Long entry areaRed LinesRedSell OTE zone (61.8% – 78.6% from swing high)Short entry areaRed SL LineRedStop Loss (appears only on valid entry)Your risk level
Step-by-Step How to Trade (Using Your Screenshot)
Step 1: Find a Liquidity Grab
Look for the orange LG-H or LG-L labels.
In your chart you can see many — especially on the left and middle sections.
Step 2: Wait for the Order Block
After the LG, check if a colored box appears:
LG-H + red box = bearish OB (institutional selling zone)
LG-L + green box = bullish OB (institutional buying zone)
Step 3: Check if price is in the OTE Zone
For longs: Price must be between the two green Fib lines
For shorts: Price must be between the two red Fib lines
Step 4: Confirm with candle + take the trade
Only enter when you also get a strong candle (big body) in the direction of the grab.
Indicator

Liquidity Reclaim Planner [AGPro Series]Liquidity Reclaim Planner
🧠 Core Idea
After a liquidity event, is the reclaim strong enough to matter, or is the move still fragile?
📌 Overview / What it does
Liquidity Reclaim Planner is a chart-first liquidity planning tool designed to evaluate what happens after price sweeps a recent swing liquidity reference.
Instead of treating every liquidity sweep as a finished signal, the script starts a structured reclaim workflow. It maps the liquidity event, the reclaim pocket, the failure line, the target-room corridor, a 0-100 reclaim score, failure risk, and a clear next-action state.
The script does not predict price direction, automate execution, or claim that a reclaim will continue. It organizes post-event liquidity context so traders can review whether the reclaim has enough quality, timing, participation, and room to deserve attention.
🎯 Purpose & Design Philosophy
This script was built for traders who want more than another sweep marker.
Many liquidity tools identify where a stop run, wick raid, or sweep happened. That is useful, but the harder question comes after the event: did price reclaim the level cleanly, is the failure point clear, and is there enough structure room for the idea to remain practical?
Liquidity Reclaim Planner supports a decision-engine mindset. It helps users move from raw event detection toward structured review: event, reclaim, failure risk, target room, and next action.
⚡ Why This Script Is Different
Most tools focus on detecting liquidity sweeps, equal highs, equal lows, or stop-hunt style wick events.
This script does NOT try to become a broad liquidity sweep scanner, an EQH/EQL engine, an order block map, a structural breakout reclaim planner, or a generic support/resistance zone tool.
Instead, it focuses on the post-event reclaim decision. It asks whether the sweep was reclaimed with enough depth balance, close strength, timing, volume response, and structural room to become a useful planning context.
⚙️ Methodology
1. Context Detection
The engine tracks confirmed swing highs and swing lows as active buy-side and sell-side liquidity references.
2. Reference Mapping
When price moves through a fresh liquidity reference by an ATR-normalized amount, the script registers a liquidity event and starts a reclaim plan.
3. Reaction Evaluation
The reclaim score evaluates sweep depth, reclaim close strength, time to reclaim, relative volume response, and room to the next structure reference.
4. Visual Output
The script draws the reclaim pocket, failure line, target-room corridor, event labels, sparse context labels, and the AG Pro decision panel.
🗺️ How to Read the Chart
Zones = the reclaim pocket between the swept liquidity level and the event extreme, plus an optional target-room corridor toward the next structural reference.
Labels = liquidity event, reclaim ready, room thin, failure line, and sparse context states.
Colors = bullish reclaim planning uses AGPro teal, bearish reclaim planning uses AGPro pink, neutral review uses gold, and risk/failure context uses red.
Panel = the panel shows Liquidity Event, Reclaim Score, Failure Risk, Room, and Action.
🚦 Signals & States
• Sell-side Event → price swept a recent swing low and a bullish reclaim plan is being evaluated.
• Buy-side Event → price swept a recent swing high and a bearish reclaim plan is being evaluated.
• Reclaim Watch → price has not yet reclaimed strongly enough, but context is active.
• Planner Ready → reclaim score and target room are strong enough for structured review.
• Risk Review → reclaim exists, but the quality profile is not yet clean.
• Room Thin → reclaim exists, but the next structural room is limited.
• Failure Hit → price crossed the active failure line and the reclaim plan needs reassessment.
🔔 Alerts Logic
Alerts trigger when a sell-side or buy-side liquidity event appears, when a reclaim becomes ready, when the planner reaches Planner Ready state, when target room becomes thin, or when the failure line is crossed.
Alerts are attention markers. They are not trade instructions, entry commands, or automated strategy signals.
🧩 Confluence Logic
The strongest context usually appears when sweep depth is balanced, reclaim happens quickly, the reclaim close is decisive, relative volume supports the reaction, and the target-room corridor is not compressed.
When these elements align, the reclaim score improves and the panel action becomes more useful for structured review.
📊 When to Use
• Liquidity-driven markets where swing highs and swing lows are actively swept.
• Intraday or swing charts where reclaim behavior after stop runs matters.
• 4H charts when the trader wants a balanced view between visible liquidity events and readable planning zones.
• Post-sweep review workflows.
• Situations where the trader needs a clear failure line and room assessment.
⚠️ When NOT to Use
• Extremely low-liquidity symbols where swing references are unreliable.
• Highly chaotic news candles where reclaim behavior is distorted by abnormal volatility.
• Very compressed chop where every small swing becomes noise.
• Markets where volume data is missing or not meaningful, unless volume weighting is interpreted carefully.
🎛️ Key Inputs
• Liquidity Pivot Strength → controls how swing liquidity references are confirmed.
• Max Liquidity Level Age → controls how long a swing reference remains eligible.
• Sensitivity → adjusts how selective liquidity event and reclaim thresholds are.
• Timely Reclaim Window → defines how many bars after the event can still count as timely reclaim.
• Planner Ready Score → controls the 0-100 score threshold for the main ready state.
• Minimum Target Room ATR → controls how much structure room is required before room is considered acceptable.
• Visual settings → control reclaim pockets, failure lines, target-room corridors, labels, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a clean AG Pro panel and compact chart visuals.
The first panel row is a merged blue AGPro header. The remaining rows show the active liquidity event, reclaim score, failure risk, target room, and next action.
The chart uses a limited number of zones and labels so the active plan is visible without turning the chart into a crowded liquidity map.
🧪 Practical Usage Workflow
1. Read the panel to identify whether a liquidity event is active.
2. Check the reclaim pocket to understand the swept level and event extreme.
3. Review the reclaim score and failure risk.
4. Check the target-room corridor before assigning importance to the reclaim.
5. Use the Action row to decide whether the context deserves review, waiting, or rejection.
🔍 Interpretation Guidelines
Think in terms of quality, not certainty.
A reclaim with a high score, clean timing, strong close, and enough room is more useful than a late reclaim into nearby structure.
A low score does not mean price cannot move. It means the script's reclaim-planning conditions are not well aligned.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a complete liquidity or smart-money framework.
• Not an order block, FVG, or generic support/resistance map.
⚠️ Limitations & Transparency
Swing references are confirmed after the selected pivot strength, so the script uses confirmed structure rather than instantly known future pivots.
Different timeframes, symbols, volatility regimes, and liquidity conditions can change how reclaim behavior appears.
Relative volume can add context, but volume response does not guarantee continuation or reversal.
Target-room corridors are structural planning references, not forecasts.
🧠 Market Context Notes
Liquidity events often matter most when they occur around visible swing references that many traders can identify.
The reclaim phase is where the decision quality changes. A fast reclaim can show rejection, while a slow or weak reclaim can indicate fragile context.
The failure line exists so the user can see where the active reclaim idea becomes structurally weaker according to the script's own rules.
🧾 Use Case Examples
When price sweeps a recent swing low, quickly closes back above the level, and the target-room corridor is open, the planner may shift from Reclaim Watch to Planner Ready.
When price reclaims late or reclaims directly into nearby structure, the panel may show Risk Review or Room Thin.
When price crosses the active failure line after reclaim, the script marks Failure Hit so the context can be reassessed.
🧱 System Philosophy
Liquidity Reclaim Planner follows the AGPro Series approach: clear structure, rule-based scoring, readable visuals, and decision support without outcome promises.
The script is designed to help traders review the quality of a setup context, not to replace judgment or risk planning.
🔐 Non-Promise Statement
No script can provide certainty.
No reclaim score guarantees continuation, reversal, or profit.
The output should be interpreted as structured analytical context.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, risk controls, and market interpretation.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use this tool to study how liquidity events evolve after the sweep: whether price reclaims, where the failure line sits, how much room remains, and whether the context is strong enough to deserve further review.
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

Quasimodo Reversal Zones [AGPro Series]Quasimodo Reversal Zones
🔹 OVERVIEW
Quasimodo Reversal Zones is a focused Smart Money Concepts tool built around one specific idea: the Quasimodo reversal pattern.
Instead of turning the chart into a crowded market-structure dashboard, this script identifies confirmed QM swing sequences, marks the original shoulder-derived QM level, projects a clean reaction zone, and tracks the invalidation threshold from the head.
The goal is simple: help traders see where a valid Quasimodo structure formed, where price may revisit the QM level, whether the reaction zone is active, and when the structure has failed.
It is designed as a premium public-free AGPro tool for traders who want a clean, visual, and selective Quasimodo framework without generic signal clutter.
🔹 WHAT MAKES IT DIFFERENT
Most reversal tools try to detect too many patterns at the same time. They often combine double tops, double bottoms, head and shoulders, order blocks, BOS, CHOCH, liquidity sweeps, and support/resistance zones into one heavy overlay.
Quasimodo Reversal Zones stays intentionally narrow.
Its only job is to map Quasimodo reversal structures with quality scoring, reaction-zone tracking, and invalidation logic. This makes the script easier to read, easier to trust visually, and more useful as a dedicated QM layer inside a larger trading workflow.
The script also avoids marking every small pivot as a pattern. A valid QM structure must pass multiple filters:
- confirmed swing sequence,
- meaningful head extension,
- displacement beyond the pullback swing,
- minimum spacing between pivots,
- swing amplitude quality,
- time-balance evaluation,
- optional relative-volume participation.
This gives the tool a more selective and professional feel than simple pivot-label scripts.
🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS
This script was designed to stay in a very specific lane inside the AGPro Series catalog.
It is not a broad reversal-pattern scanner.
It is not a BOS or CHOCH dashboard.
It is not an order block tool.
It is not a generic support/resistance zone engine.
It is not a liquidity sweep module.
Its focus is the Quasimodo pattern only.
The visual logic is built around four QM-specific components:
- the shoulder,
- the head,
- the QM level,
- the reaction zone with invalidation.
That narrow structure keeps the tool differentiated from broader AGPro pattern, breakout, structure, and zone-based scripts while still giving traders a strong SMC-style visual experience.
⚙️ METHODOLOGY
The script uses confirmed swing pivots to build a four-step Quasimodo sequence.
For a bullish QM structure, the script looks for:
- an initial swing low,
- a swing high,
- a lower low that forms the head,
- a higher high that confirms the sequence break.
For a bearish QM structure, the script looks for:
- an initial swing high,
- a swing low,
- a higher high that forms the head,
- a lower low that confirms the sequence break.
After the sequence is confirmed, the original shoulder becomes the QM level. A compact ATR-based reaction box is projected around that level. The head becomes the invalidation reference, with optional ATR padding.
The quality score is built from:
- head extension strength,
- sequence-break displacement,
- spacing between pivots,
- average swing size,
- internal time balance,
- optional relative-volume confirmation.
Only structures that meet the selected score threshold are drawn on the chart.
📊 PANEL
The AGPro panel summarizes the latest valid QM structure in a compact format.
Panel fields:
- Pattern Side
- Structure Quality
- Zone Status
- Score
The first panel row follows the AGPro standard: one merged blue header row containing only the script name.
Panel location, panel theme, and panel font size are adjustable from settings. The default panel size is Normal for a clean publication-ready layout.
🎛️ KEY INPUTS
Swing Pivot Length
Controls how strict the confirmed swing structure should be. Higher values create fewer but cleaner patterns.
ATR Normalization Length
Used to normalize zone width, head extension, sequence displacement, label offset, and invalidation padding.
Minimum Head Extension
Defines how far the head must extend beyond the original shoulder before the sequence can qualify.
Minimum Sequence Break
Defines how strongly the final swing must break beyond the pullback level.
Minimum Pattern Score
Filters out weaker QM sequences before they are drawn.
Signal Cooldown Bars
Controls label density and prevents the chart from becoming overloaded on noisy markets.
Reaction Zone Width
Controls the ATR-based thickness of the projected QM reaction box.
Reaction Zone Length
Controls how far the reaction zone projects into the future.
Invalidation Buffer
Adds optional ATR padding beyond the head-based invalidation level.
Maximum Visible QM Zones
Limits how many recent QM zones remain visible on the chart.
Label Font Size and Panel Font Size
Both are adjustable, with Normal as the default setting.
🔍 HOW TO READ IT
Start with the panel.
Pattern Side shows whether the latest valid structure is bullish or bearish.
Structure Quality gives a quick qualitative view of the setup.
Zone Status shows whether the reaction zone is waiting, active, confirmed, or invalidated.
Score shows the numerical strength of the latest accepted QM pattern.
On the chart:
- Shoulder marks the original level that later becomes the QM reference.
- Head marks the extension that creates the imbalance.
- QM Level marks the precise shoulder-derived reaction level.
- Reaction Zone shows the area where the QM retest is being tracked.
- Invalidation Line shows where the structure is no longer valid.
- Status Label shows the live state of the latest zone.
The cleanest reads usually come when price returns to the reaction zone after a strong sequence break and then shows a visible response away from the QM level.
🧩 BEST USE CASES
This script is best used for:
- SMC-style Quasimodo analysis,
- swing-based reversal mapping,
- reaction-zone planning,
- invalidation-based structure review,
- higher-timeframe QM context,
- clean chart screenshots for public analysis,
- traders who want one dedicated QM layer instead of a large all-in-one structure scanner.
It can be useful on many markets and timeframes, but the best visual quality usually appears on charts where swings are clear and price action is not excessively compressed.
🧠 VISUAL DESIGN PHILOSOPHY
The visual design is built around clarity, not clutter.
The script uses the AGPro color palette with a restrained premium look:
- blue merged panel header,
- teal bullish structures,
- pink bearish structures,
- gold invalidation or inactive-state emphasis,
- compact labels placed away from candles where possible,
- projected boxes that stay readable without covering the chart.
The chart should not feel empty, but it should also not feel noisy. Labels, zones, and status elements are intentionally controlled with cooldowns, maximum visible zones, adjustable offsets, and configurable font sizes.
The goal is to make the QM story easy to understand at first glance.
🔔 ALERTS
The script includes alerts for important QM events:
- Bullish Quasimodo Sequence
- Bearish Quasimodo Sequence
- QM Reaction Zone Touched
- QM Reaction Confirmed
- QM Pattern Invalidated
These alerts are designed around structure events rather than generic entry messages.
🔹 LIMITATIONS AND TRANSPARENCY
This script uses confirmed pivots, so patterns are confirmed only after enough bars have passed to validate the swing structure.
It is intentionally selective. Some early or aggressive QM ideas may not appear if they fail the pivot, spacing, displacement, or score requirements.
The script is not designed to predict every reversal. It is designed to identify cleaner Quasimodo structures, display the relevant reaction zone, and provide a clear invalidation reference.
It also does not attempt to replace broader market analysis. Trend context, volatility, liquidity conditions, and higher-timeframe structure can still matter.
✅ IDEAL USER
This script is ideal for traders who:
- understand basic SMC and price-action concepts,
- want a clean Quasimodo-specific tool,
- prefer visual structure over signal spam,
- care about invalidation and reaction-zone logic,
- want a focused public-free AGPro tool that does not overlap with broader reversal scanners,
- value a premium chart presentation with adjustable labels, zones, and panel controls.
Quasimodo Reversal Zones is built for traders who want the QM pattern to be visible, structured, and easy to evaluate without adding unnecessary market-structure clutter. Indicator

Indicator

AMD Absorption | AnonycryptousAmd Absorption | Anonycryptous
Description & user manual
Why this indicator is different
Most AMD indicators do the same thing. They draw a box for Asia, a box for London, a box for New York, and call it a cycle. They show you where the sessions are. They do not show you what is happening inside them.
Amd Absorption works differently.
It detects the full accumulation-manipulation-distribution cycle mechanically, bar by bar, within whatever session windows you define. It does not assume the cycle follows a fixed schedule. It finds it where it actually forms. And it only confirms a signal when the manipulation sweep shows evidence of institutional absorption — high volume on a bar that barely moves. That is the difference between a sweep that fails and a sweep that leads somewhere.
Most traders can look at a chart in hindsight and identify an AMD cycle. The challenge is identifying it in the moment, on any asset, at any time. That is what this indicator is built to do.
It works on every instrument. Crypto, futures, forex, stocks, commodities. The session windows, detection parameters, and absorption thresholds adapt to the asset class through a preset system. The same logic that detects a liquidity sweep on a bitcoin five-minute chart detects it on a gold two-minute chart, a nasdaq futures one-minute chart, or a forex fifteen-minute chart.
Important notice
Amd Absorption generates trading signals based on pattern detection and volume analysis.
These signals are not financial advice.
They do not predict the future.
They do not guarantee profitability.
All trading decisions are made entirely by the user.
Always manage your own risk. Always apply your own judgment.
1. Overview
Amd Absorption is a cycle detection and entry timing indicator built around three phases of price behavior: accumulation, manipulation, and distribution.
What it includes:
- Mechanical AMD cycle detection within configurable session windows
- Absorption filter on the manipulation bar using volume and body/range analysis
- Five asset class presets with individually tuned detection parameters
- Three-phase candle coloring showing accumulation, manipulation, and distribution in real time
- Absorption dot markers on qualifying manipulation bars
- Distribution target box with configurable stop loss mode and risk/reward ratio
- Volume-weighted price levels as structural reference and target zones
- Vertical session boundary lines at open and close
- Configurable session background colors
- Live dashboard showing session status, preset, last signal, and absorption statistics
- Alerts for bull and bear setups
2. The AMD cycle
2.1 Accumulation
A defined period of price compression. The market moves within a narrow range while smart money builds a position. Amd Absorption detects this as a rolling high-low range falling below a configurable percentage threshold over a set lookback period. During this phase, candles are colored gray.
2.2 Manipulation
After accumulation, price sweeps beyond the range boundary — above the high for a bearish setup, below the low for a bullish setup. This is the liquidity grab. Market orders resting beyond the range are collected. Stops are hit. Retail traders enter in the wrong direction. During this phase, candles are colored in the direction of the sweep — red for a bear sweep, green for a bull sweep.
2.3 Distribution
The real move begins. Price reverses from the sweep extreme and creates a fair value gap — a three-candle imbalance confirming displacement. The signal fires. A distribution target box is drawn from the entry close to the calculated take profit level. Candle coloring continues in the signal direction for the duration of the distribution box, then stops automatically.
The cycle can repeat multiple times within a single session. There is no hard limit on setups per session.
- A note on signal quality versus cycle validity
An AMD cycle that does not produce a signal triangle can still play out fully. The triangle means the manipulation bar showed mechanical absorption — volume confirmed, body was small. That is additional evidence of institutional presence at the sweep level. It raises conviction. It does not make setups without it invalid. Many clean AMD cycles complete without a qualifying absorption bar. The candle coloring will show the full cycle regardless. The triangle is a quality filter, not the only valid setup.
3. The absorption filter
The absorption filter is what separates Amd Absorption from a standard cycle detector.
A manipulation sweep can occur for many reasons. Not every sweep leads to a reversal. The ones that do tend to share a specific characteristic on the sweep bar itself: high volume combined with a small candle body relative to the bar's range.
This pattern means price moved far on heavy participation — a big wick — but the bar closed near where it opened. Something was absorbing the selling or buying pressure. The move did not follow through. That is absorption. It is the mechanical fingerprint of institutional defense of a level.
When the absorption filter is enabled, the signal only fires if the manipulation bar meets both conditions: volume above a configurable multiple of the rolling average, and a body-to-range ratio below a configurable threshold. Bars that qualify are colored in the absorption color and marked with a dot above or below the candle.
The filter can be disabled. With the filter off, every valid AMD + FVG pattern fires a signal. With it on, only the setups with volume confirmation fire. The trade-off is signal frequency versus quality.
4. Presets
Presets automatically configure the four core detection parameters — accumulation lookback, maximum range width, absorption volume multiplier, and absorption body ratio — for each asset class.
Crypto
Lookback: 15 bars. Range: 1.20%. Volume multiplier: 1.2×. Body ratio: 0.55.
Wider range tolerance for volatile 24/7 markets. Looser volume threshold because crypto volume behavior differs from traditional markets.
Futures
Lookback: 20 bars. Range: 0.40%. Volume multiplier: 1.4×. Body ratio: 0.45.
Tight range detection for institutionally driven instruments. Higher volume requirement to match the tick-level precision of futures order flow.
Forex
Lookback: 25 bars. Range: 0.25%. Volume multiplier: 1.3×. Body ratio: 0.50.
Longest lookback and tightest range for the slow, deliberate consolidations common in major pairs. Moderate volume threshold.
Stocks
Lookback: 22 bars. Range: 0.50%. Volume multiplier: 1.4×. Body ratio: 0.50.
Balanced settings between futures and forex. Works across individual equities and equity indices.
Commodities
Lookback: 22 bars. Range: 0.35%. Volume multiplier: 1.4×. Body ratio: 0.50.
Designed for gold, silver, oil, and similar instruments. Tighter than forex but more tolerant than futures. Handles institutional spikes well.
Custom
All four parameters are set manually in the Amd Logic and Absorption Filter groups. Use this when the presets do not match the behavior of a specific instrument or timeframe combination.
Note: the manipulation search window, FVG size filter, and ATR length are always set manually regardless of preset. These three parameters are active for all presets and can be adjusted freely.
5. Sessions
Amd Absorption detects AMD cycles only within active session windows. Outside of sessions, no accumulation is tracked, no sweeps are detected, and candle coloring is inactive. This prevents false setups forming during off-hours thin markets.
Three sessions are configurable: Asia, London, and New York. Each session has an independent toggle, a clock-picker for start and end time, and a background color. All session times are entered in your selected timezone, which can be set to any UTC offset from UTC-12 to UTC+12.
A thin vertical line marks both the opening and closing of each active session. This gives you a clear visual boundary for each session's cycle. The opening line and closing line use the same configurable color.
6. Distribution box
When a signal fires, a distribution target box is drawn from the entry bar forward. The box represents the expected move from entry to take profit.
Two stop loss modes are available:
Atr mode
Stop loss distance is calculated as ATR × the configured multiplier. This gives a consistent distance across all setups regardless of the exact FVG size. Useful for instruments where ATR matches your natural stop placement.
Fvg structure mode
Stop loss is placed at the outer edge of the FVG candle — above the FVG high for a bear setup, below the FVG low for a bull setup. This uses the actual market structure as the invalidation point, which is how many practitioners manage stops on this type of setup.
The take profit is calculated as: entry ± stop distance × RR ratio. The default ratio is 2.0, giving a 1:2 reward-to-risk setup. The ratio is adjustable.
The box width is fixed in bars. It does not track price. When the configured number of bars elapses, candle coloring for the distribution phase stops automatically. For position sizing and stop management, Risk Management Engine by Anonycryptous can be used alongside this indicator.
7. Price levels
Volume-weighted pivot highs and lows are drawn as horizontal reference lines. Pivot highs above current price act as resistance. Pivot lows below current price act as support. Each level shows its exact price value.
Line appearance reflects volume strength. A stronger volume reading at the pivot produces a more visible glow layer. Weaker pivots are more subdued.
Levels disappear automatically when price touches them. The maximum number of visible levels is configurable. These levels serve as structural context and potential distribution targets for confirmed signals.
8. Candle coloring
Amd Absorption colors candles to show the current phase of the cycle. The coloring is active only within session windows.
Gray — accumulation phase. Price is consolidating within the detected range.
Red (bear) or green (bull), dim — manipulation phase. A sweep has been detected and the indicator is searching for a confirming FVG. Colors the sweep candles and any subsequent candles until the FVG fires or the search window expires.
Absorption color (default purple) — absorption bar. A candle within the manipulation phase that meets both volume and body conditions. Also marked with a dot above or below the bar.
Red (bear) or green (bull), dim — distribution phase. Fires from the signal bar and continues until the distribution box width elapses.
Priority: absorption color overrides distribution, which overrides manipulation, which overrides accumulation.
9. Dashboard
The dashboard shows:
- Session — current active session or off
- Preset — active asset preset
- Last signal — direction of the most recent confirmed signal
- Last session — which session the last signal occurred in
- Abs / setups — absorption-confirmed signals vs total AMD setups detected
- Abs filter — whether the absorption filter is on or off
- Accumulation — current accumulation state: active, searching, or none
Position is configurable: top left, top right, bottom left, or bottom right. Size is configurable: tiny, small, or normal.
10. Settings reference
10.1 Sessions
- Timezone — utc offset for session time entry
- Asia / London / New York — toggle, time picker, background color per session
- Show session open lines — vertical lines at session open and close
- Session line color
10.2 Preset
- Asset preset — crypto / futures / forex / stocks / commodities / custom
10.3 Amd logic
- Accumulation lookback — bars used to measure consolidation range (custom only)
- Max accumulation range (%) — maximum range width to qualify (custom only)
- Manipulation search window — bars to search for a sweep after accumulation
- Min fvg size (atr multiplier) — minimum gap size for distribution confirmation
- Atr length — period for atr calculation
- Sl mode — atr or fvg structure
- Sl atr multiplier — stop distance multiplier in atr mode
- Rr ratio — reward-to-risk ratio for the distribution box
- Distribution box width (bars) — fixed bar width of the distribution target box
10.4 Absorption filter
- Enable absorption filter — toggle on/off
- Min volume multiplier — minimum volume relative to average (custom only)
- Max body/range ratio — maximum body-to-range ratio (custom only)
- Volume average length — lookback for rolling volume average
10.5 Price levels
- Show price levels — toggle on/off
- Pivot lookback — bars left and right to confirm a pivot
- Min volume multiplier — minimum volume at the pivot bar
- Volume average length — lookback for volume average
- Support level color — color for pivot lows
- Resistance level color — color for pivot highs
- Max levels shown — maximum number of visible levels
10.6 Visuals
- Show accumulation box
- Show manipulation box
- Show fvg box
- Show entry signal
- Bull color — color for bullish setups and signals
- Bear color — color for bearish setups and signals
- Absorption color — color for absorption bar highlight and dot
- Distribution color — candle color during the distribution phase
10.7 Dashboard
- Show dashboard
- Position
- Size
11. How to use
11.1 Initial setup
1. Select the preset that matches your instrument.
2. Set your timezone to match your location or preferred session reference.
3. Enable the sessions you trade. Set the times to match the actual session opens for your timezone.
4. Choose a stop loss mode. Fvg structure is the more precise option. Atr is more consistent if FVGs on your timeframe vary significantly in size.
5. Set your RR ratio. Default 2.0 is a starting point — adjust to your own risk management rules.
6. If using the custom preset, start with the preset values as a reference and tune from there.
11.2 Reading the chart
Look at the session background. Once a session opens, accumulation detection begins.
When candles turn gray, accumulation is active. The indicator has found a range that qualifies as consolidation. This is the waiting phase.
When candles turn red or green, a sweep has been detected. The indicator is now looking for a confirming FVG. This is the alert phase — something is happening.
When a purple (or absorption-colored) candle appears with a dot, the sweep bar showed absorption. This is the highest-quality moment within the manipulation phase. A signal is likely imminent if a FVG forms on the next bars.
When a signal triangle fires, the full AMD cycle has confirmed with FVG and absorption. The distribution box appears showing the entry level and target.
11.3 Illustrative bull scenario
Educational example only. Not a trading recommendation.
Session opens. Candles turn gray — accumulation detected between two levels. After several bars, price dips below the accumulation low on a high-volume candle that closes near its open. The candle colors purple. A dot appears below it. Two bars later, a gap forms above — price has displaced back through the range. A green triangle fires below the entry bar. The distribution box extends to the right showing the 1:2 target. A support level line sits just below the sweep low confirming the structural context.
11.4 Illustrative bear scenario
Educational example only. Not a trading recommendation.
Session opens in London. Candles turn gray — a tight consolidation forms. Price spikes above the range high on elevated volume. The spike candle has a large wick and closes back below the high — body is less than 40% of the bar range. The candle turns purple. A dot appears above it. A FVG opens below. A red triangle fires above the entry bar. The distribution box drops from entry toward the calculated take profit. A resistance level hovers just above the sweep high.
11.5 Using the absorption filter
With the filter on, the signal only fires when the manipulation sweep bar shows mechanical absorption. This reduces total signals but increases the average quality of what does fire. The dashboard shows abs / setups — how many confirmed absorptions versus total AMD patterns detected. A ratio of 1/5 is normal. The filter is stricter by design.
With the filter off, every valid AMD + FVG pattern produces a signal regardless of volume. Use this to explore how many setups form on your instrument before deciding whether the absorption requirement is helping or filtering too aggressively.
Regardless of filter setting, the candle coloring always shows the full AMD cycle. A setup without a triangle is still visible through the gray accumulation, the colored manipulation phase, and the FVG box. Traders who want to act on every AMD cycle can use the visual coloring as their cue and treat the triangle as an additional confirmation rather than a requirement.
11.6 Timeframe guide
- 1m–3m: scalp setups. Absorption filter on. Tight preset (futures or commodities).
- 5m–15m: intraday setups. All presets apply. Standard settings.
- 30m–1h: swing context. Manipulation window and accumulation lookback can be increased.
- 4h and above: macro context only. Signals will be infrequent. Use to identify major cycle pivots.
12. Tips
The manipulation search window is your primary tuning lever. If the indicator misses setups you can see visually, increase the manipulation window. If it produces setups that do not look like genuine sweeps, tighten the range width or increase the volume multiplier.
The absorption filter is directional. A bear sweep that qualifies will have a large upper wick and a small body. A bull sweep that qualifies will have a large lower wick and a small body. If you see a purple dot on a bar with a small wick, the volume threshold is too low — raise the min volume multiplier.
Price levels are structural context, not signals. Use them to assess whether a distribution target has a logical resting point — a prior support or resistance level aligned with the take profit zone strengthens the setup.
Multiple AMD cycles can form within a single session. The state resets after each completed cycle. If an accumulation forms but no sweep follows within the search window, the state clears automatically and the indicator waits for the next consolidation.
Candle coloring stops at the session close. If candles outside the session boundaries show unexpected colors, check that your session times are correctly set for your timezone.
13. Disclaimer
This indicator is provided for educational and informational purposes only. Nothing in this document constitutes financial advice or any form of recommendation. Trading financial instruments involves substantial risk of loss. Past performance is not indicative of future results. You may lose all of your invested capital.
Anonycryptous accepts no responsibility or liability for any losses incurred as a result of using this indicator.
Indicator

ICT Smart Money Footprint [AGPro Series]ICT Smart Money Footprint
🔷 OVERVIEW
ICT Smart Money Footprint is a multi-timeframe price action engine that maps institutional liquidity behavior directly onto your chart. It combines higher-timeframe reaction zones (BSL/SSL) derived from swing pivots with candle-by-candle lower-timeframe footprint states — Liquidity Grab, Displacement, and Reclaim — into one cohesive visualization. A live panel tracks session bias, daily event counts, and zone lifecycle, giving price action traders a complete context window for ICT-style analysis across every timeframe.
🧭 UNIQUE EDGE
Most Smart Money Concept indicators plot every swing as a zone, producing cluttered charts that obscure the very structure they aim to reveal. This tool takes a different route. It separates the question "where is liquidity?" (answered at HTF with wide, contextual zones) from "what is price doing right now?" (answered at LTF with footprint labels). The two layers communicate through a single panel and a shared color palette, so the trader always sees both the macro landscape and the tactical footprint without layering multiple scripts. Priority filtering ensures only the highest-conviction event is printed per bar, and confluence windowing prevents label clustering.
⚙️ METHODOLOGY
The script runs two parallel engines.
The HTF Zone Engine pulls pivot highs and lows from a higher timeframe using request.security with lookahead disabled. Each confirmed pivot anchors a reaction zone sized by HTF ATR × 1.5, ensuring natural visibility on any chart view. Buy-Side Liquidity (BSL) zones form above price at pivot highs; Sell-Side Liquidity (SSL) zones form below price at pivot lows. Zones extend right via line.new with extend.right and a linefill between the two edges. When price tags a zone, the zone is marked mitigated: its lines switch to dashed style, width drops, color fades, and right extension freezes at the touch point.
The LTF Footprint Engine evaluates each confirmed candle for three events. Liquidity Grab triggers when price sweeps the prior LTF swing with a buffer and closes back inside range in the opposite direction. Displacement triggers when candle range exceeds ATR × multiplier and the candle breaks the prior bar's extreme. Reclaim triggers when price recovers a recently lost swing level within a 20-bar window. A priority filter (DISP > LG > REC) prints only the strongest event per bar and direction. A session bias score accumulates these events and resets daily, tinting the chart background and updating the panel in real time.
📡 SIGNALS & ALERTS
Six alert conditions are built in:
• Liquidity Grab (bull or bear)
• Displacement (bull or bear)
• HTF Mitigation (any zone tagged)
• Reclaim (bull or bear)
• Bias Turned Bullish
• Bias Turned Bearish
All alerts include ticker and interval placeholders for multi-chart monitoring.
🎛️ KEY INPUTS
HTF Source — Auto scales the higher timeframe to your chart (15m→4H, 1H→D, 4H→W, 1D→M), or pick a manual HTF.
HTF Pivot Length — controls strength threshold of liquidity zones.
HTF Zone Height (ATR x) — default 1.5; tune for wider or tighter zones.
LTF Pivot Length — swing sensitivity for LG and REC detection.
Displacement ATR Multiplier — default 2.0; raise for only the most explosive candles.
Sweep Buffer — extra cushion above or below swing levels for LG qualification.
Confluence Window — suppresses back-to-back same-direction labels.
Session Bias Band — subtle background tint reflecting daily event accumulation.
Panel Location, Theme, Font Size — full control over on-chart presentation.
🧩 HOW TO USE
Start with your normal trading timeframe. The HTF Source set to Auto will anchor the zones to a relevant higher timeframe. Watch how price interacts with the BSL and SSL zones: unmitigated HTF zones act as liquidity targets and reaction areas, while mitigated (dashed) zones mark where liquidity has already been absorbed.
Use the LTF footprint labels to read the tactical story inside those zones. A Liquidity Grab near an SSL zone hints at institutional accumulation. A Displacement candle after an LG often precedes a structural shift. A Reclaim of a recently lost level signals inducement and potential continuation. The panel's Session Bias gives you a running directional read; when it flips, an alert can fire.
Traders typically combine this tool with their own execution framework: HTF zones for bias and target selection, LTF footprints for timing and confirmation. The indicator provides the map; risk management, entry rules, and position sizing remain the trader's responsibility.
⚠️ LIMITATIONS & TRANSPARENCY
This indicator is an analytical mapping tool, not a trading strategy. It identifies structural patterns and plots them for visual analysis.
HTF zones rely on request.security with lookahead disabled, which means new zones appear only after the HTF pivot is fully confirmed — this introduces a natural lag consistent with non-repainting practice but means some reactions may occur before the zone is drawn.
LTF footprint labels are confirmed on bar close. Intrabar signals during live bars may flicker until the bar closes.
Different market conditions produce different zone densities. Ranging markets generate more mitigated zones; trending markets leave more unmitigated zones above or below price. Use the Max Active Zones input to cap chart clutter.
Past structural patterns do not guarantee future outcomes. Liquidity sweeps can mark reversals or simply precede continuation moves. Always validate signals with your own analysis and broader market context.
📌 RISK DISCLOSURE
This script is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any asset. Trading involves substantial risk of loss. Past performance does not guarantee future results. Users are solely responsible for their trading decisions, risk management, and position sizing. The author assumes no liability for any outcome arising from the use of this indicator. Indicator

Liquidity Grab Detector [AGPro Series]🧲 LIQUIDITY GRAB DETECTOR
Detects single-bar multi-level liquidity raids — the precise moment price sweeps a cluster of 2 or more distinct liquidity pools within a single candle and immediately reverses. Built for ICT, Smart Money, and institutional order-flow analysis, this engine identifies the liquidity raids that matter most: simultaneous multi-level stop hunts that typically precede the sharpest reversals.
═══════════════════════════════════════
🔹 OVERVIEW
Most liquidity tools either track single sweeps or lifecycle-based breach-and-reclaim patterns. This detector focuses on a different, rarer, and higher-conviction event: the single-bar multi-level raid. When one candle sweeps a cluster of two or more untouched liquidity levels (swing highs/lows, session H/L, previous day H/L, previous week H/L) in a single motion, the odds of a meaningful reversal increase significantly. The engine validates each grab with four independent filters, deduplicates overlapping levels, merges adjacent reversal zones for a clean chart, tiers signals by quality, and projects forward target zones.
One-click preset modes (Aggressive / Balanced / Conservative / Custom) make the detector instantly suitable for any style — from high-frequency scalping to premium-only confluence trading — without manual tuning.
This is not a strategy and makes no directional prediction. It is a detection and visualization engine for a specific institutional order-flow footprint.
═══════════════════════════════════════
🔹 UNIQUE EDGE — HOW THIS DIFFERS
The single-bar multi-level criterion is the defining separator from conventional liquidity tools:
▪ Traditional liquidity sweep detectors flag any single-level sweep. High signal rate, low conviction per signal.
▪ Breach-and-reclaim engines (equal-highs / equal-lows style) require a full lifecycle across multiple bars. Different mechanic, different timing.
▪ This detector requires a cluster of 2+ distinct liquidity levels to be swept in a single candle, within a user-defined ATR proximity. ATR-normalized thresholds adapt across all timeframes and symbols.
▪ ATR-based level deduplication merges coincident sources (e.g. Swing + PDH stacked at the same price) into a single logical level, preventing inflated sweep counts.
▪ Zone overlap-awareness: adjacent same-direction reversal zones are merged into a single extended zone rather than piling multiple boxes on top of each other. Premium, chart-clean visualization.
▪ Strikethrough length clamp keeps historical consumed-level lines from crossing the entire chart, even on long-running indicators.
▪ Preset modes encapsulate calibrated filter stacks, making the detector genuinely plug-and-play.
The combined filter stack (cluster + volume + wick + reversal + cooldown + dedup + zone-merging) produces fewer but significantly higher-quality signals with a clean visual footprint.
═══════════════════════════════════════
🔹 METHODOLOGY
Preset modes calibrate the detection engine with one selection:
▪ Aggressive — minimum 2 levels, 0.7 ATR cluster, 1.1× volume, 0.15 ATR wick, 2 bar cooldown.
▪ Balanced — minimum 2 levels, 0.45 ATR cluster, 1.5× volume, 0.3 ATR wick, 5 bar cooldown. Default.
▪ Conservative — minimum 3 levels, 0.35 ATR cluster, 2.0× volume, 0.45 ATR wick, 10 bar cooldown. Premium-only.
▪ Custom — honors manually configured input values.
Level registry with deduplication. The script maintains a live registry of untouched liquidity levels built from four configurable sources. Incoming levels within a configurable ATR tolerance of an existing level are merged. Each level is time-stamped, capped at a configurable maximum count, and pruned once it ages beyond the lookback window or is consumed by a grab.
Cluster detection. On every bar, the engine scans active levels on both sides and classifies a bar as a multi-level sweep candidate when it penetrates the minimum level count whose vertical span fits within the ATR proximity band.
Confirmation layers:
1. Volume spike — grab bar volume must exceed the rolling SMA by the preset multiplier.
2. Wick ratio — rejection wick on the grab side must exceed the preset ATR fraction.
3. Immediate reversal — within a configurable window, price must close back beyond the swept cluster.
4. Cooldown — after a confirmed grab, new detections are suppressed.
Zone overlap-awareness. When a new grab's reversal zone falls within a configurable ATR distance of a recent same-direction zone, the existing zone is extended rather than drawing a new overlapping box. Aggregate targets stay clean.
Quality tier classification. Confirmed grabs are automatically tiered by level count, with 4-level grabs and 5+ level grabs receiving progressively stronger visual emphasis.
═══════════════════════════════════════
🔹 SIGNALS & VISUALS
Confirmed bullish grab — triangle marker below the bar, "LIQ GRAB · N levels swept" label with tier stars for high-quality grabs, and a forward-projected reversal zone above the cluster with a target micro-label.
Confirmed bearish grab — mirror image with bear coloring.
Stagger-aware label placement. When multiple confirmed grabs occur close together on the chart, their labels are automatically offset vertically to prevent visual overlap.
Clean default visual profile. Swept-level strikethrough lines are disabled by default for a premium chart-clean look; enable them for detailed post-grab review. When enabled, a max-age clamp prevents extremely long lines.
Statistics panel (8 rows) — active level count, total grabs, bars since last grab, last grab source composition (dynamic, e.g. "PDL+Swing"), bullish vs bearish breakdown, reversal success rate, and average levels swept per grab.
Alerts — separate alert conditions for bullish and bearish grab confirmations, triggered on bar close.
═══════════════════════════════════════
🔹 KEY INPUTS
Detection Engine
▪ Preset Mode — Aggressive / Balanced / Conservative / Custom.
▪ Minimum Levels Swept, Cluster Proximity, Cooldown — honored in Custom mode.
▪ Level Deduplication (ATR) — merge tolerance for coincident levels.
▪ Level Lookback, Max Active Levels — registry housekeeping.
Liquidity Level Sources — swing highs/lows, session H/L, PDH/PDL, PWH/PWL.
Confirmation Filters — volume multiplier and averaging length, reversal window, minimum wick ratio, ATR length.
Visuals
▪ Toggle labels, strikethroughs, zones, statistics panel.
▪ Label and panel font size (default Normal).
▪ Panel position (8 options) and theme (Dark / Light).
▪ Zone projection length, zone height, zone transparency.
▪ Zone merge distance (ATR-based overlap suppression).
▪ Max strikethrough length (bars).
═══════════════════════════════════════
🔹 HOW TO USE
1. Start with Balanced preset on any timeframe. The ATR-based cluster logic adapts automatically, but 15m–4H timeframes on liquid instruments produce the cleanest signal set.
2. Switch to Conservative for premium-only signals at key institutional levels, or Aggressive when scalping intraday liquidity dynamics.
3. Watch for grab labels near well-defined liquidity clusters — session opens, PDH/PDL interactions, and at range edges. Tiered grabs (4+ levels raided in one bar) deserve special attention.
4. Use the reversal projection zone as a reference target area, not a mechanical take-profit. Combine with your existing structure, order blocks, or mean-reversion levels.
5. Check the "Last Sources" panel row to see which specific liquidity pools were raided most recently.
6. For detailed post-grab analysis, enable "Show Swept Level Strikethroughs" in the Visuals group. For a clean chart, leave disabled.
7. For fine-grained control, select Custom mode and adjust each filter manually.
═══════════════════════════════════════
🔹 LIMITATIONS & TRANSPARENCY
▪ No repaint on confirmed signals — grabs are finalized only after the reversal window closes with all filters passing. Swing pivots used as level sources are inherently delayed by the pivot length (standard pivot behavior).
▪ The reversal success metric uses a fixed 1 ATR / 10 bar definition and is provided as context only. It is not a performance claim or win rate.
▪ In strongly trending markets, multi-level sweeps can occur without reversal, producing failed grabs. The filter stack reduces but does not eliminate this.
▪ On very low-liquidity symbols or extremely short timeframes, volume data can be noisy. Consider disabling the volume filter in those conditions.
▪ Session, PDH/PDL, and PWH/PWL levels are derived from the chart symbol's native session definition.
═══════════════════════════════════════
🔹 RISK DISCLOSURE
This indicator is an analytical and visualization tool. It does not generate buy or sell recommendations, does not guarantee any outcome, and is not a trading strategy. All trading decisions are the sole responsibility of the user. Past pattern behavior does not guarantee future results. Always combine indicator output with your own analysis, risk management, and position sizing framework. Indicator
