ICT Sessions, Gaps, & ORGA clean, highly customizable ICT/SMC indicator that combines Killzones, Gaps, Open Range, and 1m FVG in one clean overlay.
Key Features:
6 Custom Killzones (Asia, London, Pre-NY, NY AM, NY Lunch, NY PM)
→ Optional boxes + text, high/low pivots with alerts, midpoints, labels, and a live range table (current + average).
Day / Week / Month opens, previous highs/lows, and separators.
Multiple Opening Prices & Vertical Timestamps (fully customizable times & styles).
New Week Open Gap (NWOG) + New Day Open Gaps (ETH & RTH)
→ Gaps, center lines, backgrounds, labels, and optional Event Horizon.
Volume Imbalances (Bullish & Bearish) and classic Price Gaps as clean, extendable boxes.
Open Range Gap (ORG) + 1st Minute FVG after RTH open
→ Quadrants, fills, trace lines, labels, and smart Monday/extension options.
Everything is timezone-aware (NY default), lightweight, and packed with styling options so you can show exactly what you need. Perfect for ICT/SMC traders who want sessions, gaps, and fair-value concepts visualized without clutter. Indicator

Macro & Hourly 1st P.FVGThis indicator highlights key intraday Macro time windows and Fair Value Gaps (FVGs) to help traders identify session-specific liquidity zones and directional bias on lower timeframes.
Macro Sessions
Visualizes 24 specific intraday Macro periods in America/New_York timezone (e.g., 02:50–03:10, 08:50–09:10, 09:50–10:10, up through 01:50–02:10).
Each enabled session draws an expanding box that captures the actual high/low range during that window.
Options include showing/hiding the box, text labels, and hour identifiers, plus full per-session toggles and a unified Macro box color with adjustable opacity.
Fair Value Gaps Inside Macro Sessions
Automatically detects FVGs that form within the active Macro windows.
1st Presented Hourly FVG
A dedicated hourly feature that plots the very first FVG presented in each hour.
Logic is tied exclusively to the middle candle (bar ) of the FVG formation, ensuring the FVG is assigned to the correct hour.
Up-closed middle candles (close > open ) receive one color; down-closed middle candles receive another.
Boxes extend to the end of the hour and include an optional midpoint line.
The indicator is optimized for timeframes of 15 minutes and below (including seconds) and works best during active trading hours. All visual elements, colors, extensions, and session filters are fully customizable in the settings panel, allowing users to tailor the display to their specific trading style and market focus. Indicator

Indicator

Indicator

Indicator

Advanced Fibonacci Confluence Matrix [MarkitTick]💡 The Advanced Fibonacci Confluence Matrix is a sophisticated multi-dimensional analytical tool designed for professional traders who demand precision in identifying high-probability institutional entry zones. By integrating Fibonacci retracement logic with multi-timeframe (MTF) confluence and Fair Value Gap (FVG) detection, this script identifies the "Optimal Trade Entry" (OTE) zones where various technical factors align. It serves as a comprehensive institutional-grade execution engine, providing not just visual zones, but also automated risk calculation and webhook-ready alert payloads for algorithmic execution.
● ✨ Originality and Utility
Traditional Fibonacci tools are often static and require manual adjustment, leading to subjective bias and missed opportunities during rapid price action. This indicator revolutionizes the process by:
• Dynamic Anchor Selection : It automatically identifies significant swing highs and lows to anchor Fibonacci levels, ensuring that the zones remain relevant to current market structure.
• Multi-Timeframe Confluence : It fetches Fibonacci data from higher timeframes (HTF), such as the Daily or 4-hour charts, and overlays them onto the local timeframe. This allows traders to see when a local OTE zone aligns with a major institutional level.
• FVG Integration : The script looks for Fair Value Gaps within the OTE zones. The presence of an FVG serves as a "magnet" or "trigger," increasing the probability that price will react within that specific area.
• Automated Alert Logic : Unlike simple price alerts, this script generates a structured JSON payload including Entry, Stop Loss, Take Profit, and calculated Position Size based on user-defined risk parameters.
● 🔬 Methodology and Concepts
The indicator is built upon the premise of Institutional Order Flow and the "Discount vs. Premium" market theory.
• Fibonacci Retracement Engine : The core logic calculates standard ratios (0.236, 0.382, 0.5, 0.618, 0.786). The "Optimal Trade Entry" is specifically defined as the zone between the 0.618 and 0.786 retracement levels.
• The Confluence Matrix : The script maintains an internal matrix of "hits." When price enters a zone where a local Fibonacci level, an HTF level, and a Prime FVG all overlap, the confluence score increases, and the visual intensity of the zone changes to alert the trader.
• Fair Value Gap (FVG) Logic : The script detects imbalances where the High of Bar N is lower than the Low of Bar N+2 (for bearish) or the Low of Bar N is higher than the High of Bar N+2 (for bullish). It specifically filters for "Prime FVGs" that reside within the OTE retracement area.
• Risk-Adjusted Position Sizing : It uses the distance between the Entry (usually the 0.618 level or FVG edge) and the Stop Loss (usually the swing anchor) to calculate how many units should be traded to risk exactly X% of the account balance.
● 🎨 Visual Guide
• The OTE Zone (The Golden Box) : A shaded rectangle appearing between the 0.618 and 0.786 Fibonacci levels. A Green box signifies a bullish discount zone, while a Red box signifies a bearish premium zone.
• HTF Confluence Lines : Horizontal dashed lines across the chart representing the 0.5 (Equilibrium) and 0.618 levels from a higher timeframe. These are typically colored Orange or Purple to distinguish them from local levels.
• Fair Value Gap (FVG) Rectangles : Small, semi-transparent boxes that mark price imbalances. When these appear inside the OTE Zone, they are highlighted with a thicker border to indicate a "High Probability Trigger."
• Swing Anchor Labels : Small "H" (High) and "L" (Low) labels appear at the points where the Fibonacci tool is anchored. These labels help the trader verify the current market structure context.
• Signal Labels : When a confluence event occurs, a "BUY" or "SELL" label appears above or below the candle. The label includes the calculated "Risk:Reward" ratio for that specific setup.
• Dashboard Table : A small UI element in the corner of the chart displaying the current HTF trend status, the distance to the nearest OTE zone, and the calculated position size for the next trade.
● 📖 How to Use
• Identifying a Setup : Wait for the script to define a new swing move. Once the "OTE Zone" box is drawn, monitor the price as it retraces toward that box.
• Confirming Confluence : The highest quality trades occur when the price enters the OTE zone and simultaneously touches an HTF dashed line or fills a Prime FVG.
• Execution : Look for the "Long Entry" or "Short Entry" signal. The script is optimized for "Bar Close" execution to avoid repainting issues.
• Automation : If using webhooks, ensure your execution platform is set to receive the JSON format. The "Action," "Ticker," and "Qty" fields are automatically populated based on the signal.
• Exit Strategy : The default Take Profit is set to the 0.0 Fibonacci level (the swing high/low), while the Stop Loss is placed just beyond the 1.0 anchor point.
● ⚙️ Inputs and Settings
• Fibonacci Sensitivity : Adjust the "Swing Lookback" to determine how significant a high or low must be to act as an anchor. Higher values result in more "Macro" zones.
• HTF Resolution : A dropdown allowing you to select which timeframe (e.g., 60m, 240m, Daily) the confluence lines should be pulled from.
• Zone Selection : Toggle switches to enable or disable specific levels (e.g., show only the 0.618 and 0.786).
• Risk Management : Input your "Account Size" and "Risk Percentage" (e.g., 1% or 0.5%) to calibrate the automated position sizing alerts.
• Alert Configuration : Options to enable specific JSON payloads for "Long Only," "Short Only," or "Both."
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The Advanced Fibonacci Confluence Matrix is grounded in the Golden Ratio Theory and the Efficient Market Hypothesis (EMH), specifically focusing on market inefficiencies.
• Mathematical Proportions : The indicator utilizes the irrational number Phi (approximately 1.618) and its inverse (0.618). These ratios are derived from the Fibonacci sequence, where each number is the sum of the two preceding ones. In financial markets, these ratios describe the recursive nature of price retracements and expansions.
• Statistical Mean Reversion : The use of the 0.5 level (Equilibrium) is based on the statistical principle of mean reversion, suggesting that price has a natural tendency to return to a central point of value before continuing a trend.
• Liquidity & Imbalance Theory : The Fair Value Gap detection is based on the "Information Asymmetry" model in economics. When a large institutional order enters the market, it creates a "gap" or "void" because the liquidity at certain price levels was consumed too quickly. Academically, these gaps represent "Inefficient Pricing" that the market seeks to "fill" to restore equilibrium.
• Confluence Probability : By applying the Law of Large Numbers and Multi-Factor Modeling, the script assumes that the intersection of independent variables (Local Fib + HTF Fib + FVG) reduces the "Noise-to-Signal" ratio, thereby increasing the statistical significance of the resulting trade signal.
⚠️ 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

ICT Order Block ProOverview
The ICT Order Block Pro is a comprehensive, quantitative trading system designed to mechanically identify high-probability Order Blocks (OBs) based on strict Inner Circle Trader (ICT) concepts.
Unlike standard indicators that simply highlight large candles, this script acts as a "Narrative Engine." It demands that specific market conditions—such as liquidity sweeps, structural shifts, and session timing—are met before an Order Block is validated. Furthermore, it dynamically projects the Draw on Liquidity (DOL) to provide mechanical Take Profit targets.
Core Concepts & Educational Logic
For an Order Block to be considered high-probability in the ICT methodology, it must be the origin of a significant change in the state of delivery. This script validates setups based on the following sequence:
The Purge (Liquidity Sweep): The swing that forms the OB must first sweep a short-term liquidity pool (prior highs/lows). If an OB forms in the middle of a range without taking liquidity, it is ignored.
The Shift (MSS): The displacement away from the OB must aggressively break a recent structural pivot, confirming institutional sponsorship.
The Imbalance: The displacement must leave behind a Fair Value Gap (FVG).
PD Array Alignment: The script dynamically calculates the current dealing range (or utilizes HTF ranges) to ensure bullish setups only trigger in a Discount, and bearish setups only trigger in a Premium.
Key Features
1-2-3 Draw on Liquidity (DOL) Targeting: The script runs a background algorithm to map unmitigated Buy-Side (BSL) and Sell-Side (SSL) liquidity pools. When a valid OB forms, a dashed target line automatically projects toward the closest opposing liquidity pool.
Breaker Block Conversion: Order blocks are not simply deleted when mitigated. If price closes through an OB's Mean Threshold (50% mark), the script dynamically flips its polarity, converting it into a Breaker Block (+BRK / -BRK) for secondary entries.
Higher Timeframe (HTF) Nesting: The indicator continuously monitors your chosen HTF. If a Current Timeframe (CT) Order Block forms inside an active HTF Order Block of the same direction, it is marked with a star (★) to denote high confluence.
Algorithmic Macros & Kill Zones: Built-in session filters allow you to restrict OB detection strictly to the NY AM/PM Kill Zones or specific "Silver Bullet" algorithmic macro windows (e.g., 09:50–10:10 AM EST).
Strict Mean Threshold Invalidation: Instead of waiting for a full candle close outside the OB, the script invalidates or converts the block the moment a candle body closes past the 50% Mean Threshold.
How to Use This Indicator
Wait for the Setup: Look for a highlighted OB to appear during your active session.
Confirm the Target: Note the dashed Draw on Liquidity line projecting from the OB. This is your mechanical target.
Execution: Enter when price taps the OB box. Place your stop loss just outside the box (or at the Mean Threshold if using strict validation).
Breaker Scenarios: If your primary OB fails and converts into a Breaker Block, monitor for a return to the Breaker for a continuation trade in the opposite direction.
Customization (Engine Tuning)
Every market is fractal, and volatility differs across assets. You can fully tune the engine in the settings:
Adjust the lookback lengths for the Liquidity Sweeps and Market Structure Shifts (e.g., increase lengths for 1m scalping, decrease for 1H swing trading).
Toggle between Dynamic Fractal Dealing Ranges or static HTF ranges for Premium/Discount filtering.
Customize all visual elements, including Breaker colors, target lines, and macro background highlights.
Disclaimer: This script is designed for educational and analytical purposes only. It does not constitute financial advice. Always backtest mechanical systems thoroughly on your specific asset and timeframe before live trading. Indicator

Sessions Highs and Lows Unmitigated + 12AM Divider Sessions High and Lows Unmitigated & 12AM Divider
It keeps track of which session highs and lows price hasn't touched yet, and removes them the second it does.
Every X2 Asia, London, and New York session gets its high and low plotted as a simple horizontal line. Those lines follow price forward in real time, staying visible for as long as the level is still unmitigated. The moment price trades through one, it's gone.
It tracks the last two sessions per killzone, so you always have context without the chart getting messy. There's also a dotted midnight line marking each new trading day — clean, subtle, and easy to reference without adding any real noise.
Works on crypto too — weekends included, no gaps in the midnight lines.
You can adjust:
— Line colour per session
— Line width
— Every session and carry window to match your timezone and workflow
Where it's most useful:
— Seeing at a glance which session highs and lows are still unmitigated and worth watching
— Building confluence around entries using real, current session structure
— Knowing immediately whether a level has already been delivered or is still pending
No boxes. No fills. No noise. Just the levels that matter.
Enjoy. :) Indicator

ICT Weekly ProfilesOverview
ICT Weekly Profiles is an advanced analytical tool designed to map, classify, and quantify recurring weekly price behavior based on Inner Circle Trader (ICT) concepts.
This indicator transforms raw price action into a structured weekly profile by identifying where the market forms its high, low, and directional bias, while also providing a statistical ranking of recurring patterns.
The goal is simple:
to help traders understand how the market tends to behave throughout the week and use that information to anticipate future movements.
------------------------------------------------------------------------------------
Core Concept
Markets often follow recurring behavioral patterns during the week, such as:
Tuesday High or Low formations
Wednesday reversals
Thursday consolidations
Friday expansions
This indicator automatically detects and classifies these behaviors into well-defined weekly profiles, allowing traders to identify the dominant market structure.
Weekly Profile Structure
Each week is represented visually through:
------------------------------------------------------------------------------------
1. Price Range Box
A box is drawn from the weekly high to the weekly low.
Bullish profiles are highlighted in green
Bearish profiles are highlighted in red
This provides a clear visual representation of the weekly range and directional bias.
------------------------------------------------------------------------------------
2. Market Structure Lines
The weekly movement is broken down into three segments:
Open → High → Low → Close
or
Open → Low → High → Close
This reveals the order of price events, which is critical in ICT-style analysis.
------------------------------------------------------------------------------------
3. Profile Label
Each week is labeled according to its behavior, for example:
Classic Tuesday Low of the Week
Wednesday High of the Week
Consolidation Thursday Bullish Reversal
These labels describe how the market formed its structure during the week.
------------------------------------------------------------------------------------
Profile Classification Logic
The indicator classifies each week based on the day where the high and low occur.
Bullish Profiles
Tuesday Low of the Week
Wednesday Low of the Week
Thursday Bullish Reversal
Midweek Rally
Bearish Profiles
Tuesday High of the Week
Wednesday High of the Week
Thursday Bearish Reversal
Midweek Decline
This classification reflects institutional accumulation and distribution behavior.
------------------------------------------------------------------------------------
Live Mode (Real-Time Analysis)
While the week is still active, the indicator dynamically updates:
Current weekly high and low
Structure lines
Active profile classification
The label is displayed as (LIVE) until the week closes.
------------------------------------------------------------------------------------
Statistical Ranking System
One of the most powerful features of this indicator is its built-in ranking system.
It tracks:
Total number of analyzed weeks
Frequency of each profile
Percentage occurrence
Typical day where the high or low forms
This transforms the indicator from a visual tool into a quantitative decision-making system.
------------------------------------------------------------------------------------
Timezone Flexibility
The indicator allows you to select different timezones:
London
New York
Tokyo
This ensures accurate session alignment and correct weekly structure depending on the market being analyzed.
------------------------------------------------------------------------------------
Market Sessions Visualization
Optional session tracking is included:
Asia
London
New York
Features:
Session markers (dots)
Session labels
Optional background coloring
This helps identify where liquidity and volatility are concentrated during the week.
------------------------------------------------------------------------------------
Market Open Filter
The script automatically filters out periods when the market is closed:
After Friday 17:00 New York time
Before Sunday 17:00 New York time
This prevents distorted data and improves accuracy.
------------------------------------------------------------------------------------
Customization Options
Users can customize:
Box colors (bullish / bearish)
Text and line colors
Ranking table position
Session visualization settings
Transparency levels
------------------------------------------------------------------------------------
Practical Usage
This indicator can be used to:
Identify dominant weekly patterns
Anticipate where highs or lows are likely to form
Establish directional bias early in the week
Improve timing when combined with liquidity or structure-based strategies
------------------------------------------------------------------------------------
Strengths
Based on institutional trading concepts (ICT)
Combines structure and statistics
Works across all markets (Forex, Crypto, Indices)
Provides both real-time and historical analysis
Offers probabilistic insights through ranking
------------------------------------------------------------------------------------
Limitations
Does not incorporate volume analysis
Focuses on structural behavior rather than momentum strength
Relies on OHLC data only
------------------------------------------------------------------------------------
Conclusion
ICT Weekly Profiles is more than a visual indicator.
It is a structured framework for understanding how the market behaves on a weekly basis.
By combining pattern recognition with statistical validation, it helps traders answer key questions:
Where is the market likely to form its high or low?
Which weekly patterns are most frequent?
What is the current institutional bias? Indicator

Indicator

Sovereign Meridian [JOAT]Sovereign Meridian
Introduction
The Sovereign Meridian is a proprietary, closed-source charting suite designed to give traders a unified view of market structure, regime context, reaction zones, liquidity mapping, order flow dynamics, and institutional signal detection — all within a single overlay indicator. Rather than requiring traders to load multiple separate tools and mentally piece together their outputs, this indicator runs every analytical dimension through a shared engine so that each module informs the others. The result is a cohesive, context-aware charting environment where structure, volume, momentum, and volatility work together to produce a clear, actionable picture of what the market is doing right now and where it is likely to go next.
This indicator is built in Pine Script v6 and is published as invite-only because the proprietary scoring algorithms, signal prioritization logic, and the way each analytical module feeds into the others represent original work that goes significantly beyond standard implementations of these concepts. The source is protected to preserve the integrity of the detection logic and the specific calibration of thresholds, weights, and interaction rules that make this tool unique.
What Makes This Indicator Worth Protecting
The Sovereign Meridian is not simply a collection of standard concepts placed on the same chart. While the individual analytical principles it draws from — swing-based structure, fair value gaps, order blocks, VWAP analysis, volume delta, Wyckoff theory — are well-established in institutional trading education, the value of this indicator lies in how these concepts are unified, scored, and prioritized through a proprietary engine:
Unified Structure Engine: Every module — from regime detection to FVG creation to signal generation — operates through a single shared structure engine. This means that a Break of Structure event does not exist in isolation; it is immediately contextualized by the current regime state, the active reaction zones, the volume delta direction, and the volatility environment. This cross-module awareness produces more meaningful signals than running separate tools independently.
Proprietary Structure Score: A composite scoring algorithm evaluates the current market state across eight weighted dimensions — structural trend direction, swing pattern quality, active imbalance zone count, order block density, volume conviction, moving average alignment, regime classification, and delta flow direction. The specific weights, thresholds, and interaction rules that produce this score are original and calibrated through extensive testing.
Adaptive Sensitivity System: A single sensitivity control adjusts detection thresholds across every module simultaneously, ensuring that the entire indicator tightens or loosens its criteria in a coordinated way. This is not a simple multiplier — the sensitivity adjustment is calibrated differently for each module based on how that module's detection logic responds to threshold changes.
Priority-Based Signal Architecture: The institutional signal system uses a six-tier priority hierarchy with cooldown management to ensure that only the most significant event is displayed at any given time. Higher-priority signals (such as liquidity grabs and Wyckoff events) suppress lower-priority ones (such as delta surges and engulfing patterns) within a configurable cooldown window. The specific priority ordering, cooldown interaction rules, and signal qualification criteria are proprietary.
Multi-Factor Candle Coloring: Candles are colored through a cascading priority system that evaluates displacement status, VWAP band position, and structural trend direction in a specific order. This produces candle colors that immediately communicate the most important context about each bar without requiring the trader to check multiple indicators.
The Regime Engine
At the foundation of the Sovereign Meridian is a regime classification system that determines the current market state. The regime engine evaluates three independent analytical dimensions:
Trend Alignment: The indicator monitors the relationship between short-term, medium-term, and long-term moving averages to determine whether the market is in a directionally aligned state. Full alignment in one direction indicates a strong trending environment. Mixed alignment indicates transitional or range-bound conditions.
Institutional Flow Direction: VWAP (Volume Weighted Average Price) slope analysis measures the direction and intensity of institutional order flow over a lookback period. The slope is normalized to make it comparable across instruments with different price scales and volatility levels. A positive normalized slope indicates net institutional buying pressure; negative indicates selling pressure; flat indicates balanced flow.
Volatility State: Bollinger Band width percentile ranking classifies the current volatility environment. When volatility compresses into the lowest percentile, a Squeeze state is detected — often a precursor to an explosive directional move. When volatility expands into the highest percentile, an Expansion state is detected — indicating that a significant move is already underway.
These three dimensions combine to classify the market into one of five regimes: Trend Up, Trend Down, Range, Squeeze, or Expansion. The regime state directly influences how every other module behaves — from how reaction zones are colored to which signals are generated to how candles are tinted.
The Structure Engine
The structure engine tracks the market's swing-based directional bias using pivot-based swing high and swing low detection. It maintains a history of the last two swings on each side, enabling pattern recognition:
Swing Pattern Recognition: The engine identifies higher highs with higher lows (bullish structure), lower highs with lower lows (bearish structure), and transitional patterns where the swing sequence is mixed.
Break of Structure (BOS): When price closes beyond a previous swing level in the direction of the existing structural trend, a BOS is recorded. This confirms that the current trend is continuing and that the market is making new structural progress.
Change of Character (CHoCH): When price closes beyond a previous swing level against the existing structural trend, a CHoCH is recorded. This is a potential reversal signal — the market's character is shifting from one directional bias to the other. CHoCH events are labeled on the chart with reference lines extending forward from the break level.
Displacement Detection: The engine identifies displacement candles — bars with exceptionally large bodies relative to their range and to the recent average body size. These candles indicate aggressive institutional order flow and often coincide with the creation of new reaction zones. The sensitivity control adjusts the detection thresholds for displacement candles in coordination with all other modules.
Reaction Zones: Fair Value Gaps and Order Blocks
The Sovereign Meridian identifies and tracks two types of institutional reaction zones:
Fair Value Gaps (FVG) are three-candle price imbalances where the market moved so aggressively that a gap was left in the price ladder. These gaps represent areas where one side of the market was overwhelmed, and price often returns to fill them. The indicator:
Detects bullish and bearish FVGs using the classic three-candle pattern
Filters out insignificant micro-gaps using an ATR-based minimum size threshold (adjusted by the sensitivity control)
Draws each FVG as a dotted-border box with directional coloring — teal for bullish, coral for bearish
Tracks fill status in real-time: when price returns to close the gap, the box fades to grey, indicating the imbalance has been resolved
Automatically manages zone count, removing the oldest zones when the configurable maximum is exceeded
Order Blocks (OB) are the last opposing candle before a strong directional move, confirmed by above-average volume. They represent price levels where institutional orders were placed and where resting orders may still exist. The indicator:
Detects bullish and bearish OBs using engulfing-style pattern recognition with a configurable strength multiplier
Requires volume confirmation — the signal candle must have volume exceeding the 20-bar average
Draws each OB as a solid-border box with directional coloring — azure/cobalt for bullish, coral/rose for bearish
Tracks mitigation: when price returns to the OB zone after sufficient bars have passed, the box fades and its border becomes dashed, indicating the zone has been tested
Manages zone count with automatic cleanup of the oldest zones
Liquidity Mapping
The indicator maps key liquidity features that institutional traders use to plan entries, exits, and targets:
Equal Highs (EQH) and Equal Lows (EQL): When two consecutive swing highs or swing lows form at nearly the same price level (within an ATR-based tolerance), the indicator identifies them as Equal Highs or Equal Lows. These levels are significant because they represent areas where stop orders tend to cluster — above equal highs (buy stops) and below equal lows (sell stops). Institutional traders often engineer price moves toward these levels to fill large orders. EQH/EQL levels are drawn as dashed lines that extend forward and are automatically removed when price sweeps through them.
Premium and Discount Zones: The range between the last swing high and swing low is divided at the equilibrium (50%) level. The upper half is labeled Premium — where sellers have a statistical edge. The lower half is labeled Discount — where buyers have a statistical edge. A dotted equilibrium line marks the midpoint. These zones help traders understand whether they are buying at a discount or selling at a premium relative to the current structural range.
Key Institutional Levels: Prior Day High, Prior Day Low, Prior Week High, and Prior Week Low are drawn as dashed reference lines with labels. These levels are fetched using anti-repaint methodology (no future data references) and represent the most-watched institutional reference points on any chart.
VWAP Deviation Bands
The indicator plots VWAP with two standard deviation bands above and below, creating a statistical framework for price position:
Inner Band (+/- 1 standard deviation): Price within this band is in the "normal" range relative to the volume-weighted average. This is the fair value zone where most trading activity occurs.
Outer Band (+/- 2 standard deviations): Price beyond the inner band but within the outer band is in an extended state. Price beyond the outer band is at a statistical extreme — more than two standard deviations from the volume-weighted mean.
Regime-Adaptive Coloring: The VWAP bands change color based on the current regime state. In a bullish regime, the bands are azure. In a bearish regime, they are coral. In neutral conditions, they are silver. This provides immediate visual context about the directional environment without requiring the trader to check the HUD.
Band Fills: The area between the inner bands is filled with a subtle tint, and the area between the inner and outer bands receives a lighter fill. This creates a visual "channel" that makes it easy to see where price sits relative to the institutional benchmark.
Institutional Signal Detection
The Sovereign Meridian detects six types of institutional events, organized in a strict priority hierarchy to prevent visual clutter:
Liquidity Grab (highest priority): Price sweeps beyond a swing level and closes back inside, with a wick significantly larger than the body. This is a classic stop-hunt pattern where institutional traders push price into a liquidity pool to fill orders, then reverse. These events are marked with gold labels and include a reference line and highlight box at the grab level.
Wyckoff Spring / Upthrust: Price sweeps below a swing low (Spring) or above a swing high (Upthrust) and closes back inside, confirmed by above-average volume. These are accumulation and distribution signals from Wyckoff methodology — among the most reliable reversal patterns in institutional trading.
Absorption: High volume with small price range — the Wyckoff "Effort vs Result" concept. When large volume produces minimal price movement, it indicates that institutional orders are being absorbed without moving the market. This often precedes a directional breakout as the absorption phase completes.
Volume-Confirmed Engulfing: Classic engulfing candle patterns where the current bar's body fully engulfs the prior bar's body, confirmed by volume exceeding the 20-bar average. These patterns indicate a shift in short-term control from buyers to sellers or vice versa.
Delta Surge: When the buy/sell volume ratio becomes heavily skewed in one direction, indicating strong one-sided institutional flow. This confirms directional conviction in the current move.
Change of Character (lowest priority): CHoCH events from the structure engine are also displayed as signals with reference lines, providing structural context alongside the order flow signals above.
Each signal type has its own color and label style for instant recognition. The cooldown system ensures a minimum number of bars between signals on the same side (bull/bear), and higher-priority signals reset the cooldown for lower-priority ones. This means you will never see a cluttered chart with overlapping labels — only the most significant event at any given moment is displayed.
The Structure Score
The proprietary Structure Score (0-100) synthesizes information from every module into a single number that represents the overall conviction level of the current market state. The score evaluates:
Whether a directional structural trend is established
Whether the swing pattern supports the trend (higher highs/higher lows or lower highs/lower lows)
How many active, unfilled Fair Value Gaps exist (more active FVGs = more institutional imbalance)
How many unmitigated Order Blocks exist (more active OBs = more institutional interest)
Whether current volume is above average (confirming participation)
Whether moving averages are aligned in a trending configuration
Whether the regime engine confirms a trending state
Whether the volume delta supports the directional bias
Each component contributes a weighted amount to the total score, capped at 100. The specific weights and caps for each component are proprietary. Scores above 70 indicate strong directional conviction with multiple confirming factors. Scores between 40-70 indicate moderate conditions. Below 40 indicates weak or conflicting signals.
The Institutional Bias
The HUD displays a weighted institutional bias reading (BULL / BEAR / LEAN BULL / LEAN BEAR / NEUTRAL) computed from the weighted sum of all currently active signals and conditions. Each signal type carries a different weight based on its historical reliability — liquidity grabs and Wyckoff events carry the highest weight, while delta surges carry the lowest. The regime state and moving average alignment provide baseline directional context. This gives traders an at-a-glance summary of which side has the institutional edge right now.
HUD Dashboard
The real-time HUD displays 16 metrics in a compact, color-coded table:
Regime state (Trend Up / Trend Down / Range / Squeeze / Expansion) with regime-specific color
Structure direction (Bullish / Bearish / Neutral)
SMA alignment state (Bull Aligned / Bear Aligned / Mixed)
RSI value with directional color coding
Structure Score (0-100) with green/gold/coral color coding
Volume ratio (current vs 20-bar average) with classification (Surge / High / Normal / Low)
Delta value with directional sign and color
Imbalance classification (BUY PRESSURE / SELL PRESSURE / Buyers / Sellers / Balanced)
Effort/Result ratio with Wyckoff absorption detection (ABSORB / High / Elevated / Normal)
VWAP band position (Above +2s / Above +1s / Upper Band / Lower Band / Below -1s / Below -2s)
Volatility state with Bollinger percentile (Squeeze / Expansion / Normal)
Active FVG and OB zone counts
Current Swing High and Swing Low price levels
Weighted Institutional Bias (BULL / BEAR / LEAN BULL / LEAN BEAR / NEUTRAL)
Visual Design — The Sovereign Theme
The indicator uses a custom "Sovereign" color palette — a desaturated, professional aesthetic built around muted blues, orchids, teals, corals, and golds on a dark graphite background. Every color choice carries meaning:
Azure / Cobalt: Bullish structure, VWAP in bullish regime, SMA 20
Coral / Rose: Bearish structure, bearish regime, bearish signals
Teal / Mint: Bullish reaction zones (FVG), EQL levels, discount zone
Gold / Amber: Liquidity grabs, squeeze state, equilibrium, warnings
Orchid / Violet: Absorption events, SMA 50, CHoCH signals
Sage / Emerald: Strong bullish signals, springs, high scores
Silver / Iron: Neutral states, mitigated zones, mixed conditions
Ice / Lavender: Key levels (PDH, PWH), reference information
The palette is intentionally desaturated compared to typical trading indicators. This reduces eye strain during extended chart sessions and ensures that when a bright signal does appear (gold liquidity grab, emerald spring), it immediately draws attention because it contrasts with the subdued baseline.
Anti-Repaint Design
The Sovereign Meridian is designed to produce signals that do not repaint:
All signal generation is gated behind confirmed bar close logic — signals only appear after the bar has closed, never during an open bar
Prior day and prior week levels are fetched with anti-repaint methodology (no future data references, no lookahead)
Pivot-based swing detection has an inherent offset equal to the lookback period, which is accounted for in the structure engine
The confirmed-bars-only toggle allows traders to verify the anti-repaint behavior by comparing real-time signals with historical ones
Configurable Inputs
The indicator provides organized input groups for customization:
Core System: Sensitivity control (1-3) that adjusts all detection thresholds simultaneously, and confirmed-bars-only toggle
Structure Engine: Swing lookback period, FVG visibility and maximum count, FVG minimum size filter, OB visibility and maximum count, OB strength multiplier
Reaction Zones: EQH/EQL visibility and tolerance, Premium/Discount zone visibility, swing level line visibility
Volatility Engine: Bollinger Band length and multiplier for squeeze/expansion detection
Visuals: VWAP bands, SMA ribbon, key levels, candle coloring, signal display with cooldown, HUD panel, displacement markers, regime background tint — all individually toggleable
How to Use the Sovereign Meridian
Step 1: Read the Regime
Check the HUD for the current regime state and the background tint. Trending regimes (azure or coral tint) favor directional trades. Squeeze (gold tint) means wait for a breakout. Range (no tint) favors mean-reversion approaches.
Step 2: Identify the Structure
Look at the structural trend direction in the HUD and the swing pattern on the chart. Are you seeing higher highs and higher lows, or lower highs and lower lows? BOS labels confirm trend continuation. CHoCH labels warn of potential reversals.
Step 3: Find Reaction Zones
Identify unfilled FVGs and unmitigated OBs in the direction of the structural trend. These are areas where price is likely to react. A bullish FVG in a bullish structure within a Trend Up regime is a high-probability long zone.
Step 4: Check the Score and Bias
A Structure Score above 70 with a BULL or BEAR institutional bias means multiple factors are aligned. This is when the highest-conviction trades occur. Scores below 40 or a NEUTRAL bias suggest waiting for clearer conditions.
Step 5: Use Signals for Timing
Liquidity grabs and Wyckoff springs/upthrusts at reaction zones provide entry timing. Absorption events warn that a move is being loaded. Delta surges confirm directional conviction.
Step 6: Manage with VWAP Bands
Use the VWAP deviation bands for position management. Price at +2 standard deviations in a long trade may be a good area to take partial profits. Price returning to the inner band after an extended move may be a re-entry opportunity.
Who This Indicator Is For
Traders who study institutional price action concepts (market structure, order flow, Wyckoff theory) and want a unified tool that connects these concepts
Traders who are tired of loading 4-5 separate indicators and mentally correlating their outputs
Traders who want a quantified Structure Score and institutional bias reading rather than subjective chart interpretation
Traders who value clean, professional visuals that reduce eye strain and highlight only the most significant events
Traders on any liquid instrument (forex majors, large-cap equities, crypto majors, futures) on timeframes of 5 minutes and above
Limitations and Honest Assessment
Swing detection has an inherent delay equal to the lookback period. Pivots are confirmed only after the right-side bars have formed. This means structure signals appear with a slight lag.
Volume-based features (OB confirmation, delta analysis, absorption detection) require reliable volume data. Instruments with poor volume reporting will produce less reliable signals.
FVG and OB zones are probabilistic reaction areas, not guaranteed reversal points. Price can and does move through zones without reacting.
The buy/sell volume split is estimated from candle structure, which is an approximation of true order flow. True tick-level delta requires exchange data not available in Pine Script.
The Structure Score is a heuristic composite, not a statistical model. It provides a useful summary but should not be the sole basis for trading decisions.
During low-liquidity periods (overnight sessions, holidays), all signals may be less reliable.
This indicator provides context and identifies high-probability zones and events. It does not predict the future and should be used as part of a broader trading plan with proper risk management.
Alert Conditions
The indicator includes 14 configurable alert conditions:
BOS Long / BOS Short — structural break of structure in either direction
CHoCH Long / CHoCH Short — change of character (potential reversal)
Bull / Bear Liquidity Grab — stop-hunt reversal events
Wyckoff Spring / Upthrust — accumulation and distribution signals
Absorption — institutional order absorption detected
Buy / Sell Delta Surge — strong one-sided volume flow
Bull / Bear Displacement — aggressive institutional candles
Regime Change — market regime transition
Why Closed Source
The Sovereign Meridian is published as invite-only with protected source because the proprietary value lies not in the individual concepts it employs — which are well-documented in institutional trading education — but in the specific way these concepts are unified, weighted, scored, and prioritized through a shared engine. The Structure Score algorithm, the signal priority hierarchy with its cooldown interaction rules, the adaptive sensitivity system, the multi-factor candle coloring cascade, and the weighted institutional bias calculation represent original engineering work that goes beyond standard implementations. Protecting the source preserves the integrity of these systems while the description above provides full transparency about the underlying principles, what the indicator does, and how traders can use it.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Market structure analysis, regime detection, and institutional signal identification are frameworks for understanding price behavior — they are not prediction systems. Signals do not guarantee future price movement. Past patterns do not guarantee they will repeat. Always use proper risk management and never risk more than you can afford to lose. The author makes no claims about guaranteed profitability and is not responsible for any losses incurred from using this indicator.
-Made by officialjackofalltrades
Indicator

Multi Timeframe Fractal Map [Herman]Multi Timeframe Fractal Map
This script is a multi-timeframe chart-reading framework that evaluates how the current candle interacts with the previous candle’s range across several timeframes, then combines that higher-timeframe context with intermarket comparison, structural execution levels, and session reference prices on one chart.
The core concept behind the script is a range interaction and acceptance/rejection model:
first, higher timeframe candles are reconstructed on the active chart,
then the current higher timeframe candle is compared with the previous higher timeframe candle,
then the script evaluates whether price is accepting expansion beyond that prior range or rejecting it,
then correlated markets are checked for confirmation or divergence,
and only after that are lower timeframe structural levels used for execution reference.
The script does not generate automated buy/sell orders.
Its purpose is to organize context first and execution second.
Why these components are combined
In discretionary intraday trading, traders often read:
higher timeframe structure on one chart,
range interaction and liquidity events on another,
intermarket confirmation separately,
execution levels on lower timeframes,
and session anchors such as PDH/PDL or Daily Open somewhere else.
This separation can lead to inconsistent interpretation.
This script combines these elements because each one evaluates a specific stage of price behavior: range interaction defines direction, intermarket comparison evaluates confirmation, and lower-timeframe structure is only used after that context is established.
The intended order is:
define higher timeframe structure,
classify current interaction with the previous higher timeframe range,
check whether correlated markets confirm or diverge,
establish current price location using reference levels,
use lower timeframe structural levels only after that context is already defined.
For that reason, the script is not intended as a group of unrelated tools. Each part is included to evaluate a different stage of the same chart-reading process.
1) Higher timeframe candle reconstruction
The script reconstructs multiple higher timeframe candles directly on the active chart.
For each selected higher timeframe, it maintains rolling values for:
open,
high,
low,
close,
and time.
These values are built dynamically from lower timeframe data, so the candles update while they are still forming.
This allows the script to show:
the current developing HTF candle body and wick,
prior completed HTF candles,
current HTF range expansion,
and countdown information for the active HTF candle.
The purpose of reconstruction is to keep higher timeframe structure visible on the execution chart instead of requiring the user to switch layouts.
2) Higher timeframe range interaction model
For each selected higher timeframe, the script compares the current candle with the previous candle’s range.
Using the previous candle as C1 and the current candle as C2, it evaluates:
sweep high when C2 high exceeds C1 high,
sweep low when C2 low breaks below C1 low.
It then evaluates where C2 closes relative to C1:
close above C1 high = acceptance above the prior range,
close below C1 low = acceptance below the prior range,
sweep without close beyond the boundary = rejection / failed expansion.
If neither side is swept, or if both sides are swept without clear directional acceptance, the state is treated as neutral.
This classification defines whether price is:
expanding and being accepted,
expanding but being rejected,
or not interacting with the prior range in a meaningful way.
3) Candle progression logic (Candle 2 / Candle 3)
The script evaluates sequential HTF candle behavior.
Candle 2
A Candle 2 condition is identified when:
the previous candle has a defined direction,
the current candle interacts with the prior extreme (high or low),
and the current candle closes back through or beyond that level.
This marks a potential reversal attempt.
Candle 3
A Candle 3 condition requires:
a valid prior Candle 2,
directional continuation,
and a close condition relative to the prior range (configurable strength).
This marks follow-through after the initial reaction.
The purpose of this progression is to distinguish between:
an initial reaction at a level,
and confirmed expansion following that reaction.
4) HTF classification table
The classification table summarizes the same range interaction logic across all active higher timeframes.
For each timeframe, the script uses:
C2 high, low, close,
and C1 high, low.
Classification rules:
LONG → C2 closes above C1 high
SHORT → C2 closes below C1 low
AVOID → all other cases, including:
both sides swept,
no sweep,
sweep without acceptance.
This output is deterministic and reflects current HTF behavior.
A combined bias is calculated by counting agreement across timeframes.
It summarizes alignment, not prediction.
5) Intermarket comparison (SMT)
The script compares correlated index markets to evaluate confirmation or divergence.
General conditions:
bearish divergence → one market forms a higher high while another does not confirm,
bullish divergence → one market forms a lower low while another does not confirm.
This comparison is aligned with the same reconstructed HTF structure.
Its purpose is to evaluate whether a move is supported across markets or shows relative weakness.
6) Sweep visualization
The script highlights sweep behavior directly on higher timeframe candles.
A sweep occurs when price moves beyond a previous HTF high or low.
The subsequent close determines whether that move is accepted or rejected.
This is part of the same range interaction model and is not a separate signal.
7) CISD structural execution levels
CISD levels are derived from changes in candle direction on lower timeframes, using the open price of the candle where the directional shift occurs.
The script tracks these levels as:
pending → identified but not yet confirmed,
confirmed → price closes beyond the level.
These levels represent local structure and are intended for execution reference only after higher-timeframe context is established.
For example, if a higher timeframe shows acceptance above the previous range and correlated markets confirm the move, a CISD break in that direction can be used as execution alignment.
8) HTF imbalance (FVG)
The script evaluates imbalance using non-overlapping price ranges:
bullish imbalance → earlier high is below a later low,
bearish imbalance → earlier low is above a later high.
If price trades back through the zone, it is considered invalidated.
These zones are shown in the context of reconstructed HTF candles.
9) Reference levels (location)
The script plots:
Previous Day High / Low,
Previous Day midpoint (50%),
Daily Open,
Midnight Open,
4H Open.
These levels define location only and are not used for directional classification.
10) Optional time segmentation
The script can divide the session into fixed time blocks and track their high and low.
This allows observation of:
compression,
expansion,
and failed expansion
within repeated time intervals.
How to use the script
The script is intended to be used in sequence:
Observe higher timeframe candles to define structure.
Evaluate how the current candle interacts with the previous HTF range.
Determine whether expansion is accepted or rejected.
Check intermarket comparison for confirmation or divergence.
Review multi-timeframe classification for alignment.
Use reference levels to determine location.
Use CISD levels for execution only if higher-timeframe context is aligned.
Lower timeframe signals should not be used independently.
Intended use
This script is intended for traders who:
use multi-timeframe analysis,
focus on range interaction and structural behavior,
use intermarket comparison as context,
and require structured decision-making on one chart.
Not intended as
an automated trading system,
a standalone signal generator,
or a guarantee of future performance.
Credits
Portions of the higher timeframe candle reconstruction were adapted from open-source work by Çağrı Dikici and are used with permission.
Disclaimer
This script is provided for analytical and educational purposes only.
It does not constitute financial or investment advice.
All trading involves risk. Indicator

Reversal Entry ZonesReversal Entry Zones
Reversal Entry Zones is an open-source reversal-structure indicator built around one specific analytical idea:
a reversal zone becomes more meaningful when it is not drawn from a simple local pivot alone, but from a pivot that has been confirmed only after price reverses by a minimum threshold.
This script is not designed to predict every turning point in advance, and it is not intended to behave like a generic zigzag clone, a simple support/resistance overlay, or a basic pivot marker that labels every local high and low without further confirmation. Its purpose is to identify confirmed reversal points only after price has moved far enough in the opposite direction, then convert those confirmed points into structured bullish or bearish reversal zones on the chart.
The script also includes extension lines, optional projected zones, a synthetic path connecting one confirmed reversal to the next, and a status panel that summarizes the latest reversal state. These features are included to support chart structure analysis and review, not to imply future performance or automatic trade validity. :contentReference {index=2} :contentReference {index=3}
OPEN-SOURCE NOTE
This script is published open-source so users can inspect the logic directly, verify what the script is doing, and adapt parts of the workflow for their own research if they wish.
Even though the code is open, this description is intentionally detailed because many PulseWire users do not read Pine Script. The goal is for a user to understand what the script does, how it works, why its parts belong together, and how it may be used in practice without having to study the code line by line.
OVERVIEW
At a high level, the script does six things:
1. It tracks running highs and lows from a selected source stream.
2. It confirms a pivot only after price reverses by at least a minimum threshold.
3. It classifies the confirmed pivot as either bullish or bearish reversal structure.
4. It draws layered reversal visuals, including core and outer zones, reversal lines, and optional projected zones.
5. It can connect each confirmed reversal to the next using a synthetic path.
6. It summarizes the current structural state in a compact status panel.
The script is therefore meant to function as a complete reversal-structure mapping tool rather than as a single-purpose pivot or line-drawing script. :contentReference {index=4}
CORE IDEA
Many structural tools label local highs and lows immediately, but they do not distinguish clearly between a temporary pause and a reversal that has actually been confirmed by sufficient opposite-side movement.
This script is built around the idea that those two situations are not necessarily equivalent.
A local high is not automatically a bearish reversal.
A local low is not automatically a bullish reversal.
This script waits for price to reverse by a threshold that is large enough to qualify before it confirms the prior pivot as a true reversal point inside the script’s own logic.
That is the core of the model.
Instead of saying:
“a pivot exists here, so draw structure now,”
the script says:
“track the current swing extreme, and only confirm it as reversal structure after price has moved far enough away from it.”
That makes the framework more selective than a simple high/low labeling tool.
The script therefore organizes reversal structure in the following sequence:
track active swing highs and lows,
wait for a sufficient opposite move,
confirm the prior pivot only after that threshold is met,
classify the reversal as bullish or bearish,
then map that reversal into a layered zone and line structure for review.
That narrower focus is the main reason the script exists in its current form. :contentReference {index=5} :contentReference {index=6}
WHY THIS SCRIPT IS NOT A SIMPLE MASHUP
This script combines multiple components, but they are not included simply to place more features into one publication.
Each component has a specific function inside the same analytical process:
- The running high/low engine tracks the currently active swing state.
- The reversal-threshold model decides when a prior extreme is actually confirmed as a reversal.
- The selected source mode controls whether the model works from smoothed averages or raw highs/lows.
- The layered zone display turns each confirmed reversal into a readable structural area rather than a single line.
- The reversal lines extend the confirmed level forward for later reaction analysis.
- The synthetic path shows how one confirmed reversal connects to the next.
- The panel summarizes the most recent reversal state and current threshold context.
These layers are interdependent.
Without the running high/low engine, there is no active swing state to monitor.
Without the threshold model, the script would behave more like a basic pivot high/low marker.
Without the source-mode selection, the user could not control whether the structure is smoother or more reactive.
Without the zone display, the confirmed reversal would remain only a point or line rather than a readable area.
Without the reversal lines, later interaction with the level would be harder to monitor.
Without the synthetic path, the sequence of reversals would be less visually coherent.
Without the panel, the user would have less organized feedback about the latest confirmed reversal, threshold level, and current tracking state.
For that reason, the script is intended as a single reversal-confirmation framework, not as a random collection of unrelated visual elements. :contentReference {index=7} :contentReference {index=8}
WHAT THE SCRIPT DOES
The script monitors price using either:
- raw High/Low values,
- or an Average-based stream built from smoothed highs and lows.
It then tracks the current running swing in one direction until price reverses far enough to meet the active reversal threshold.
Once that happens:
- the prior extreme is confirmed as a reversal point,
- the script classifies it as bullish or bearish,
- stores its bar index and price,
- draws a layered visual structure around that level,
- optionally extends a projected zone forward,
- and updates the panel with the new structural information.
Depending on settings, the chart can show:
- bullish reversal labels,
- bearish reversal labels,
- outer reversal boxes,
- core reversal boxes,
- optional projected reversal zones,
- reversal level lines,
- synthetic path segments,
- and a status panel.
This means the script is not attempting to generate trade entries by itself. It is building a structured visual map of confirmed reversal locations according to the script’s internal threshold model. :contentReference {index=9}
HOW THE SCRIPT WORKS
1) SOURCE MODE
The script can work from two different source modes:
Average
High/Low
In High/Low mode, the script uses raw highs and lows directly.
In Average mode, the script uses smoothed high and low streams based on the selected Average Length.
This distinction matters because the selected source changes how reactive the structure engine is.
High/Low mode is more direct and can react more closely to raw price extremes.
Average mode is smoother and can reduce noise by filtering those extremes through an averaging process.
This allows the same reversal-confirmation logic to operate in either a more reactive or more smoothed structural mode. :contentReference {index=10}
2) EXTRA CONFIRMATION BARS
The script includes an Extra Confirmation Bars setting.
This offsets the source references used by the reversal engine and effectively delays how the script interprets the active high/low streams.
That allows the user to add an additional confirmation delay before reversal recognition is evaluated. In practical terms, this can make the script less reactive and help reduce immediate local noise around current bars. :contentReference {index=11} :contentReference {index=12}
3) REVERSAL THRESHOLD MODEL
The script does not confirm reversals from pivots alone.
It uses a threshold model built from three elements:
- ATR,
- a preset percentage factor,
- and a custom absolute minimum reversal value.
The final reversal threshold is the maximum of those elements.
This matters because the script wants to avoid confirming a reversal from movements that are too small to be meaningful under current market conditions.
In the current implementation, the threshold is derived from:
- the selected preset’s ATR multiplier,
- the selected preset’s percentage factor,
- current ATR,
- current close,
- and the Custom Absolute Reversal input.
The threshold is therefore adaptive rather than completely fixed. It reflects both current volatility and a hard minimum floor. :contentReference {index=13}
4) SENSITIVITY PRESET
The script includes a preset-based sensitivity model.
In the version you shared, the available presets are:
- Low
- Very Low
Those presets change the internal ATR multiplier and percentage factor used inside the reversal threshold model.
This means the preset is not just a cosmetic label. It directly changes how selective the reversal engine is.
A stricter preset requires a larger move before a reversal is confirmed.
A less strict preset allows reversals to be confirmed more easily.
That makes the preset one of the key inputs controlling how much structure the script draws. :contentReference {index=14}
5) RUNNING SWING ENGINE
The script maintains a running high and running low state.
When it is monitoring an upward swing, it continues updating the running high until price reverses by at least the required threshold.
When it is monitoring a downward swing, it continues updating the running low until price reverses by at least the required threshold.
Only after that opposite-side movement is large enough does the script confirm the prior extreme as an actual reversal point.
This is the central mechanism that separates the script from simple pivot markers. It does not mark the pivot at the moment it forms. It waits for the reversal to prove itself by moving far enough away. :contentReference {index=15}
6) BULLISH AND BEARISH REVERSAL CLASSIFICATION
Once a pivot is confirmed, the script classifies it as either:
- bullish reversal,
- bearish reversal.
A confirmed low pivot becomes a bullish reversal.
A confirmed high pivot becomes a bearish reversal.
The script then stores:
- the reversal direction,
- the reversal price,
- and the reversal bar.
These values are also used by the panel and optional synthetic path logic. :contentReference {index=16}
7) LAYERED ZONE DISPLAY
When a reversal is confirmed, the script can draw multiple structural layers around that level.
These include:
- an outer box,
- a core box,
- and, if enabled, an optional projected zone.
The core and outer boxes are centered on the confirmed reversal price and scaled using a volatility-aware half-range derived from ATR and relative price size.
This layered approach is important because it gives the user more than a single line. It creates a visually interpretable reversal area with inner and outer structure.
The optional projected zone extends the reversal level forward as a narrower zone based on the user-defined thickness percentage and extension length. This can help the user monitor how price interacts with the reversal area after it has been confirmed. :contentReference {index=17}
8) REVERSAL LINES
The script can draw a glow line and a main reversal line at the confirmed reversal level.
These lines extend forward by the selected Reversal Line Extension setting.
The purpose of these lines is to make the confirmed reversal level easier to monitor after formation. The thicker glow line improves visibility, while the main line provides the clearer structural reference. :contentReference {index=18}
9) REVERSAL LABELS
If enabled, the script places a bullish or bearish reversal label at the confirmed reversal zone.
These labels are not trade commands. They are structural tags that tell the user which kind of reversal the engine has confirmed and where that confirmation occurred according to the script’s logic. :contentReference {index=19}
10) SYNTHETIC PATH
The script can optionally connect one confirmed reversal to the next using a synthetic path line.
This path is not a price forecast and it is not an order-flow model. It is simply a structural visualization that helps the user follow the sequence of confirmed reversals over time.
This can be useful for understanding whether confirmed reversal points are alternating in a way that creates readable turning structure or whether the market is moving more erratically. :contentReference {index=20}
11) STATUS PANEL
The panel summarizes the most recent state of the reversal engine.
Depending on the current chart state, it can show:
- the latest signal type,
- the last signal price,
- bars since the last reversal,
- current threshold value,
- ATR value and active zone count,
- whether the engine is currently monitoring for a bullish or bearish reversal,
- preset and source mode.
This panel is not meant to predict the next reversal. Its purpose is to organize the script’s current state into a readable summary. :contentReference {index=21}
WHAT MAKES THIS SCRIPT ORIGINAL
This script uses familiar building blocks such as:
- pivots,
- ATR,
- price-percentage thresholds,
- smoothed price streams,
- projected zones,
- panel summaries.
Those building blocks are not original by themselves.
The originality of this script is not in inventing a completely new primitive indicator. The originality lies in how those familiar elements are arranged into one confirmed-reversal workflow:
running swing tracking
→ adaptive reversal-threshold calculation
→ delayed pivot confirmation
→ bullish/bearish reversal classification
→ layered reversal visualization
→ optional projected zone extension
→ synthetic path mapping
→ structural status panel
That full sequence is the main reason this script exists as its own publication.
It is not intended to be simply another pivot script, another ATR-based filter, or another generic dashboard. It is specifically a reversal-confirmation framework that combines threshold-based pivot confirmation, layered reversal-zone display, structural sequencing, and chart-state review in one workflow. :contentReference {index=22} :contentReference {index=23}
WHAT APPEARS ON THE CHART
Depending on settings, the chart may display:
- bullish reversal labels,
- bearish reversal labels,
- outer reversal boxes,
- core reversal boxes,
- projected reversal zones,
- reversal level lines,
- synthetic path lines,
- and a status panel.
Users who want a cleaner chart can disable some visual layers and keep only the elements most relevant to their workflow. :contentReference {index=24}
HOW TO USE THE SCRIPT
A practical workflow is:
1. Add the script to a standard candlestick chart.
2. Choose whether you want to work from Average mode or raw High/Low mode.
3. Set the Average Length if Average mode is used.
4. Set ATR Length and Custom Absolute Reversal so the threshold model matches the instrument’s behavior.
5. Choose the preset that gives the level of selectivity you want.
6. Decide whether to show reversal labels, projected zones, and synthetic path.
7. Watch for newly confirmed bullish or bearish reversal areas.
8. Use reversal lines and projected zones to observe how price behaves around those confirmed levels.
9. Use the synthetic path and recent reversal sequence as structural context rather than as a predictive model.
10. Combine the script’s output with your own market framework, confirmation rules, and risk management.
This script is best understood as a structured decision-support and chart-review tool, not as a self-sufficient automated trading solution. :contentReference {index=25} :contentReference {index=26}
SETTINGS REFERENCE
Confirmation Settings
- Extra Confirmation Bars: adds additional confirmation delay to reversal recognition.
Sensitivity
- Preset: controls how selective the reversal engine is by changing the internal threshold model.
Reversal Calculation
- Swing Source: selects Average or High/Low logic.
- Average Length: smoothing length used in Average mode.
- ATR Length: ATR reference length used in the threshold model.
- Minimum Absolute Reversal: hard minimum reversal filter.
Zone Display
- Show Reversal Labels: shows or hides bullish/bearish reversal labels.
- Show Projected Zones: enables or disables forward reversal zones.
- Max Zones: limits how many projected zones remain visible.
- Zone Extension: controls how far projected zones extend.
- Zone Thickness (%): controls the projected zone thickness relative to price.
Reversal Lines
- Reversal Line Extension: controls how far reversal lines extend.
- Max Reversal Levels: limits how many reversal levels remain visible.
- Label Size: controls reversal-label size.
Synthetic Path
- Show Synthetic Path: enables or disables the structural connection path.
- Path Width: controls the width of the synthetic path.
- Path Style: selects solid, dashed, or dotted display.
- Max Path Segments: limits how many path segments remain on the chart.
Colors
- Bullish Color: sets the bullish reversal color.
- Bearish Color: sets the bearish reversal color.
- Synthetic Path Color: sets the synthetic path color.
Status Panel
- Show Status Panel: enables or disables the panel.
- Panel Position: controls panel location. :contentReference {index=27} :contentReference {index=28}
IMPORTANT PRACTICAL NOTES
This script depends heavily on the selected threshold configuration.
If the threshold is too small, reversals may be confirmed too frequently and the chart may become overly sensitive.
If the threshold is too large, reversal confirmations may become very rare and the script may react too slowly for the intended use.
The selected source mode also matters:
- High/Low mode is more reactive,
- Average mode is smoother.
That means the same instrument can produce meaningfully different reversal structures depending on:
- preset,
- ATR length,
- average length,
- confirmation bars,
- and custom absolute reversal settings. :contentReference {index=29}
LIMITATIONS AND SHORTCOMINGS
This script has important limitations:
- It is a reversal-confirmation model, not a complete market-structure system.
- It does not predict reversals before the threshold is reached.
- It only confirms reversals after sufficient opposite-side movement has already occurred.
- It does not include volume, order flow, fair value gaps, or broader context filters.
- Its behavior depends heavily on ATR, preset sensitivity, source mode, and confirmation settings.
- The synthetic path is a structural visualization, not a predictive model.
- Projected zones are chart-analysis aids, not automatic entry or exit instructions.
- Different instruments, sessions, and volatility conditions can materially change how frequently reversals are confirmed.
- No reversal-threshold model can eliminate all false structure or all regime-dependent behavior.
For those reasons, the script should be used as a structured analysis and review framework, not as a promise of future price direction. :contentReference {index=30} :contentReference {index=31}
WHO THIS SCRIPT MAY BE USEFUL FOR
This script may be useful for traders who:
- want a threshold-based reversal confirmation tool,
- want something more selective than a simple pivot marker,
- want layered reversal zones rather than only single reversal lines,
- want to visualize the sequence of confirmed reversals over time,
- want a compact panel that summarizes the current structural state.
It may be less suitable for traders who:
- want a predictive signal tool,
- want a full trade-execution system,
- want a classic supply-and-demand engine,
- want a very minimal chart with no structural overlays.
DISCLAIMER
This script is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
Market conditions change, historical behavior does not guarantee future results, and users should perform their own analysis, validation, and risk management before using the script in live decision-making. Indicator

Liquidity Entry ZonesLiquidity Entry Zones
Liquidity Entry Zones is an open-source liquidity-sweep entry framework built around one specific analytical idea:
when price moves through a recently formed liquidity level, then reclaims back through that area with acceptable candle quality and directional context, that event can be treated as a structured entry opportunity rather than as a generic wick sweep or random rejection candle.
This script is not designed to mark every swing high or swing low, and it is not intended to behave like a generic support/resistance overlay, a basic pivot script, or a simple “liquidity sweep detector” that treats every sweep in the same way. Its purpose is to store recent liquidity levels, detect meaningful sweeps through those levels, validate reclaim behavior, filter the candle using quality conditions, confirm the setup inside a limited time window, and optionally project a fixed-risk trade structure on the chart for review. :contentReference {index=1}
The script also includes optional sweep guides, signal visuals, a compact status panel, and an internal trade simulation layer so users can inspect how the framework behaves under the chosen settings. Those review tools are included to support chart study and comparison, not to imply future performance. :contentReference {index=2}
OPEN-SOURCE NOTE
This script is published open-source so users can inspect the logic directly, verify what the script is doing, and adapt parts of the workflow for their own research if they wish.
Even though the code is open, this description is intentionally detailed because many PulseWire users do not read Pine Script. The goal is for a user to understand what the script does, how it works, why its parts belong together, and how it may be used in practice without needing to reverse-engineer the code line by line.
OVERVIEW
At a high level, the script does seven things:
1. It stores recent pivot highs and pivot lows as liquidity reference levels.
2. It checks whether price sweeps through one of those stored levels by a minimum pip distance.
3. It requires reclaim behavior after the sweep, using either a close-back-inside rule or a stronger reclaim condition.
4. It filters the sweep candle using wick percentage, body percentage, candle range, optional EMA context, and optional midline confirmation.
5. It allows a limited confirmation window after the sweep so entries are not forced to happen only on the exact sweep bar.
6. It can project a fixed take-profit / stop-loss model and track simulated outcomes.
7. It summarizes the current state and projected results in a status panel.
The script is therefore meant to function as a complete liquidity-sweep reclaim framework rather than as a single-purpose pivot or line-drawing tool. :contentReference {index=3}
CORE IDEA
Many sweep-based tools detect only one event: price traded above a prior high or below a prior low.
This script takes a narrower and more selective approach.
Its central assumption is that a sweep alone is not enough. A useful entry event requires more than just temporary liquidity violation. The script therefore asks additional questions:
- Was the swept level a recent stored liquidity level derived from pivot structure?
- Did price move far enough beyond that level to qualify as a real sweep?
- Did price reclaim back through that area in a meaningful way?
- Was the sweep candle structurally acceptable in terms of wick, body, and range?
- Did the confirmation happen within a defined number of bars?
- Was the signal aligned with the optional EMA context?
- Did the confirmation candle behave the way the selected setup requires?
Because of that, the script does not treat all sweeps equally. It attempts to organize the process into a more selective sequence:
first identify liquidity,
then detect a sweep,
then validate reclaim quality,
then confirm within a limited window,
then project the resulting setup into a standardized chart-review structure.
That narrower focus is the main reason the script exists in its current form. :contentReference {index=4}
WHY THIS SCRIPT IS NOT A SIMPLE MASHUP
This script combines multiple components, but they are not included simply to place more features into one publication.
Each component has a specific role inside the same analytical process:
- Pivot storage defines where recent liquidity levels exist.
- Sweep detection checks whether those levels have actually been taken by price.
- Reclaim logic checks whether price closes back through the swept area in a meaningful way.
- Candle-quality filters reduce weak or low-information sweeps.
- The EMA filter provides optional directional context.
- The confirmation window prevents stale sweeps from remaining valid indefinitely.
- The cooldown logic reduces clustered signals.
- The trade simulation layer maps the resulting setup into a consistent risk framework.
- The panel organizes current state and projected review metrics into one readable output.
These layers are interdependent.
Without the pivot-based liquidity storage, there is no structured level to sweep.
Without the minimum sweep distance, trivial overextensions would count too easily.
Without reclaim validation, the script would mark many sweeps that never actually regained the level.
Without wick/body/range filters, weak candles would be treated too similarly to stronger rejection candles.
Without the confirmation window, old sweep conditions could stay alive for too long.
Without the EMA filter, the framework would lose one of its optional directional context filters.
Without the simulation layer, the user would still need to draw projected entry, stop, and target structure manually.
Without the status panel, the user would have less organized feedback when monitoring current sweep state, bias, and simulated results.
For that reason, the script is intended as a single liquidity-reclaim framework, not as a random bundle of unrelated features. :contentReference {index=5}
WHAT THE SCRIPT DOES
The script stores recent pivot highs and lows as liquidity levels, then watches for price to trade through those levels by at least the selected sweep distance in pip terms.
Once a sweep occurs, the script can evaluate whether the candle reclaimed back through the level. That reclaim can be interpreted in one of two ways:
- Close Back Inside
- Strong Reclaim
After that, the script can apply candle-quality filters based on:
- wick percentage,
- body percentage,
- minimum candle range,
- optional EMA alignment,
- optional midline-break confirmation,
- and candle-body direction for long or short confirmation.
If the setup remains valid within the selected confirmation window, the script can confirm a BUY or SELL signal.
When enabled, the simulation layer can then project:
- entry,
- fixed stop loss,
- fixed take profit,
- entry zone,
- target box,
- stop box,
- entry and invalidation lines,
- and active trade labels.
The script can also show sweep guides, signal markers, bar coloring, and a status panel summarizing its current state and projected statistics. :contentReference {index=6}
HOW THE SCRIPT WORKS
1) LIQUIDITY LEVEL STORAGE
The script uses pivot highs and pivot lows to create recent liquidity reference points.
A pivot high becomes a candidate buy-side liquidity reference.
A pivot low becomes a candidate sell-side liquidity reference.
The script stores a configurable number of recent levels so that sweep detection is based on previously identified structural points rather than arbitrary price movement. This makes the framework level-based rather than purely candle-based. :contentReference {index=7}
2) SWEEP DETECTION
Once liquidity levels are stored, the script checks whether current price moves beyond a recent level by at least the configured minimum sweep distance.
For a bearish sweep setup:
price must move above a stored high.
For a bullish sweep setup:
price must move below a stored low.
This distance is measured in pip terms using the selected pip-size logic. That means the same script can adapt to forex, JPY pairs, gold, or index-style symbols more consistently, assuming the pip mode is set correctly. :contentReference {index=8}
3) RECLAIM RULE
A sweep alone is not enough.
After the level is taken, the script requires reclaim behavior. It supports two reclaim interpretations:
Close Back Inside:
price must close back inside the swept level.
Strong Reclaim:
price must close back inside the swept level and also close beyond the candle midline in the reclaim direction.
This is important because many sweep candles do not actually reclaim decisively. The reclaim rule exists to distinguish “level taken” from “level taken and then actively rejected back through.” :contentReference {index=9}
4) CANDLE QUALITY FILTERS
The script evaluates sweep-candle quality using:
- minimum wick percentage,
- maximum body percentage,
- minimum candle range in pips.
This means the framework prefers sweeps where the wick expresses the actual sweep behavior and the body does not dominate too heavily relative to the total candle. The minimum-range filter helps avoid very small candles that technically sweep a level but do not carry enough information.
The script also allows:
- long confirmation must be bullish,
- short confirmation must be bearish.
These body-direction filters make the confirmation stricter and help align the final signal with the intended reclaim direction. :contentReference {index=10}
5) OPTIONAL EMA CONTEXT
The script includes an optional EMA trend filter using a configurable EMA length.
If enabled:
- long-side confirmations require price above the EMA,
- short-side confirmations require price below the EMA.
This does not turn the script into a full trend-following system. Instead, it acts as a directional context filter designed to reduce signals that reclaim against the selected EMA bias. :contentReference {index=11}
6) CONFIRMATION WINDOW
The script does not require the final entry to happen only on the exact sweep candle.
Instead, when a valid sweep is detected, it can remain eligible for a limited number of bars. During that confirmation window, the script checks whether the final bullish or bearish confirmation conditions are met.
This matters because some traders want the sweep candle itself to reclaim strongly, while others want to allow one or two bars for the actual confirmation to develop. The confirmation window makes that possible without letting very old sweep conditions remain valid indefinitely. :contentReference {index=12}
7) MIDLINE CONFIRMATION
The script also supports an optional requirement that price close beyond the midpoint of the sweep candle.
For bullish confirmation:
price must close above the sweep candle midpoint.
For bearish confirmation:
price must close below the sweep candle midpoint.
This adds an additional reclaim-strength condition and is intended to reduce weaker closes that technically qualify but do not show enough directional reclaim behavior. :contentReference {index=13}
8) SIGNAL COOLDOWN
The script includes a cooldown period between signals.
Once a signal fires, the framework waits the configured number of bars before allowing a new one. This reduces clustered signals and prevents the chart from rapidly stacking similar setups in a short space of time. :contentReference {index=14}
9) QUALITY SCORE
The script computes an internal quality score for the sweep using a weighted combination of:
- wick contribution,
- body contribution,
- candle-range contribution,
- EMA alignment,
- reclaim success,
- and midline-break success.
This score is used as an internal summary of signal quality and also appears in the panel or labels depending on the visual configuration.
The score is not a guarantee of outcome. It is simply an internal ranking model that summarizes how well the current setup meets the script’s own filter conditions. :contentReference {index=15}
10) TRADE SIMULATION
When enabled, the script can simulate a fixed-risk trade projection.
For long signals:
- entry is placed at close,
- TP is placed above entry by the selected take-profit pip distance,
- SL is placed below entry by the selected stop-loss pip distance.
For short signals:
- entry is placed at close,
- TP is placed below entry by the selected take-profit pip distance,
- SL is placed above entry by the selected stop-loss pip distance.
The simulation can also:
- block new signals while a trade is active,
- keep or hide stopped trades,
- draw entry zone, target zone, stop zone, entry line, invalidation line, and projection line,
- track total trades, wins, losses, and net pips.
This is a chart-review tool, not an execution engine. Its purpose is to make the framework easier to inspect after the signal appears. :contentReference {index=16}
11) SAME-BAR PRIORITY
In the version you shared, same-bar TP/SL handling is conservative: if both target and stop appear to be touched on the same bar after entry, SL takes priority. This matters because bar data alone does not reveal exact intrabar order, and a strict rule prevents artificially optimistic results. :contentReference {index=17}
12) PANEL AND STATE MODEL
The status panel summarizes the current internal state of the framework. It can display items such as:
- whether simulation is on,
- current EMA-based bias,
- sweep state,
- signal state,
- quality score,
- volatility state,
- session state,
- risk state,
- total trades,
- win rate,
- net pips,
- max drawdown in pips.
This panel is meant to condense the script’s state into one readable location rather than force the user to infer everything visually from price bars and labels alone. :contentReference {index=18}
WHAT MAKES THIS SCRIPT ORIGINAL
This script uses familiar building blocks such as:
- pivots,
- liquidity sweeps,
- EMA filtering,
- candle wick/body analysis,
- fixed TP/SL simulation,
- status panels.
Those building blocks are not original by themselves.
The originality of this script is not in inventing a completely new primitive indicator. The originality lies in how those familiar elements are arranged into one selective workflow:
pivot-based liquidity storage
→ minimum-distance sweep detection
→ reclaim validation
→ wick/body/range quality filtering
→ optional EMA alignment
→ limited-bar confirmation
→ cooldown control
→ fixed-risk trade projection
→ status-panel review
That full sequence is the main reason this script exists as its own publication.
It is not intended to be simply another pivot script, another stop-hunt detector, another EMA tool, or another TP/SL box script. It is specifically a liquidity-reclaim entry framework that combines structural level storage, sweep validation, candle-quality filtering, confirmation logic, and projected review in one workflow. :contentReference {index=19}
WHAT APPEARS ON THE CHART
Depending on settings, the chart may display:
- EMA filter,
- sweep guides,
- signal markers,
- BUY / SELL labels,
- signal bar coloring,
- entry zone,
- target zone,
- stop zone,
- entry line,
- invalidation line,
- projection path,
- status panel,
- TP / SL hit labels.
Users who want a cleaner chart can disable some visual components and keep only the layers most relevant to their workflow. :contentReference {index=20}
HOW TO USE THE SCRIPT
A practical workflow is:
1. Add the script to a standard candlestick chart.
2. Choose the correct pip mode for the instrument you are analyzing.
3. Set the pivot length and stored-level count to define how the script builds liquidity references.
4. Set the minimum sweep distance so trivial level violations are filtered out.
5. Choose the reclaim rule you want to use.
6. Configure candle-quality filters such as wick %, body %, and minimum range.
7. Decide whether to use the EMA trend filter.
8. Decide whether to require midline confirmation.
9. Choose the confirmation window and cooldown length.
10. If simulation is enabled, set TP and SL distances and decide whether new signals should be blocked while a trade is active.
11. Wait for a confirmed bullish or bearish liquidity reclaim.
12. Use the projected trade structure and panel as an analysis framework rather than as a blind instruction.
13. Review how the same rules behave over time and across symbols before relying on the framework in a live decision process. :contentReference {index=21}
This script is best understood as a structured decision-support and chart-review tool, not as a fully self-sufficient trading system.
SETTINGS REFERENCE
Trend Filter
- EMA Length: sets the EMA used for optional directional context.
- Use EMA Trend Filter: enables or disables EMA filtering.
Pip Settings
- Pip Mode: controls how pip size is interpreted for the current instrument.
Liquidity Sweep Detection
- Swing Pivot Length: defines the pivot depth used to create liquidity levels.
- Stored Liquidity Levels: controls how many recent levels remain in memory.
- Minimum Sweep Distance (Pips): defines how far price must move beyond a level to count as a sweep.
- Reclaim Rule: selects whether reclaim is based on close back inside or a stronger reclaim condition.
Candle Quality Filters
- Minimum Sweep Wick %: minimum wick contribution required from the sweep candle.
- Maximum Body %: maximum body share allowed for the sweep candle.
- Minimum Candle Range (Pips): minimum size required for the sweep candle.
- Long Confirmation Must Be Bullish: requires bullish body for long confirmations.
- Short Confirmation Must Be Bearish: requires bearish body for short confirmations.
Entry Confirmation
- Max Bars After Sweep For Confirmation: limits how many bars can pass before confirmation expires.
- Require Sweep Candle Midline Break: adds midpoint-based reclaim confirmation.
- Cooldown Bars Between Signals: prevents signals from clustering too closely.
Trade Simulation
- Enable Internal Trade Simulation: enables or disables projected trade logic.
- Take Profit (Pips): projected target distance.
- Stop Loss (Pips): projected stop distance.
- Block New Signals While Trade Is Active: prevents overlapping simulated trades.
- Show Stopped Trades: controls whether stopped-out trades remain visible.
Visual Settings
- Show Signal Labels: shows or hides BUY / SELL labels.
- Show Entry Line: shows or hides the projected entry line.
- Show Status Panel: enables or disables the panel.
- Color Signal Bars: colors confirmed signal bars.
- Show Sweep Guides: enables or disables sweep-guide visuals.
- Guide Extension Bars: controls how far guides extend.
- Signal Label Size: controls label size.
- Panel Position: controls panel location. :contentReference {index=22}
IMPORTANT PRACTICAL NOTE ON PIP MODE
The script uses pip-based calculations for:
- sweep distance,
- minimum candle range,
- take-profit distance,
- stop-loss distance.
Because of that, pip interpretation is critical.
If sweeps appear too small, too large, too frequent, too rare, or if projected TP/SL distances look inconsistent for the instrument being analyzed, the first setting to verify is Pip Mode. This is especially important on gold, JPY pairs, index-style symbols, and broker-specific tick formats. :contentReference {index=23}
LIMITATIONS AND SHORTCOMINGS
This script has important limitations:
- It is a liquidity-reclaim model, not a full market-structure engine.
- It only evaluates sweeps of stored pivot-based levels.
- It does not identify fair value gaps, order blocks, or discretionary structure beyond the stored liquidity levels.
- Signal quality depends heavily on the selected wick/body/range filters.
- EMA filtering is optional and only provides one form of directional context.
- The confirmation window can materially change signal frequency and behavior.
- The simulation layer uses simplified projected TP/SL logic and is not equivalent to real execution.
- Same-bar TP/SL handling uses a rule-based priority rather than true intrabar reconstruction.
- Historical projected outcomes should not be interpreted as guaranteed tradable results.
- No sweep-based model can remove all false signals or all regime-dependent behavior.
For those reasons, the script should be used as a structured analysis and review framework, not as a promise of future profitability. :contentReference {index=24}
WHO THIS SCRIPT MAY BE USEFUL FOR
This script may be useful for traders who:
- focus on liquidity sweeps and reclaim behavior,
- want a rules-based alternative to purely discretionary sweep reading,
- want candle-quality filters in addition to simple level breaks,
- want optional EMA context for directional alignment,
- want projected entry/TP/SL structure on the chart,
- want a compact state panel for monitoring the framework.
It may be less suitable for traders who:
- want a minimal pivot-only tool,
- want a complete multi-concept smart-money framework,
- want a full execution engine,
- want historical projected results to be treated as live-performance evidence.
DISCLAIMER
This script is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
Market conditions change, historical behavior does not guarantee future results, and users should perform their own analysis, validation, and risk management before using the script in live decision-making. Indicator

Reaction Entry EngineReaction Entry Engine
Reaction Entry Engine is an open-source supply and demand reaction indicator built around one specific analytical idea:
the first meaningful return into a structurally valid zone can carry different information than later retests of the same area.
This script is not designed to mark every possible touch of every level, and it is not intended to behave like a generic supply and demand overlay that treats repeated interaction the same way. Its purpose is to build supply and demand zones from confirmed pivot structure, optionally validate the strength of the move that created the zone, rank the zone using an internal quality model, detect first-touch reactions, and map those reactions into a structured on-chart framework for analysis and review.
The script also includes review panels so users can inspect how projected setups behaved over time under the current settings. Those review tools are included to support study and comparison, not to imply future performance.
OPEN-SOURCE NOTE
This script is published open-source so users can inspect the logic directly, verify what the script is doing, and adapt parts of the workflow for their own research if they wish.
Even though the code is open, this description is intentionally detailed because many PulseWire users do not read Pine Script. The goal is for a user to understand what the script does, how it works, why its parts belong together, and how it may be used in practice without having to study the code line by line.
OVERVIEW
At a high level, the script does six things:
1. It builds supply and demand zones from confirmed pivot structure.
2. It can source those zones from the chart timeframe, from a higher timeframe, or from both.
3. It can filter weak formations by checking whether the move surrounding the pivot had enough directional strength.
4. It can score zone quality using post-formation displacement, reaction behavior, penetration depth, and repeated-touch penalties.
5. It can detect first-touch reactions into valid zones.
6. It can project entry, stop, and target structure on the chart and summarize projected historical behavior in review panels.
The script is therefore meant to function as a complete first-touch zone reaction framework rather than as a single-purpose zone-drawing tool.
CORE IDEA
Many structural tools identify areas where price may react, but they do not distinguish clearly between the first meaningful return into a zone and later repeated interaction with that same area.
This script is built around the idea that those two situations are not necessarily equivalent.
A fresh or relatively intact zone may behave differently from a zone that has already been tested multiple times. Because of that, the script does not treat all contact events in the same way. It attempts to organize the workflow into a more selective sequence:
first identify structure,
then filter weak structure,
then rank remaining zones,
then focus on the earliest qualifying return,
then map that return into a consistent visual framework for review.
This narrower focus is the main reason the script exists in its current form.
WHY THIS SCRIPT IS NOT A SIMPLE MASHUP
This script combines multiple components, but they are not included simply to place more features into one publication.
Each component has a specific function inside the same analytical process:
- Zone construction defines the structural areas.
- Multi-timeframe sourcing expands or narrows the structural map.
- The impulse filter reduces zones formed without meaningful directional expansion.
- The quality engine separates stronger and weaker structural candidates.
- The first-touch logic makes the model more selective than a repeated-touch zone script.
- The projection layer reduces the need for manual chart annotation after a setup appears.
- The review panels allow the user to examine projected historical behavior under the chosen settings.
These layers are interdependent.
Without the zone engine, there is no structural area to evaluate.
Without impulse validation, the model accepts more weak or noisy pivots.
Without quality scoring, all detected zones are treated too similarly.
Without first-touch logic, the script behaves more like a generic touch-based zone tool.
Without the projection layer, the user still has to manually draw entry, stop, and target structure after each setup.
Without the review layer, the user has less organized feedback when comparing settings or reviewing behavior across time.
For that reason, the script is intended as a single first-touch supply and demand reaction framework, not as a random collection of unrelated features.
WHAT THE SCRIPT DOES
The script identifies supply and demand zones from confirmed pivot highs and pivot lows.
Once a zone is created, the script can continue to monitor it and decide whether it should remain only as a structural reference or whether it qualifies for deeper evaluation inside the reaction framework.
Depending on settings, the script can:
- draw supply and demand zones,
- create zones from the chart timeframe,
- create zones from a selected higher timeframe,
- merge nearby zones of the same type,
- classify zones using an internal quality model,
- detect first-touch BUY or SELL reactions,
- project entry, stop loss, and take profit structure,
- retain historical projected trades on the chart,
- summarize projected behavior in performance and daily review panels.
This allows the chart to function not only as a zone map, but also as a structured review environment for the script’s own reaction model.
HOW THE SCRIPT WORKS
1) SUPPLY AND DEMAND ZONE CONSTRUCTION
The script uses pivot highs and pivot lows to define structural areas.
A pivot high can produce a supply zone.
A pivot low can produce a demand zone.
Rather than treating a pivot as one exact price, the script expands the pivot into a zone using a configurable pip-based thickness. This is important because many traders interpret supply and demand as areas rather than as single lines.
The script can build zones from:
- the current chart timeframe,
- a selected higher timeframe,
- or both at the same time.
If nearby zones of the same type are close enough to one another, the script can merge them into a broader structural area. This is meant to reduce overlap and make the displayed structure easier to read.
2) CONFIRMED ZONE LOGIC
The script includes a minimum-touch setting for confirmed zones.
This setting allows users to distinguish between:
- zones that have merely been detected,
- and zones that have accumulated enough interaction to be considered more established.
Different traders interpret this differently. Some prefer relatively fresh zones. Others prefer zones that have already shown repeated market interaction. The script is designed to support both approaches through settings rather than by forcing one interpretation.
3) TOUCH DETECTION
Zone interaction can be recognized using:
- wick touch,
- body touch,
- or both.
This affects how strict or permissive the model is when determining whether price has returned into a zone.
A wick-based model can capture sharp rejections that only briefly enter the area.
A body-based model is stricter and may reduce noise.
Using both provides broader coverage.
This means the same structural framework can be adapted to different preferences without changing the core logic of the script.
4) IMPULSE VALIDATION
Not every pivot represents meaningful structure.
Some pivots are formed during weak, indecisive, or noisy movement. To reduce that problem, the script can apply an impulse filter around the pivot that created the zone.
The impulse filter can evaluate factors such as:
- candle direction,
- candle range relative to ATR,
- candle body size relative to ATR,
- close location near the candle extreme,
- optional relative-volume participation.
The purpose of this filter is not to predict future direction by itself. Its purpose is simply to reduce zones that were formed without enough directional commitment.
5) QUALITY ENGINE
After a zone is created, the script can score it using an internal quality model.
The quality engine can consider:
- displacement after formation,
- reaction size after the first touch,
- penetration depth into the zone,
- repeated-touch penalty.
That information is then used to classify zones into internal grades such as:
- A,
- B,
- TRASH.
These grades are not guarantees and should not be interpreted as objective truth. They are simply the script’s own ranking method for separating stronger and weaker structural candidates under the current settings.
Users can keep all zones visible or restrict the workflow to higher-grade zones only.
6) FIRST-TOUCH REACTION MODEL
The central idea of the script is first-touch selection.
Rather than treating every revisit of a zone as equally important, the script attempts to detect the earliest qualifying return into a valid zone.
This makes the script more specific than:
- a basic supply and demand overlay,
- a general touch-alert tool,
- or a repeated-contact zone script.
For traders who consider early reactions to be structurally important, this framework may be useful because it intentionally avoids reacting in the same way to every later revisit of the same area.
7) TRADE PROJECTION LAYER
When a valid first-touch reaction is detected, the script can project a structured trade framework on the chart.
Depending on settings, this can include:
- BUY or SELL labels,
- an entry reference,
- stop loss,
- take profit,
- guide lines,
- TP and SL boxes,
- retained historical visual structure for later review.
This projection layer is not meant to claim that a setup will succeed. Its purpose is to reduce manual chart annotation and make the script’s reaction logic easier to inspect after the fact.
8) REVIEW PANELS
The script includes review panels that summarize projected historical behavior.
Depending on available chart history and current settings, the review may include metrics such as:
- total projected trades,
- wins,
- losses,
- win rate,
- profit factor,
- average result,
- net result,
- drawdown behavior,
- streak behavior.
A separate daily panel summarizes projected daily behavior according to the script’s configured timezone logic.
These panels are review tools only. They do not replace formal strategy testing, execution analysis, or live validation, and they should not be interpreted as promises of future performance.
WHAT MAKES THIS SCRIPT ORIGINAL
This script uses familiar technical-analysis building blocks such as pivots, ATR, candle structure, relative range expansion, optional volume comparison, and zone interaction logic.
Those building blocks are not original by themselves.
The originality of this script is not in inventing a completely new primitive indicator. The originality lies in how these familiar elements are arranged into one selective workflow:
pivot-based zone construction
→ optional multi-timeframe structure sourcing
→ impulse validation
→ quality scoring
→ first-touch selection
→ trade projection
→ on-chart review
That full sequence is the main reason this script exists as its own publication.
It is not intended to be simply another pivot tool, another ATR-based filter, or another chart dashboard. It is specifically a first-touch supply and demand reaction framework that combines structure detection, formation filtering, zone ranking, selective reaction logic, projection, and review in one workflow.
WHAT APPEARS ON THE CHART
Depending on settings, the chart may display:
- supply zones,
- demand zones,
- higher-timeframe zones,
- confirmed-zone coloring,
- zone labels,
- zone grades,
- BUY and SELL markers,
- entry / stop / target lines,
- TP / SL boxes,
- review panel,
- daily review panel.
Users who want a cleaner chart can disable some visual layers and keep only the ones most relevant to their workflow.
HOW TO USE THE SCRIPT
A practical workflow is:
1. Add the script to a standard candlestick chart.
2. Decide whether you want zones from the chart timeframe, from a higher timeframe, or from both.
3. Choose how strict touch detection should be by using wick touch, body touch, or both.
4. Enable the impulse filter if you want to reduce weaker pivot-based formations.
5. Enable the quality engine if you want to rank zones and restrict the workflow to stronger structural candidates.
6. Select the minimum accepted grade if you want stricter setup filtering.
7. Wait for a qualifying first-touch BUY or SELL reaction.
8. Use the projected entry, stop, and target structure as an analysis framework rather than as a blind instruction.
9. Review how prior projected setups behaved under the same settings.
10. Combine the script’s output with market context, execution rules, and risk management.
This script is best understood as a structured decision-support and chart-review tool, not as a fully self-sufficient trading system.
SETTINGS REFERENCE
Supply & Demand Engine
- Enable Supply & Demand Engine: turns structural zone detection on or off.
- Show S&D Zones: controls whether zone boxes are visible.
- Pip Value: converts pip-based calculations into instrument-specific price units.
- Pivot Left / Pivot Right: define pivot-confirmation depth.
- Use Chart Timeframe Zones: includes zones from the active chart timeframe.
- Use Higher Timeframe Zones: includes zones from the selected higher timeframe.
- Higher Timeframe: selects the HTF used for additional zone sourcing.
- Minimum Touches for Confirmed Zone: defines when a zone is considered confirmed.
- Zone Thickness (pips): controls zone thickness.
- Zone Merge Distance (pips): controls when nearby zones may be merged.
- Break Close Buffer (pips): defines the close-through buffer used in break logic.
- Maximum Stored Zones: limits how many zones remain in memory.
- Use Wick Touch / Use Body Touch: define how interaction with a zone is recognized.
Impulse Filter
- Enable Impulse Filter: turns pivot-strength filtering on or off.
- Impulse Candle Count: number of candles checked after pivot formation.
- ATR Length: ATR period used by the impulse model.
- Minimum Range x ATR: required range expansion relative to ATR.
- Minimum Body x ATR: required body expansion relative to ATR.
- Close Near Extreme: requires the candle to close near its extreme.
- Require Volume Condition: optionally adds a relative-volume filter.
- Volume SMA Length / Minimum Volume x SMA: control the volume filter.
Quality Engine
- Enable Quality Engine: turns zone scoring on or off.
- Displacement Bars: measures post-formation expansion.
- Minimum Displacement (pips): required structural push after formation.
- Reaction Window (bars): number of bars used to evaluate post-touch behavior.
- Minimum Reaction (pips): minimum bounce or rejection required.
- Maximum Penetration %: limits acceptable penetration into the zone.
- Touch Penalty: reduces score as repeated interaction accumulates.
- Hide TRASH Grade Zones: removes weaker zones from view.
- Show Grade on Zones: displays grade labels on the chart.
- Show Zone Labels / Zone Label Size: control zone-label visibility and size.
Trade Projection
- Enable Simulator: turns first-touch trade projection on or off.
- Take Profit RR: sets the target multiple relative to stop distance.
- Stop Loss (pips): sets the projected stop distance.
- Use Chart TF Signals Only: restricts projected setups to chart-timeframe zones.
- Minimum Grade: defines the lowest accepted grade for projected setups.
- Show Entry / Exit Labels: displays entry and exit labels.
- Show Entry / SL / TP Lines: displays projection lines.
- Projection Length (bars): extends projected visuals into future bars.
- Show TP / SL Boxes: displays TP and SL boxes.
- Box Fill / Border controls: change trade-box styling.
- Show Performance Panel / Panel Position: control review-panel visibility and position.
- Show Daily PnL Panel / Number of Days / Panel Position: control daily-review settings.
IMPORTANT PRACTICAL NOTE ON PIP VALUE
The script uses a Pip Value setting to convert internal pip-based distances into actual price distances.
This matters because different instruments use different decimal structures.
If zones, stop loss, take profit, or projected distances appear too compressed, too large, or otherwise inconsistent for the instrument being analyzed, the first setting to verify is Pip Value.
On some symbols, especially small-decimal forex instruments, this setting may need adjustment for the script’s structural and projection logic to behave as intended.
LIMITATIONS AND SHORTCOMINGS
This script has important limitations:
- It relies on pivot confirmation, so some structural elements are recognized only after a confirmation delay.
- Zone behavior can vary across symbols, brokers, spreads, sessions, and volatility regimes.
- Higher-timeframe zones depend on the selected timeframe and can materially change the number and spacing of setups.
- The quality engine is a ranking model, not an objective truth detector.
- The review panels reflect the script’s own projected logic and settings, not guaranteed tradable outcomes.
- The script can be sensitive to pip-conversion settings on some markets.
- First-touch logic is selective by design, so it may ignore later reactions that some traders would still consider relevant.
- No zone model can remove all false signals or all regime-dependent behavior.
For those reasons, the script should be used as a structured analysis and review framework, not as a promise of future profitability.
WHO THIS SCRIPT MAY BE USEFUL FOR
This script may be useful for traders who:
- study supply and demand behavior,
- care more about first-return reactions than repeated retests,
- want structural filtering rather than raw touch alerts,
- want automatic trade mapping for chart review,
- want historical on-chart review of projected outcomes.
It may be less suitable for traders who:
- want every zone retest marked,
- want a minimal chart with almost no overlays,
- want a finished strategy that requires no outside confirmation or discretion.
DISCLAIMER
This script is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
Market conditions change, historical behavior does not guarantee future results, and users should perform their own analysis, validation, and risk management before using the script in live decision-making. Indicator

MARKET PULSE Read the Energy, Not the Direction👉 Join the community, ask questions, share setups: discord.gg/8H4qdBDaEu
MARKET PULSE — Read the Energy, Not the Direction
Every indicator you've ever used tells you the same thing: which way price might go. RSI, MACD, stochastics — they're all measuring direction in different ways. Market Pulse does something fundamentally different. It measures the energy state of the market — the rhythm underneath price that exists before any move happens.
The concept is simple: markets breathe. Before every significant move, price compresses — ranges tighten, candles shrink, volatility collapses inward. The market is inhaling. Then it exhales. Price erupts, ranges expand, energy releases. Market Pulse makes that cycle visible in real time across four components stacked in a single clean pane.
BREATH (top section — blue/amber line)
This is the core reading. True range normalized against its own long-term average, so 1.0 always means "normal." When the line drops below the blue band (0.7), the market is compressing — inhaling, coiling, building potential energy. When it rises above the amber band (1.3), the market is expanding — exhaling, releasing, moving with conviction. A breath line that stays flat and low for many consecutive bars is the most important signal this indicator produces. That is a spring being loaded.
RHYTHM (middle section — green/red histogram)
Rhythm measures the rate of change of breath. Are we expanding faster than we were, or compressing faster? Green bars above the midline mean expansion is accelerating — the exhale is gaining momentum. Red bars below mean compression is deepening — the coil is getting tighter. The most powerful moment is when rhythm crosses from red to green after a prolonged compression period. That is the first sign the exhale has begun.
TENSION (bottom section — gradient fill)
Every bar that breath spends below 1.0 (below-normal range) accumulates tension. The fill builds from blue to amber as pressure increases. High tension means the spring has been coiled for a long time and release is statistically overdue. Tension does not decay instantly — it bleeds out slowly on expansion bars, reflecting how energy releases gradually after a long coil. When tension is at its peak and breath is still compressed, you are looking at maximum potential energy in the market.
PULSE RATE (dotted circles — overlay on breath section)
This tracks the average interval between breath peaks — how fast energy cycles are completing. When the dots are high, cycles are churning quickly (active, volatile market). When dots drop, cycles are slowing down. A decelerating pulse rate often precedes market exhaustion, regime change, or a significant transition in character. It is the one component that operates on a longer timescale than the others.
BACKGROUND ALERTS
🔵Blue background tint — Tension above 75% AND breath compressed below 0.7. The coil is tight. Maximum potential energy. The market is wound up.
🟠Amber background tint — Breath above 1.3 AND rhythm positive. Active release in progress. Energy is being deployed.
HOW TO USE IT
This indicator does not tell you to buy or sell. It tells you what state the market is in so you can make better decisions with whatever strategy you already use.
Use it to avoid trading in the wrong state — entering a trend trade during deep compression usually means getting chopped. Entering a range trade during active expansion means getting run over.
Use it to time entries on your existing signals — a buy signal that fires while tension is at extreme highs and breath is turning up is a very different trade than the same signal firing in a neutral state.
Use it to identify when something is about to happen — not what, but when the energy conditions are right for a significant move.
Use it across timeframes — compression on the daily while expansion fires on the 4H often means a powerful intraday move within a larger coiling structure.
SETTINGS
Base Period (default 20) — The lookback for ATR and breath calculation. Higher values = smoother, slower readings. Lower = more reactive.
Smoothing (default 5) — Applied to all components. Increase to reduce noise on lower timeframes.
Tension Lookback (default 50) — How far back tension and rhythm normalize themselves. Higher = tension builds more slowly, more selective extremes.
Pulse Rate Period (default 10) — How many breath cycles to average for the pulse rate calculation.
WORKS ON
All markets (Forex, Crypto, Equities, Futures, Indices) — All timeframes — Pine Script v6
This is not a signal generator. It is a market state reader. Learn the rhythm before you trade the move. Indicator

TPrecision MARKET PULSE Read the Energy, Not the DirectionHere's the full PulseWire description text, ready to paste:
MARKET PULSE — Read the Energy, Not the Direction
Every indicator you've ever used tells you the same thing: which way price might go. RSI, MACD, stochastics — they're all measuring direction in different ways. Market Pulse does something fundamentally different. It measures the energy state of the market — the rhythm underneath price that exists before any move happens.
The concept is simple: markets breathe. Before every significant move, price compresses — ranges tighten, candles shrink, volatility collapses inward. The market is inhaling. Then it exhales. Price erupts, ranges expand, energy releases. Market Pulse makes that cycle visible in real time across four components stacked in a single clean pane.
BREATH (top section — blue/amber line)
This is the core reading. True range normalized against its own long-term average, so 1.0 always means "normal." When the line drops below the blue band (0.7), the market is compressing — inhaling, coiling, building potential energy. When it rises above the amber band (1.3), the market is expanding — exhaling, releasing, moving with conviction. A breath line that stays flat and low for many consecutive bars is the most important signal this indicator produces. That is a spring being loaded.
RHYTHM (middle section — green/red histogram)
Rhythm measures the rate of change of breath. Are we expanding faster than we were, or compressing faster? Green bars above the midline mean expansion is accelerating — the exhale is gaining momentum. Red bars below mean compression is deepening — the coil is getting tighter. The most powerful moment is when rhythm crosses from red to green after a prolonged compression period. That is the first sign the exhale has begun.
TENSION (bottom section — gradient fill)
Every bar that breath spends below 1.0 (below-normal range) accumulates tension. The fill builds from blue to amber as pressure increases. High tension means the spring has been coiled for a long time and release is statistically overdue. Tension does not decay instantly — it bleeds out slowly on expansion bars, reflecting how energy releases gradually after a long coil. When tension is at its peak and breath is still compressed, you are looking at maximum potential energy in the market.
PULSE RATE (dotted circles — overlay on breath section)
This tracks the average interval between breath peaks — how fast energy cycles are completing. When the dots are high, cycles are churning quickly (active, volatile market). When dots drop, cycles are slowing down. A decelerating pulse rate often precedes market exhaustion, regime change, or a significant transition in character. It is the one component that operates on a longer timescale than the others.
BACKGROUND ALERTS
🔵Blue background tint — Tension above 75% AND breath compressed below 0.7. The coil is tight. Maximum potential energy. The market is wound up.
🟠Amber background tint — Breath above 1.3 AND rhythm positive. Active release in progress. Energy is being deployed.
HOW TO USE IT
This indicator does not tell you to buy or sell. It tells you what state the market is in so you can make better decisions with whatever strategy you already use.
Use it to avoid trading in the wrong state — entering a trend trade during deep compression usually means getting chopped. Entering a range trade during active expansion means getting run over.
Use it to time entries on your existing signals — a buy signal that fires while tension is at extreme highs and breath is turning up is a very different trade than the same signal firing in a neutral state.
Use it to identify when something is about to happen — not what, but when the energy conditions are right for a significant move.
Use it across timeframes — compression on the daily while expansion fires on the 4H often means a powerful intraday move within a larger coiling structure.
SETTINGS
Base Period (default 20) — The lookback for ATR and breath calculation. Higher values = smoother, slower readings. Lower = more reactive.
Smoothing (default 5) — Applied to all components. Increase to reduce noise on lower timeframes.
Tension Lookback (default 50) — How far back tension and rhythm normalize themselves. Higher = tension builds more slowly, more selective extremes.
Pulse Rate Period (default 10) — How many breath cycles to average for the pulse rate calculation.
WORKS ON
All markets (Forex, Crypto, Equities, Futures, Indices) — All timeframes — Pine Script v6
This is not a signal generator. It is a market state reader. Learn the rhythm before you trade the move.
👉 Join the community, ask questions, share setups: discord.gg/8H4qdBDaEu Indicator

Auto Trendlines Pro [Rejection Zone]Most trendline indicators connect closing prices or arbitrary points. This one works the way a human trader actually draws trendlines — anchored to swing wick extremes, validated bar by bar, and extended as a rejection zone rather than a single line.
How it works
Pivot highs and lows are detected from wick extremes using a configurable lookback on each side. When two valid pivots are found, the script checks that no wick between them pierced the proposed line, discarding geometrically correct but structurally broken trendlines before they ever appear on screen.
Each trendline is paired with a parallel inner boundary to form a rejection zone. The outer wick line is the hard invalidation level. The inner line represents where the price was actually committed, and the noise band between them is where liquidity was swept but couldn't sustain. This is structurally equivalent to a tilted supply and demand zone, automatically drawn at the angle of the trend.
Hybrid channel width with ATR fallback
The channel width is set by the larger of the two wick-to-body gaps at the anchor pivots. If the two gaps differ by more than a configurable ratio (default 2x), one anchor is flagged as an outlier, and the width falls back to ATR-derived instead. The transition crossfades smoothly between the two methods by default. A dotted inner line signals ATR fallback is active; dashed means the width comes from the actual price structure.
Features
Wick-to-wick pivot detection with configurable confirmation length on each side
Bar-by-bar line validation so that structurally broken trendlines are discarded before drawing
Touch count with ATR-scaled tolerance, with line opacity and star rating (✦✦ through ✦✦✦✦) reflecting how many times the price confirmed the level
Rejection zone channel with a true parallel inner boundary and linefill, not a converging wedge
Outlier detection with smooth ATR fallback and dotted vs dashed inner line to signal which method is active
Slope angle filter as a percentage of ATR per bar, scaling correctly across all instruments and timeframes
Break and retest detection on the primary trendline with labelled signals and four alert conditions
Price projection label at the right edge of each line showing the current projected price
Parallel channel detection between support and resistance lines with configurable slope tolerance and linefill
Multi-timeframe pivot mode to detect pivots on a higher timeframe while staying on your current chart
Settings guide
Pivot Length 5 to 8: intraday and short-term swing structure
Pivot Length 10 to 15: standard swing trading on daily charts
Pivot Length 20 and above: major weekly structure
Lines Per Side 1: cleanest view with one support and one resistance
Lines Per Side 2 or 3: near-term and broader trendline simultaneously
Outlier Ratio 2.0: triggers ATR fallback when one anchor gap is twice the other
ATR Fallback Width 0.5x: equivalent to a typical clean wick-to-body gap
Blend Outlier Transition on: smooth crossfade between methods; off for a hard switch
Reading the zones
Price touching the outer wick line but closing inside the zone is still within the noise band with no confirmed break
A close beyond the outer wick line is a structural break. Watch for a retest from the other side
A close between the two lines is contested; wait for resolution before acting
A dotted inner line means channel width is ATR-estimated due to an outlier anchor; dashed means it is derived from the real price structure
Indicator

ICT Suspension Blocks | Flux ChartsGENERAL OVERVIEW:
ICT Suspension Blocks is built around the idea that one candle can become important when it is suspended between two volume imbalances - one above it and one below it. In ICT theory, that suspended area can behave like a compact inefficiency zone and may later act as a reaction point when price revisits it.
The indicator automates that idea by scanning for bullish and bearish three-candle formations, identifying the suspended price area between the two imbalances, plotting the zone directly on the chart, and then managing its lifecycle through retest and invalidation logic.
The goal of the indicator is not just to mark a pattern, but to keep the structure practical for chart use: active zones can be prioritized by proximity, invalidated zones can optionally remain visible for reference, retests can be marked, and overlapping zones can be merged when the user wants a cleaner display.
(Screenshot: Full chart view showing bullish and bearish Suspension Block zones)
(Screenshot: Example of a Suspension Block forming between two body-to-body imbalances)
WHAT IS THE THEORY BEHIND THE INDICATOR?:
This indicator is based on the ICT idea that a single candle can become meaningful when it is suspended between two volume imbalances. The logic starts with understanding what a volume imbalance is, then how two of those imbalances can frame a single candle and turn that area into a Suspension Block.
What IS A VOLUME IMBALANCE?
A volume imbalance, in this context, is a body-to-body inefficiency between two consecutive candles. It appears when the open of the newer candle gaps away from the close of the previous candle, showing that price moved so aggressively that the candle bodies did not match smoothly from one bar to the next.
Bullish volume imbalance: the newer candle opens above the previous candle’s close.
Bearish volume imbalance: the newer candle opens below the previous candle’s close.
Wick overlap is allowed. What matters is the body separation, not whether the wicks overlap.
These imbalances matter because they show inefficient price delivery. In ICT theory, the market often revisits inefficient areas later, which is why traders treat them as important reference zones.
Step by step:
1. Look at the close of one candle.
2. Compare it to the open of the next candle.
2a. If the next candle opens clearly above that close, it creates a bullish body-to-body imbalance.
2b. If the next candle opens clearly below that close, it creates a bearish body-to-body imbalance.
3. That body gap is the imbalance the indicator uses as part of the Suspension Block structure.
(Screenshot: Bullish volume imbalance example)
(Screenshot: Bearish volume imbalance example)
WHAT IS A SUSPENSION BLOCK?:
A Suspension Block is the price area created when one candle is framed by a volume imbalance on one side and another volume imbalance on the other side. In simple terms, the candle is “suspended” between two body-to-body inefficiencies, which is why the pattern gets its name.
In the theory referenced for this indicator, the suspended candle behaves similarly to a compact inefficiency zone or PD Array. That means the market may revisit the area later and react from it as support or resistance, depending on whether the structure is bullish or bearish.
Step by step:
1. Start with a three-candle sequence.
2. Check whether there is a valid body-to-body imbalance between candle 3 and candle 2.
Then check whether there is another valid body-to-body imbalance between candle 2 and candle 1.
3. If both imbalances exist in the same direction, the middle part of that structure becomes the Suspension Block setup.
For a bullish Suspension Block, the sequence is bullish and the two imbalances are upward.
For a bearish Suspension Block, the sequence is bearish and the two imbalances are downward.
The indicator then draws the zone from the close of candle 3 to the open of candle 1, which defines the suspended price area.
(Screenshot: Bullish suspension Block area highlighted between two volume imbalances)
(Screenshot: Bearish suspension Block area highlighted between two volume imbalances)
HOW THE INDICATOR SHOWCASES THAT THEORY:
Once the structure is confirmed, the indicator turns the concept into a practical chart tool. It plots the Suspension Block zone, extends active zones to the current bar, tracks valid retests, and stops the zone when invalidation happens.
Bullish and bearish zones are displayed with separate colors for fast recognition.
The zone is anchored to the suspended price area.
Retests are stored and can be marked with triangle labels.
Invalidated zones can be hidden or kept as historical reference.
Nearby zones can be prioritized with Show Nearest, and overlapping same-side zones can be merged with Combine Overlapping Zones.
This makes the indicator useful not only for learning the ICT concept, but also for applying it directly on live charts in a structured way.
(Screenshot: Indicator showcase with active bullish and bearish Suspension Blocks)
(Screenshot: Indicator showcase with retest markers and invalidation)
(Screenshot: Indicator showcase with combined overlapping zones)
FEATURES:
🔷Bullish
Sets the fill color used for bullish Suspension Block zones.
This controls how active and historical bullish zones appear on the chart.
(Screenshot: Bullish Suspension Block color styling)
🔷Bearish
Sets the fill color used for bearish Suspension Block zones. This gives bearish zones their own visual identity and helps separate them from bullish zones at a glance.
(Screenshot: Bearish Suspension Block color styling)
🔷Invalidation Method
Controls how a Suspension Block becomes invalid.
Wick mode invalidates a zone as soon as price trades through the far side with the wick.
Close mode invalidates a zone only when price closes through the far side.
(Screenshot: Wick invalidation)
(Screenshot: Close invalidation)
🔷Midline
Turns the midpoint line inside each zone on or off. When enabled, the indicator draws a center line halfway between the top and bottom of the Suspension Block.
(Screenshot: Midline drawn through the center of a Suspension Block)
🔷Midline Style
Controls whether the midpoint line is solid, dashed, or dotted. This is a visual preference setting that changes how prominent the midline appears.
🔷Zone Labels
Turns the SB+ and SB- labels on or off. The labels are placed inside the zone at the right-center area so the zone remains clearly identified without extending the label beyond the box.
(Screenshot: SB+ and SB- labels positioned inside the right side of each zone)
🔷Retest Labels
Turns retest triangle markers on or off. When enabled, the indicator stores retest times and displays a triangle marker for each valid retest that belongs to a visible zone.
(Screenshot: Green and red retest triangles displayed on valid zone retests)
🔷Combine Overlapping Zones
When enabled, overlapping Suspension Block zones of the same side are merged into one wider combined zone. The combined zone keeps the earliest left boundary, expands to the full overlapping price range, and merges the retest history from the older zones into the new one.
(Screenshot: Multiple overlapping zones merged into one zone)
🔷Hide Invalidated Zones
Controls whether mitigated or invalidated zones remain visible.
When turned on, invalidated zones are removed from the chart.
When turned off, invalidated zones are stored separately and can still be displayed as historical reference without being used again in active-zone logic such as nearest-zone selection or future retest checks.
(Screenshot: Invalidated zones hidden)
(Screenshot: Invalidated zones displayed for historical reference)
🔷Show Nearest
Limits how many bullish and bearish active zones remain visible at the same time. The indicator ranks active zones by distance from current price and shows only the nearest ones for each side.
(Screenshot: Only the nearest active bullish and bearish zones displayed)
🔷Minimum Size
Filters out very small Suspension Blocks by requiring the zone size to be at least a selected fraction of ATR.
A value of 0 disables the size filter.
Higher values make the indicator more selective and remove weaker or very small formations.
🔷Alerts
Users can enable alerts with this indicator via AnyAlert() functionality. The following alerts are available:
◇ New Bullish SB
Alerts for newly detected bullish Suspension Blocks.
◇ New Bearish SB
Alerts for newly detected bearish Suspension Blocks.
◇ Bullish SB Retest
Alerts for bullish Suspension Block retests.
◇ Bearish SB Retest
Alerts for bearish Suspension Block retests.
UNIQUENESS:
ICT Suspension Blocks is unique because it turns a relatively niche ICT concept into a structured chart tool that not only detects the pattern, but also manages its full lifecycle - from creation, to retest tracking, to invalidation, to optional historical display - while keeping the chart readable.
The zone is drawn from candle 3 close to candle 1 open, so it reflects the actual suspended price space between the two imbalances rather than defaulting to the body of the middle candle.
Daily and weekly opening gaps are filtered out from the imbalance checks, which helps avoid false detections caused by session-opening jumps.
Retest logic is stricter than a simple touch: the indicator checks whether price approached from the correct side, touched the zone with the wick, and still closed back on the original side.
Invalidated zones can be displayed as history without being recycled into active-zone logic, which keeps historical context available without contaminating nearest-zone selection or future retest processing.
Overlapping same-side zones can be merged into one combined structure, making the indicator more practical on charts where multiple nearby Suspension Blocks form in the same area.
(Screenshot: Example comparing separate overlapping zones vs combined zone mode)
Indicator

Indicator

Multi-Pool Liquidity Confluence Scorer [MarkitTick]💡 Multi-dimensional analytical tool designed to track, evaluate, and trade liquidity sweeps across various temporal market structures. Rather than relying on a single structural anomaly, this indicator aggregates data from macro levels, micro swing pivots, volume dynamics, and momentum shifts to generate high-probability market context. By evaluating price action against algorithmic thresholds and institutional reference points, it removes the subjectivity from liquidity-based trading methodologies.
✨ Originality and Utility
● A Paradigm Shift in Liquidity Analysis
Standard liquidity indicators merely draw static lines at historical highs and lows. The Multi-Pool Liquidity Confluence Scorer introduces a dynamic grading system that quantifies the quality of a sweep. This utility is entirely original in its approach to synthesizing structural components—such as Fair Value Gaps (FVGs), Relative Volume (RVOL), and time-of-day sessions—into a singular actionable metric.
● The Confluence Scoring Engine
What sets this tool apart is its objective scoring architecture. It does not just alert when a Previous Day High is breached; it evaluates how it was breached. Did the sweep occur during the high-liquidity London or New York sessions? Was it accompanied by a surge in relative volume? Did the subsequent price action leave behind institutional footprints like a Fair Value Gap? By assigning weighted points to these phenomena, the indicator filters out low-probability noise and isolates premium market reversals.
🔬 Methodology and Concepts
● Multi-Timeframe Liquidity Aggregation
The core methodology relies on establishing a matrix of vulnerability. The indicator maps out the Previous Daily Highs/Lows (PDH/PDL) and Previous Weekly Highs/Lows (PWH/PWL), alongside dynamic swing pivots. These act as magnetic pools of resting orders (stops and breakout entries).
● Sweep Detection and Tolerance
A true sweep is defined mechanically: price must pierce the liquidity level (wicking above/below) but fail to sustain that momentum, ultimately closing back inside the range. To account for market noise, the script utilizes an Average True Range (ATR) multiplier to create a "Cluster Range," allowing it to detect sweeps that marginally miss or slightly overshoot exact historical levels.
● Change in State of Delivery (CISD)
A sweep alone is insufficient. The indicator mandates a CISD confirmation within a user-defined window of bars. For a bullish setup, after a sell-side sweep, the price must break above a recent swing high, ideally with significant displacement (large body size or the creation of a bullish FVG). This confirms that the market-makers have actively repriced the asset after absorbing the liquidity pool.
🎨 Visual Guide
● Reference Lines and Levels
Orange Dashed Line: Represents the Previous Day High (PDH).
Blue Dashed Line: Represents the Previous Day Low (PDL).
Solid Orange/Red Line: Represents the Previous Week High (PWH).
Solid Cyan Line: Represents the Previous Week Low (PWL).
Gray Dotted Lines: Track the recent internal Swing Highs and Swing Lows based on the lookback memory.
● Sweep and Risk Visualization
Dashed Highlight Boxes: Appear immediately when a sweep is detected. The color dynamically shifts based on the preliminary score (Yellow for Basic, Orange for Good, Pink/Red for Premium).
Yellow Background Zones: Highlight the exact Fair Value Gaps (FVG) that validate the momentum shift during the CISD phase.
Solid Risk Boxes: Drawn upon signal confirmation, mapping the exact risk parameter from the entry price down to the stop loss.
● Interactive Data and Dashboards
Signal Labels: Print "BUY" or "SELL" along with the qualitative rating (BASIC, GOOD, PREMIUM) directly on the chart.
Data Block Text: A monospace text block prints next to the entry, detailing the exact Entry Price, Stop Loss, and all three Take Profit (TP) targets.
On-Screen Dashboard: A table anchored to the corner of the chart tracks the real-time status of all macro levels (Intact vs. Swept), active sweep statuses, current live score, session data, and the macro EMA trend alignment.
📖 How to Use
● Identifying High-Probability Reversals
Wait for the indicator to identify a sweep of a major level. Do not enter immediately. Observe the chart as the indicator waits for the CISD confirmation. A signal is only generated when the market structures break in the opposite direction of the sweep and the aggregated score meets your minimum threshold.
● Executing and Managing the Trade
Once a valid signal (Buy/Sell Label) prints, the indicator projects the exact entry parameters. You can choose to enter at the market close of the signal bar, or utilize the FVG Limit Entry feature to wait for a retracement into the newly formed imbalance. The drawn lines provide strict Risk-to-Reward targets (TP1, TP2, TP3) scaled against your Stop Loss.
● Predictive Zone Targeting
If the market is trending, use the "Predictive Target Zones" feature. The indicator looks ahead to un-swept liquidity pools above or below current price action, scores them based on their confluence, and draws projected boxes on the right side of the chart. These act as ideal locations for taking final profits or anticipating the next major market reaction.
⚙️ Inputs and Settings
● Liquidity Levels & Sweep Detection
Show Previous Day/Week H/L: Toggles the visibility of macro time-frame reference points.
Swing Detection Length: Adjusts the sensitivity of the pivot highs and lows. Lower numbers find more micro-structure, while higher numbers find major structural swings.
Cluster Range (ATR multiplier): Defines the spatial tolerance around a line. Price does not need to hit it to the exact tick; it must simply enter this ATR-defined boundary.
CISD Window: The maximum number of bars allowed after a sweep for the market to prove a reversal by breaking structure.
● Confluence Scoring Engine
Minimum Score to Generate Signal: The gatekeeper setting. Increase this number (e.g., to 7+) to only receive "Premium" setups, drastically filtering out noise at the expense of trade frequency.
Volume Bonus: Awards extra points if the sweep occurs on a volume spike exceeding the RVOL threshold.
Session Bonus: Awards points if the sweep aligns with the high-volume London or New York macroeconomic windows.
● Signal & Trade Mechanics
Target (R:R) Multipliers: Defines the exact risk-to-reward ratios for TP1, TP2, and TP3 based on the distance between the entry and the stop loss.
Enable Trend Filter (EMA): When activated, Buy signals are strictly ignored if price is below the macro EMA, and Sell signals are ignored if above, aligning setups with the broader directional bias.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Market Microstructure and Liquidity Theory
The foundational logic of this script is anchored in the continuous double auction mechanism of modern financial markets. Large participants (institutional entities) cannot execute significant block orders without heavily impacting the price (slippage). To mitigate this, they must seek areas of high counter-party liquidity. In market microstructure theory, local extrema (such as previous day highs or visible swing lows) act as aggregation nodes for stop-loss orders. A stop-market order on a short position becomes a buy-market order when triggered. The indicator detects when these nodes are breached (the sweep) and identifies the immediate absorption of those orders.
● Volatility-Adjusted Spatial Grouping
Rather than utilizing fixed percentage bands or static tick offsets, the script employs the Average True Range (ATR) to establish dynamic clustering around reference points. The ATR is a measure of the decomposed variance of an asset's price over time. By multiplying the ATR by a fractional coefficient (inClusterPct), the script creates a mathematically sound confidence interval around historical levels. This adapts to heteroskedastic market conditions, ensuring that "near misses" in highly volatile environments are correctly categorized as liquidity tests.
● Mean-Reverting Volume Dynamics
The scoring engine utilizes a simple but effective statistical anomaly detection method for trading volume: Relative Volume (RVOL). By comparing the current bar's volume against a Simple Moving Average (SMA) of historical volume, it normalizes the data. When the volume deviates significantly from the mean during a sweep event (exceeding the inRvolThresh), it mathematically confirms anomalous participation. In academic finance, abnormal volume at price extremes is highly correlated with institutional capitulation or aggressive liquidity absorption, reinforcing the mean-reverting premise of the generated signals.
⚠️ 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

Hash Auto Fibonacci## Overview
Hash Auto Fibonacci eliminates the most time-consuming part of Fibonacci trading — drawing the levels yourself. Drop it on any chart and it automatically detects the most recent significant swing high and swing low, then instantly draws a complete Fibonacci retracement web anchored to those pivots. No manual drawing, no subjectivity, no missed setups.
Built for active traders who use Fibonacci as a core part of their strategy, this tool is engineered to keep up with fast-moving markets through a volatility-adaptive detection engine, a highlighted Golden Pocket zone, a built-in stop-loss reference, and optional multi-timeframe confirmation.
## Key Features
**Automatic Swing Detection**
The indicator uses a pivot-based algorithm to identify swing highs and lows in real time. A pink dot marks the swing high and a green dot marks the swing low on the chart — always showing only the current active pair, never cluttering your screen with historical markers.
**Dynamic Lookback Engine**
Rather than using a fixed lookback period, Hash Auto Fibonacci automatically adjusts its sensitivity based on current market volatility. During high-volatility conditions (fast trending moves, breakouts), the lookback shortens to detect swings quickly. During low-volatility conditions (consolidation, ranging markets), it lengthens to filter out noise and identify only meaningful pivots. This is calculated using the ratio of a 50-period ATR to a 10-period ATR, scaled by a user-adjustable multiplier. You can also switch to a fixed manual lookback at any time.
**Fibonacci Retracement Levels**
The following retracement levels are drawn automatically:
- 0 (swing high anchor)
- 0.236
- 0.382
- 0.5
- 0.618
- 0.65
- 0.786
- 1.0 (swing low anchor)
Optional extension levels (1.272, 1.618, 2.618) can be enabled for targets beyond the swing low.
**The Golden Pocket Zone**
The 0.618–0.65 confluence zone is highlighted as a gradient-filled amber band directly on the chart. This region — known as the Golden Pocket — is widely regarded as the highest-probability reversal zone within any Fibonacci retracement. The zone enforces an ATR-based minimum thickness so it remains visible even on assets with small absolute price ranges.
**ATR Stop-Loss Reference**
A dashed red line is automatically drawn below the swing low (bullish setup) or above the swing high (bearish setup) at a distance of 2× ATR-10. This gives a data-driven starting point for your stop-loss placement without requiring a separate indicator.
**Multi-Timeframe Confirmation**
When the current chart's swing pivot aligns within 0.5% of a confirmed pivot on a higher timeframe (default: 4H), the entire Fibonacci web is visually upgraded — lines become bolder, a confirmation badge appears, and an alert can be triggered. MTF-confirmed webs represent structurally significant levels that multiple timeframes agree on, which historically carry more weight as support and resistance.
**Direction Detection**
The indicator automatically determines whether the current setup is bullish (retracing upward from a low) or bearish (retracing downward from a high) by comparing which pivot — the high or the low — was confirmed most recently. You can override this manually if needed.
**Info Dashboard**
A clean navy dashboard in the corner of your chart displays:
- Current swing high and swing low prices
- 0.5 and 0.618 Fibonacci levels
- Golden Pocket price range
- Suggested ATR-based stop-loss price
- Active lookback period (and whether it's dynamic or manual)
---
## How To Use
**Basic setup**
Add the indicator to any chart. It works on all timeframes and all assets — crypto, stocks, forex, futures. The Fibonacci web draws automatically. The Golden Pocket zone is the primary area to watch for price reactions.
**Reading the chart**
- Price pulling back into the Golden Pocket (0.618–0.65 zone) in a bullish setup is the classic high-probability long entry zone
- Price rejecting from the Golden Pocket in a bearish setup is a potential short entry or profit-taking zone
- The 0.5 level acts as the midpoint — a close above (bullish) or below (bearish) confirms continuation of the retracement
- The 0.786 level is deep — a sweep past this level often signals the retracement is becoming a full reversal
**Using the stop-loss line**
The dashed red SL line is a reference, not a guaranteed stop placement. Use it as a starting point and adjust to your own risk tolerance. On volatile assets, consider placing your stop slightly beyond it to avoid wicks triggering your exit prematurely.
**Multi-timeframe confirmation**
When the ◆ MTF badge appears, the swing that anchors the current web also exists on the higher timeframe. These setups tend to produce cleaner reactions at Fibonacci levels because they represent areas where both short-term and institutional timeframe participants are watching the same price zone.
**Alerts**
Five alert conditions are available:
- New swing high detected
- New swing low detected
- MTF confirmation active
- Price entering the Golden Pocket
- Price at the 0.382 level
- Price at the 0.786 level
Set these in the Alerts panel to get notified without watching the chart constantly.
---
## Settings Reference
**Swing Detection**
| Setting | Default | Description |
|---|---|---|
| Dynamic lookback | On | Automatically adjusts pivot sensitivity based on volatility |
| Manual lookback | 10 | Fixed lookback used when dynamic mode is off |
| Dynamic multiplier | 9 | Controls the average lookback length in dynamic mode |
| Direction mode | Auto | Auto, Bullish, or Bearish override |
| Show swing markers | On | Displays pivot dots on the chart |
**Multi-Timeframe Confirmation**
| Setting | Default | Description |
|---|---|---|
| MTF confirmation | On | Enables higher timeframe pivot alignment check |
| HTF timeframe | 240 (4H) | The timeframe used for confirmation pivots |
**Fibonacci Levels**
| Setting | Default | Description |
|---|---|---|
| Retracement levels | On | Draws the standard 0–1 retracement web |
| Extension levels | Off | Adds 1.272, 1.618, 2.618 extension targets |
| Ratio labels | On | Shows ratio numbers next to each level |
| Golden Pocket zone | On | Highlights the 0.618–0.65 zone |
| ATR stop-loss line | On | Draws the 2× ATR stop reference |
**Info Table**
| Setting | Default | Description |
|---|---|---|
| Show info table | On | Displays the dashboard |
| Position | Top Right | Corner placement of the dashboard |
---
## Notes
- This indicator is an overlay — it draws directly on the price chart
- Works on all timeframes, all markets, and all asset classes available on PulseWire
- The dynamic lookback is calibrated on BTC/USDT 1H data and performs well across most liquid crypto and equity instruments
- Past Fibonacci levels do not guarantee future price reactions — use this tool as part of a broader trading system, not as a standalone signal
- This indicator does not repaint. Swing pivots are confirmed before being drawn and are not subject to change after confirmation
---
## By Hash Capital Research
Indicator

[ A L P H A X ] Dynamic Liquidity Matrix
AlphaX Dynamic Liquidity Matrix — Volume-Weighted Liquidity Heatmap, Fair Value Gap Overlay, Sweep Detection & Live Bias Dashboard
AlphaX Dynamic Liquidity Matrix is a professional-grade liquidity mapping system that identifies where stop-loss clusters and unfilled liquidity pools accumulate across the recent price range — and tracks them in real time. Unlike a static volume profile that simply measures historical volume at price, this indicator builds a fully dynamic heatmap from volume-weighted pivot extremes, recalculates on every bar, and only displays zones that price has not yet revisited. These are the active pockets that institutions and smart money systematically target for liquidity sweeps.
Built on the AlphaX brand framework, the indicator combines four distinct analytical layers: a dynamic liquidity profile, a Fair Value Gap (imbalance) overlay, a sweep detection engine, and a live market context dashboard — all unified under a single, clean visual system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Dynamic Liquidity Profile — How It Works
Most volume profiles are passive historical tools. The AlphaX Dynamic Liquidity Matrix is active and forward-looking.
On every bar within your configured lookback window, the indicator identifies swing highs and swing lows and assigns each one a volume weight based on the smoothed cumulative volume at that moment — normalized against the maximum volume within the entire lookback window. This produces a volume score (0–100%) for every extreme, which represents the relative significance of the liquidity pool at that price.
These volume-weighted extremes are then distributed across a configurable number of price bins (resolution levels) spanning the full high-to-low range of the lookback window. Each bin accumulates the total volume from every pivot that maps into it. The result is a real-time heatmap profile showing exactly where liquidity is concentrated — heavier at some levels, lighter at others.
The ATR is used to scale the pivot offset distance dynamically, meaning the profile adapts automatically to the current volatility regime. On high-volatility instruments and timeframes, the pivot offsets expand; on quiet markets, they contract. No manual recalibration is required.
What makes this different from a standard Volume Profile:
Standard volume profiles measure how much volume traded at a price — they are backward-looking and include already-filled orders
AlphaX DLM tracks unmitigated pivot extremes — zones where stops and unfilled orders still exist because price has NOT revisited them since they formed
Every pivot that gets swept by price is automatically removed from the profile — keeping the map clean and relevant at all times
The profile rebuilds every bar, so it reflects the current state of the market's liquidity landscape, not a snapshot from hours or days ago
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Profile Visualization
The profile is displayed as horizontal bars extending to the right of the current price, with each bar representing one price bin. The visual system communicates multiple layers of information simultaneously:
Color Logic
Yellow-green bars — bins where the current close is above the bin midpoint (buy-side liquidity / demand zones)
Red bars — bins where the current close is below the bin midpoint (sell-side liquidity / supply zones)
Orange highlight — the Point of Control (POC) bin, the single highest-volume level in the entire profile
Gradient Depth
Each bar uses a gradient that scales from near-transparent at low volume to fully opaque at high volume. At a glance, the most significant liquidity concentrations stand out immediately — no need to read numbers or hover over elements.
Volume Labels
For bins with above-average volume accumulation, the raw volume figure is displayed inside the bar. A percentage label on the left side of each bar shows what proportion of the maximum bin volume that level represents. This gives you both absolute and relative context for every zone.
POC Line
The Point of Control — the level with the highest accumulated liquidity in the profile — is marked with a full dashed horizontal line that extends across the entire lookback window. This makes it easy to see how price has historically reacted around the dominant liquidity level: rejected it, consolidated around it, or broken through it cleanly. A labeled marker on the right identifies the POC precisely.
Liquidity Level Lines
Each active bin above the noise floor is also represented by a dotted horizontal line on the chart itself. The line starts from the bar where price last tested that level and runs to the current bar, giving you a visual connection between the historical pivot origin and the current profile position. Line width scales with the bin's relative volume weight — heavier lines mean more significant zones.
Buy / Sell Split Mode
An optional split view separates each profile bar into its buy-side and sell-side components, stacked side by side. This lets you see at a single level whether it is dominated by buy-side stop clusters (below price), sell-side stop clusters (above price), or a balanced mix — critical for anticipating which direction a liquidity sweep is more likely to run.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Fair Value Gap (Imbalance) Overlay
A Fair Value Gap is a three-candle imbalance where the body of the middle candle is not overlapped by the wicks of the surrounding candles, creating a gap in price delivery. These gaps represent unfilled orders left by rapid, one-sided moves — and price has a strong statistical tendency to return to fill them.
AlphaX DLM detects and displays these gaps directly on the chart as shaded rectangular zones:
Bullish FVG — the low of the current candle is higher than the high of the candle two bars prior. Price moved up so quickly it left an unfilled gap below. Displayed in yellow-green.
Bearish FVG — the high of the current candle is lower than the low of the candle two bars prior. Price moved down so quickly it left an unfilled gap above. Displayed in red.
Mitigation Tracking
Once price returns and closes inside a FVG zone (mitigating it), the box is automatically removed from the chart. Only genuinely unmitigated gaps remain visible at all times — the overlay stays clean and actionable regardless of how many gaps have formed historically.
ATR-Scaled Minimum Size Filter
A configurable minimum FVG size (expressed as a multiple of the current ATR) filters out micro-gaps caused by normal spread or noise. Only structurally significant imbalances that represent real impulsive moves are displayed.
Background Highlight
When the current close is inside an active FVG zone — meaning price is currently sitting inside an unmitigated imbalance — the chart background highlights in a subtle amber tone. This is a real-time alert that price is at a decision point within institutional supply or demand.
How to trade FVGs with the Liquidity Matrix:
When a FVG aligns with a high-volume liquidity bin on the profile, the confluence is significant — two independent reasons for price to react at the same level
Bullish FVG zones near buy-side liquidity clusters are high-priority long re-entry areas
Bearish FVG zones near sell-side liquidity clusters are high-priority short re-entry areas
A sweep into a zone followed by an immediate close back through it (a sweep-and-reverse pattern) is one of the cleanest entry setups the indicator can flag
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Liquidity Sweep Detection
Liquidity sweeps are the mechanism by which institutional players clear stop-loss orders before reversing price in the opposite direction. Identifying sweeps in real time gives retail traders the opportunity to enter after the stops have been taken — in alignment with the direction the institution is positioning.
AlphaX DLM detects sweeps using the following logic:
Bullish Sweep (⚡ SWEEP LOW)
The current bar's low breaches the lowest low of the configurable sweep lookback window, but the bar closes above that low and closes as a bullish candle. This pattern indicates that sell-side stops below the recent range were triggered, absorbed, and reversed — a classic stop hunt before an upside move.
Bearish Sweep (⚡ SWEEP HIGH)
The current bar's high breaches the highest high of the sweep lookback window, but the bar closes below that high and closes as a bearish candle. Buy-side stops above the recent range were triggered and absorbed — a stop hunt before a downside move.
Visual Presentation
Bullish sweeps are labeled with a cyan "⚡ SWEEP LOW" marker below the sweep candle
Bearish sweeps are labeled with an orange "⚡ SWEEP HIGH" marker above the sweep candle
The sweep candle itself is barcolored in the respective sweep color — immediately visible on the chart without needing to look for the label
The most recent 20 sweep labels are retained on the chart, automatically pruning the oldest when new ones form
How to use Sweep Detection with the Liquidity Profile:
A sweep into a high-volume buy-side liquidity bin followed by a close back above that bin is a high-conviction long entry signal
A sweep into a high-volume sell-side liquidity bin followed by a close back below that bin is a high-conviction short entry signal
When a sweep coincides with a FVG zone AND a high-volume profile bin, the three-way confluence represents the highest quality trade setup the indicator can identify
The sweep lookback can be tightened (lower value) for more sensitive detection on fast-moving instruments, or widened for cleaner, less-frequent signals on slower timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Market Context Dashboard
A compact real-time dashboard displays the current state of all indicator systems at a glance. It is divided into four sections:
Profile Section
Active Pivots — total number of unmitigated pivot extremes currently mapped in the profile. Higher counts indicate a richer, more complex liquidity landscape.
Buy Pivots — number of unmitigated buy-side (demand) extremes
Sell Pivots — number of unmitigated sell-side (supply) extremes
Liquidity Bias — overall directional lean of the liquidity map. BUY SIDE means more unmitigated demand zones exist; SELL SIDE means more supply zones exist; BALANCED means roughly equal. This is not a trade signal on its own, but it tells you where the more significant unfilled orders are positioned.
Sweep Section
Last Sweep — whether the current bar is a bullish or bearish sweep, highlighted in the respective sweep color when active
Sweep Lookback — the currently configured lookback window for sweep detection
Fair Value Gap Section
Active FVGs — total number of unmitigated fair value gaps currently displayed on the chart
FVG Split — the breakdown between active bullish and bearish FVGs. When bullish FVGs dominate, unmitigated demand imbalances outnumber supply imbalances — and vice versa.
Market Context Section
ATR — current ATR value and its percentage of price. Color-coded: green for low volatility, orange for moderate, red for elevated. High ATR readings mean liquidity zones will be wider and stops should be placed further from entry.
Normalized Volume — current volume expressed as a percentage of the maximum volume within the lookback window, labeled VERY HIGH / HIGH / NORMAL / LOW / VERY LOW. Elevated volume on a sweep candle significantly increases the probability of follow-through.
Price in Range — where the current close sits within the full liquidity range as a percentage, labeled as upper zone / mid-range / lower zone. This tells you at a glance whether price is approaching a range extreme (potential sweep target) or sitting in the middle of the distribution.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Identify Trade Opportunities — Step by Step
Step 1 — Assess the Liquidity Landscape
Load the indicator and check the profile: are liquidity bins densely clustered in a narrow zone, or spread across a wide range?
Check the Liquidity Bias in the dashboard: does the map lean buy-side or sell-side?
Identify the POC line — this is the dominant reference level for the session
Step 2 — Identify High-Value Target Zones
Look for thick profile bars with high volume percentages — these are the zones that price is most likely to revisit for a sweep
Note any FVG boxes that overlap with high-volume bins — these dual-layer confluences are the strongest setups
Mark the POC: if price is approaching from below with buy-side bias, the POC is a likely magnet. If approaching from above with sell-side bias, the same applies.
Step 3 — Wait for a Sweep into a Liquidity Zone
Watch for price to push into a high-volume bin — especially below a cluster of buy pivots or above a cluster of sell pivots
A sweep label (⚡ SWEEP LOW or ⚡ SWEEP HIGH) confirms the stop-hunt pattern has occurred
The sweep candle will be highlighted in cyan (bull sweep) or orange (bear sweep) for instant identification
Step 4 — Confirm the Reversal
The most important confirmation is the close: the sweep candle must close back on the opposite side of the liquidity zone it spiked through
If price is also inside a FVG zone and closes back out of it, the reversal confluence is stronger
Elevated normalized volume on the sweep candle (VERY HIGH or HIGH) significantly increases the conviction of the setup
Step 5 — Enter and Manage
Enter in the direction of the sweep reversal — long after a bullish sweep, short after a bearish sweep
Place your stop loss below the sweep wick low (for longs) or above the sweep wick high (for shorts) — the stop hunt has already occurred, so price should not need to revisit that level
Target the POC level, the next high-volume bin on the profile, or the opposite side of an active FVG zone
If the Liquidity Bias matches your trade direction (e.g., BUY SIDE bias on a long trade), hold with greater conviction — the overall liquidity landscape supports continuation
Step 6 — When NOT to Trade
If the profile is extremely thin (very few active pivots), the liquidity landscape is unclear — wait for the profile to rebuild
If the ATR is very low (quiet, compressed market), FVGs and sweep signals may be less reliable — tighten the FVG minimum size filter
If price is in mid-range with BALANCED bias and no nearby FVGs, there is no clear structural edge — wait for price to approach a zone with confluence
Do not chase a sweep candle — the entry is on the confirmation close, not the spike
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Core Settings
Lookback Bars — how many bars back the indicator scans for pivot extremes and builds the liquidity profile (default: 300). Increase for a broader, more historical view; decrease for a tighter, more immediate profile focused on the current session.
Profile Resolution — the number of price bins the range is divided into (default: 50). Higher values give finer granularity; lower values produce a smoother, broader profile. Recommended range: 30–70.
Volume Smoothing — the rolling sum window for volume normalization (default: 10). Higher values reduce the effect of individual volume spikes; lower values make the profile more reactive to each candle's volume.
ATR Length — the lookback period for the ATR calculation used to scale pivot offsets (default: 14). Match this to your typical ATR analysis setting.
Profile Display
Show Profile Bars — toggle the horizontal heatmap bars on/off
Show Volume % Labels — toggle volume figures and percentage labels inside and beside each bar
Show POC Line — toggle the full-width dashed POC level line and label
Show Liquidity Level Lines — toggle the dotted horizontal lines connecting each pivot's origin to the current bar
Split Buy / Sell Bars — splits each profile bar into its buy-side and sell-side volume components displayed side by side
Bar Offset from Price — controls the gap between the current bar and where the profile starts rendering (default: 20 bars). Increase if the profile overlaps with recent candles.
Max Bar Width — controls the maximum horizontal length of the widest profile bar in bars (default: 50). Adjust based on your chart's zoom level.
Fair Value Gaps
Show Fair Value Gaps — toggle the FVG overlay on/off
Min FVG Size (ATR mult) — minimum gap size as a multiple of ATR for a gap to qualify as a valid FVG (default: 0.1×). Increase to filter out minor imbalances; decrease to show all gaps.
Max FVGs to Display — maximum number of unmitigated FVGs shown simultaneously (default: 8). Oldest gaps are pruned first when the limit is reached.
Sweep Detection
Highlight Sweeps — toggle sweep labels and candle barcolor on/off
Sweep Lookback (bars) — the window used to define the recent high/low for sweep detection (default: 5). Lower values detect micro-sweeps on fast instruments; higher values detect only significant structural sweeps.
Colors
Buy Liquidity — color for buy-side profile bars and bullish FVGs (default: yellow-green #c8e624)
Sell Liquidity — color for sell-side profile bars and bearish FVGs (default: red #ff1744)
POC / Max Level — color for the Point of Control bar, POC line, and FVG background highlight (default: orange #ff9800)
Sweep Bull Label — color for bullish sweep labels and barcolor (default: cyan #00e5ff)
Sweep Bear Label — color for bearish sweep labels and barcolor (default: orange #ff9100)
Dashboard Background / Text / Neutral — dashboard theme colors
Dashboard
Show Dashboard — toggle the live context dashboard on/off
Position — choose Top Left, Top Right, Bottom Left, or Bottom Right
Text Size — Tiny, Small, or Normal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Bullish Liquidity Sweep — fires when a bullish sweep pattern is confirmed on bar close
Bearish Liquidity Sweep — fires when a bearish sweep pattern is confirmed on bar close
Any Liquidity Sweep — fires on either sweep direction — use for a single catch-all alert
Bullish FVG Created — fires when a new unmitigated bullish fair value gap forms
Bearish FVG Created — fires when a new unmitigated bearish fair value gap forms
Price Entered FVG — fires when the current close moves inside any active unmitigated FVG zone
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook and bot integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Fully dynamic volume-weighted liquidity heatmap — rebuilds every bar, not a static historical snapshot
🗑 Auto-removal of swept/mitigated pivot levels — the profile always reflects only active, unvisited liquidity
📊 ATR-adaptive pivot offsets — automatically scales to the current volatility regime, no manual recalibration
🟡 Volume-gradient profile bars with buy/sell split mode — see the composition of every liquidity zone
◆ POC full-width level line with label — the dominant liquidity reference level clearly marked at all times
⚡ Fair Value Gap overlay with real-time mitigation tracking — only unmitigated imbalances remain visible
🌐 FVG background highlight — instant visual alert when price is sitting inside an active imbalance
🎯 Liquidity sweep detection with barcolor — cyan for bull sweeps, orange for bear sweeps
📋 Live dashboard — active pivots, buy/sell count, liquidity bias, sweep status, FVG split, ATR, normalized volume, and price-in-range percentage
🎨 Full AlphaX brand theme — yellow-green / red / orange / dark background, consistent with the AlphaX indicator suite
🔔 6 alert conditions — sweep entries and FVG events with clean ticker/interval message formatting
⚙ Fully configurable — all lookback windows, resolution, sensitivity, colors, and display toggles adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Smart Money Concept (SMC) traders — the entire indicator is built around the core SMC concepts of liquidity pools, stop hunts, and fair value gaps. It automates the manual process of mapping where stops are likely clustered and where imbalances need to be filled.
📊 Order flow and volume profile traders — the dynamic heatmap provides a volume-at-price context that updates in real time, giving a live picture of the market's liquidity distribution.
⚡ Intraday scalpers and day traders — the sweep detection and FVG alerts fire on bar close, making them practical for fast timeframe traders on instruments like XAUUSD, indices, and forex majors.
🧠 Traders who struggle with entry timing — the sweep reversal pattern gives a precise, rules-based entry trigger rather than a subjective "it looks good" decision.
📈 Traders who want confluence, not single indicators — when a sweep, a high-volume bin, and a FVG all align at the same level, the three-layer confluence removes ambiguity and provides an objective framework for decision-making.
🎯 Traders building systematic approaches — all signals are rule-based, non-repainting, and confirmed on bar close. The dashboard provides quantitative context — not just visuals — for every condition the indicator monitors.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All signals are non-repainting — every sweep label, FVG box, and profile bar is confirmed on bar close and does not move or disappear retroactively
The profile renders only at the last bar (barstate.islast) and redraws on each new bar — this is by design and standard practice for all right-side profile indicators. Historical profile positions are not stored.
On very low timeframes (sub-1-minute) or extended chart history windows, PulseWire's 500-box and 500-line limits apply — the indicator operates within these limits by design. Reducing the lookback or bins will always keep rendering within limits.
The ATR-adaptive offset means the indicator self-adjusts across different instruments and timeframes without requiring separate configurations for each. The same settings work on XAUUSD 1-minute and EURUSD 15-minute with no manual changes needed.
For best results, use in combination with AlphaX Vision (Fusion Trend Engine) — the Liquidity Matrix identifies where to enter within the zones that Vision's trend system defines as directionally favored.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal type does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who read the market at the level where institutions operate.
Indicator
