Indicator

Confluence Order Blocks | ProjectSyndicateConfluence Order Blocks automatically identifies and validates high-probability, non-repainting Order Blocks. It filters for structural quality using displacement, normalizes all zone heights for consistency, and embeds a live multi-timeframe confluence engine inside every zone to provide a quantifiable, data-driven edge.
🧠 Live Multi-Timeframe Engine — This is not a single-timeframe tool. Every OB zone displayed on the chart is the result of a live, proximity-based confluence engine scanning three independent higher timeframes (e.g., M15, M30, H1) simultaneously. Each label shows exactly how many timeframes confirmed the zone, its composite strength rating (0-10), the session it formed in, its age, and its exact pip height, giving you an instant structural edge.
🎯 Displacement-Confirmed OBs — The engine doesn't just mark swing points. It validates each OB on the higher timeframes by requiring a powerful move away from the candle — a "displacement" — that is a user-defined multiple of the zone's range. This filters out weak or insignificant zones and focuses only on OBs that have demonstrated true market-moving intent before they are even considered for merging.
🎨 ATR-Normalized Zones — Eliminates visual noise from inconsistent zone sizes. This feature forces every merged OB zone to a uniform, ATR-based height (e.g., 0.75x ATR). This provides a clean, consistent chart and allows for a more objective analysis of price interaction with zones of equal visual weight, preventing massive tower blocks from distorting the chart.
📊 Proximity-Based Merging — Timeframes rarely align perfectly to the pip. The confluence engine uses an intelligent ATR-based proximity tolerance (e.g., 2.0x ATR) to detect when order blocks from different timeframes are clustered in the same price territory. It then mathematically merges them into a single, high-probability "Confluence Zone," ensuring you don't miss valid setups due to minor price discrepancies across timeframes.
✅ Chart-Timeframe Independent — The engine's credibility comes from its architectural stability. Unlike standard MTF indicators that repaint or shift zones depending on the chart you are viewing, this engine runs a completely stateless detection algorithm. The merged zones you see on an M1 chart are mathematically identical to the zones you see on an M5 or M15 chart.
🔧 Fully Customizable — Control every aspect of the engine, including the 3 target timeframes, the Minimum Timeframe Confluence threshold (e.g., require 3 out of 3 TFs), the Proximity Tolerance multiplier, the Minimum Strength Filter, and the colors/visibility of Bullish and Bearish zones.
🔬 Why this algo is unique: Standard Order Block indicators are subjective — often just drawing boxes on the current timeframe's last up/down candle before a swing, with no proof of higher-timeframe alignment. The Confluence OB Engine transforms this subjective tool into an objective, multi-dimensional trading instrument. It doesn't just show you a zone; it proves that the zone is backed by institutional intent across multiple timeframes, merging them into a single, undeniable area of interest on the exact chart you are viewing.
🌐 Apply to Gold (XAUUSD), Indices (US30, NAS100), Forex Majors, and Crypto on M1 or M5 execution timeframes while tracking M15, M30, and H1 structures. The engine is designed for assets that exhibit clear swing structures and respect deep supply/demand dynamics.
🗂️ How to use this? The most critical metric is the Timeframe Confluence Count and the Strength Rating. A zone confirmed by 3 timeframes with a Strength of 8.0+ indicates a massive structural edge. Consider only taking trades from these high-confluence zones that align with the prevailing higher-timeframe trend. The embedded label also shows the exact "pips away" distance, allowing for precise limit order placement.
⚙️ IMPORTANT NOTICE: This indicator is a professional-grade tool designed to identify structural confluence. It should NOT be used as a standalone signal for entering trades blindly. Always use it in conjunction with your own trading strategy, price action analysis, and strict risk management to confirm trade setups. Indicator

SMC EMA CROSS ZIG ZAG# Mega Trend Suite – SMC + EMA (Lightweight Edition)
**A professional Smart Money Concepts (SMC) toolkit combined with classic EMA crossovers and VWAP.**
No Heikin Ashi, no MA Cross EMA – just clean price action, order flow, and trend confirmation.
---
## 🔍 Overview
This indicator bundles the most essential tools for **institutional-style analysis**:
- ✅ **SMC Structure** (internal & swing BOS/CHoCH)
- ✅ **Order Blocks** (bullish/bearish, with box or candle highlight)
- ✅ **Fair Value Gaps (FVG)** with auto threshold & multi‑timeframe support
- ✅ **Premium / Discount Zones** + Equilibrium line
- ✅ **Multi‑Timeframe High/Low levels** (Daily / Weekly / Monthly)
- ✅ **ZigZag** (main & internal) with HH/HL/LH/LL labels
- ✅ **VWAP** – anchored to the session
- ✅ **Two EMA sets** (9/21 & 20/50) with cross signals
- ✅ **Compact Dashboard** (SMC bias & current timeframe)
- ✅ **Full alert system** for all SMC events and EMA crosses
---
## 🧠 Key Features Explained
### 1. Smart Money Concepts (SMC)
| Component | What it does |
|-----------|---------------|
| **Swing Structure** | Detects Break of Structure (BOS) and Change of Character (CHoCH) on a higher‑length pivot (default 50). Shows labels “BOS” or “CHoCH” when price crosses a swing high/low. |
| **Internal Structure** | Same as swing, but uses a shorter length (default 10) to catch micro‑structure changes. Optional confluence filter (body vs. wick). |
| **Order Blocks (OB)** | Stores the extreme bar (parsed by volatility filter) after a valid BOS/CHoCH. Displays as zone boxes or candle highlights. Mitigation detection (close / high/low). |
| **Fair Value Gaps (FVG)** | Detects 3‑bar imbalances on a chosen timeframe (or current). Uses auto‑threshold based on historical bar delta. Extendable boxes. |
| **Premium / Discount Zones** | Calculates the range between the highest swing high and lowest swing low. Shades the upper 50% (premium) and lower 50% (discount) with an equilibrium line in the middle. |
| **MTF High/Low Levels** | Plots previous period’s high/low for Daily, Weekly, Monthly. Line style (solid/dashed/dotted) and color customizable. |
| **ZigZag** | Classic pivot‑based ZigZag with HH/HL/LH/LL labels. Separate internal ZigZag available for finer swings. |
### 2. VWAP
- Standard Volume Weighted Average Price.
- Useful for intraday bias – price above VWAP = bullish tilt.
### 3. EMA Sets
Two independent EMA pairs:
- **Set 1:** 9 & 21 (fast)
- **Set 2:** 20 & 50 (slower)
Each set plots its own lines and generates up/down triangles on crossover / crossunder. Colours, widths, and signal colours are fully adjustable.
---
## ⚙️ Input Parameters (Grouped)
### 🔧 Master Controls
- `Enable SMC Module` – turn all SMC features on/off.
### 📊 SMC – General
- `Mode` – Historical (keeps all drawings) / Present (refreshes each bar).
- `Style` – Colored / Monochrome.
### 📊 SMC – Structure & Order Blocks
- Internal / Swing lengths, label sizes, BOS/CHoCH filter (All / BOS only / CHoCH only).
- OB display mode (Both / Zone Box / Candle Highlight).
- OB mitigation source (Close / High/Low).
- OB filter (ATR / Cumulative Mean Range).
### 📊 SMC – Fair Value Gaps
- Auto threshold on/off, custom timeframe, extend bars.
### 📊 SMC – MTF High/Low Levels
- Show Daily / Weekly / Monthly – each with independent line style & colour.
### 📊 SMC – Premium / Discount Zones
- Toggle zones, custom colours for premium, equilibrium, discount.
### 📊 ZigZag Swing Lines
- Main ZigZag depth/deviation/backstep, colours, width, style, labels.
- Optional internal ZigZag with separate settings.
### 📈 VWAP & EMA Sets
- VWAP on/off, colour, width.
- Two EMA sets: each with fast/slow lengths, colours, line width, cross signal colours.
### 📊 Dashboard
- Position (Top‑Left/Right, Bottom‑Left/Right), font size.
### 🎨 Colors
- Global bull / bear / neutral colours (used in dashboard).
---
## 🖥️ Dashboard
A small table shows at a glance:
- **SMC Bias** – Bullish / Bearish / Neutral (based on swing trend).
- **Current Timeframe** – e.g., “60” for 1h, “D” for daily.
The dashboard adapts to dark/light chart background.
---
## 🚨 Alerts (30+ conditions)
All alerts are available from the PulseWire alert dialog:
| Category | Alerts |
|----------|--------|
| **Internal Structure** | Bull/Bear BOS, Bull/Bear CHoCH |
| **Swing Structure** | Bull/Bear BOS, Bull/Bear CHoCH |
| **Order Blocks** | Bull/Bear Internal OB mitigated, Bull/Bear Swing OB mitigated |
| **Fair Value Gaps** | Bull FVG formed, Bear FVG formed |
| **EMA Crosses** | EMA Set 1/2 Bull Cross, Bear Cross |
---
## 🧩 How to Use
1. **Add the indicator** to any chart (any symbol, any timeframe).
2. **Keep default settings** for a clean SMC + EMA experience.
3. **For scalping / intraday:**
- Enable Internal Structure (length 5–10).
- Use VWAP as bias filter.
- Watch for FVGs on 1m–15m.
4. **For swing trading:**
- Focus on Swing Structure (length 50+).
- Use Premium/Discount zones for entries (buy in discount, sell in premium).
- Confirm with EMA Set 2 (20/50) cross.
5. **Order Blocks:**
- When price returns to a bullish OB zone, look for buying opportunities.
- When a bearish OB gets mitigated, expect continuation down.
---
## 💡 Tips
- **Monochrome style** is perfect for grayscale / minimalistic setups.
- **Present mode** keeps drawings only on the current visible bars – useful for low‑resource usage.
- **FVG auto‑threshold** works best on higher timeframes (1h+). For lower timeframes, you may turn it off and use manual threshold via the `barDelta` calculation (already built‑in).
- The **ZigZag** does not repaint – it uses confirmed pivots.
---
## 📜 Credits & Version
- **Original concept:** Mega Trend Suite (SMC + HAMA + MA Cross EMA)
- **This edition:** Removed HAMA, MA Cross EMA, and Heikin Ashi Smoothed – keeping only SMC, VWAP, and EMA sets.
- **Version:** 1.0 (Pine Script v6)
---
## ❗ Notes
- This indicator is **not a financial advice** – always use proper risk management.
- Maximum drawings (labels, lines, boxes) are set to 500 each – enough for several months of data.
- Multi‑timeframe levels (Daily/Weekly/Monthly) work correctly only if the chart has enough historical data.
---
**Happy trading!**
*Mega Trend Suite – SMC + EMA* Indicator

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

[ A L P H X ] Nexus - SMC Order Flow Confluence EngineAlphaX Nexus — Smart Money Concepts × Order Flow Confluence Engine, Market Structure Detection, Institutional Zone Mapping & Real-Time Verdict Dashboard
AlphaX Nexus is a professional-grade Smart Money Concepts and Order Flow analysis system built on a proprietary eight-factor Confluence Engine that unifies market structure, institutional price zones, liquidity mechanics, and raw order flow data into a single precision-scored signal framework. It detects Break of Structure and Change of Character events in real time, automatically draws and manages Order Block and Fair Value Gap zones, identifies liquidity sweeps and equal highs/lows, estimates buy-sell delta without tick data, detects institutional absorption, and delivers graded entry signals with a live confidence breakdown — all governed by a real-time verdict dashboard. Designed for intraday traders on fast-moving instruments like XAUUSD, indices, and forex majors.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏗 The Five-Engine Architecture — How It Works
AlphaX Nexus is not a single indicator layered on price — it is a multi-engine confluence system where every component is purpose-built and feeds into a central scoring mechanism. Five interconnected engines run simultaneously on every bar:
Market Structure Engine — detects Break of Structure and Change of Character using pivot-based swing detection
Institutional Zone Engine — auto-draws and manages Order Blocks and Fair Value Gaps anchored to structural events
Liquidity Engine — identifies sweep events, equal highs/lows, and engineered liquidity grabs
Order Flow Engine — estimates buy/sell delta, detects absorption candles, and flags volume climax events
Confluence Scoring Engine — aggregates all of the above into a real-time score (0–8) and weighted confidence percentage (0–100%), produces a letter grade, and renders a live verdict
Every signal that appears on the chart has passed through all five engines simultaneously. Nothing fires from a single condition in isolation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Market Structure Engine — BOS & CHoCH
SCREENSHOT_BOS_CHOCH
BOS ↑ and CHoCH ↑ labels marking continuation and reversal structural events — CHoCH rendered larger to reflect its higher significance
The foundation of AlphaX Nexus is a clean pivot-based market structure model. Swing highs and lows are identified using a configurable Swing Detection Length (default: 7 bars either side), and the system tracks the two most recent swing highs and lows at all times to monitor structural progression.
Break of Structure ( BOS ↑ / BOS ↓ )
A BOS is a continuation event . It fires when:
Price closes above the last confirmed swing high while the structural trend is already bullish or undefined → BOS ↑ label appears below the bar in yellow-green
Price closes below the last confirmed swing low while the structural trend is already bearish or undefined → BOS ↓ label appears above the bar in red
BOS confirms that the existing trend is intact and progressing. It is the signal to look for re-entry setups in the direction of the established move.
Change of Character ( CHoCH ↑ / CHoCH ↓ )
A CHoCH is a reversal event — the first structural break against the established trend. It fires when:
Price closes above the last swing high while the structural trend was previously bearish → CHoCH ↑ signals a potential bullish transition
Price closes below the last swing low while the structural trend was previously bullish → CHoCH ↓ signals a potential bearish transition
CHoCH labels are rendered larger and brighter than BOS labels to reflect their higher significance. Once a CHoCH fires, the structural trend flips and subsequent breaks in that direction become BOS events. The structureTrend variable (1 = bullish, -1 = bearish, 0 = ranging) propagates directional context across the entire Confluence Engine — every other component reads from it.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟩 Order Block Engine
Active bullish and bearish Order Block zones extending to the right — solid-bordered boxes marking institutional demand and supply areas
Order Blocks are the last opposing candle before an impulsive structural break — the footprint of institutional order flow that caused the move. AlphaX Nexus auto-draws, manages, and tracks these zones in real time.
How Order Blocks are identified:
Bullish OB — on a BOS ↑ or CHoCH ↑, the engine scans back up to 15 bars to find the last bearish candle (close < open) before the break. The full high-to-low range of that candle becomes the OB zone, drawn in yellow-green
Bearish OB — on a BOS ↓ or CHoCH ↓, the engine scans back up to 15 bars to find the last bullish candle (close > open). That candle's full range becomes the OB zone, drawn in red
Volume Confirmation Filter
When enabled, the OB candle must have volume exceeding the 20-bar Volume SMA multiplied by a configurable OB Volume Multiplier (default: 1.4×). Only OBs backed by genuine institutional activity are drawn — random opposing candles do not qualify.
Active Zone Management:
Max Active Order Blocks (default: 4) — when the limit is reached, the oldest OB is removed to make room for new ones
OB Max Age (default: 80 bars) — zones expire automatically to prevent stale OBs from cluttering the chart
Mitigation Mode — two options for when an OB is considered consumed:
Wick — the OB is mitigated when any wick penetrates through the zone boundary
Close — stricter mode; only a bar closing beyond the boundary triggers mitigation
When price is currently trading inside an active OB, the zone flags as active and feeds directly into the Confluence Score and dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟦 Fair Value Gap Engine
Bullish and bearish Fair Value Gap zones rendered with dotted borders — distinguishing them visually from the solid-bordered Order Blocks
Fair Value Gaps are price imbalances created by impulsive institutional moves where three consecutive candles leave a gap between the first and third candle's range. AlphaX Nexus identifies these automatically and manages them as live zones.
How FVGs are identified:
Bullish FVG — the low of the current bar sits above the high of the candle two bars ago, with the middle candle bullish (close > open). The gap between those two levels is the FVG zone
Bearish FVG — the high of the current bar sits below the low of the candle two bars ago, with the middle candle bearish. The gap between those two levels is the FVG zone
A minimum size filter expressed as a percentage of ATR (default: 15% of ATR-14) prevents micro-gaps from cluttering the chart — only genuinely significant imbalances are drawn
FVG zones are rendered with a dotted border and subtle fill, clearly distinguishing them from Order Blocks at a glance. Like OBs, they extend to the right until filled or expired.
Zone Management:
Max Active FVGs (default: 4) limits simultaneous zones on screen
FVG Max Age (default: 60 bars) auto-expires old gaps
A bullish FVG is filled and removed when price drops to or below its lower boundary; a bearish FVG when price rises to or above its upper boundary
When price is trading inside an active FVG, the zone is flagged and feeds the Confluence Engine
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💧 Liquidity Engine — Sweeps & Equal Highs/Lows
$ SWEEP labels marking bullish and bearish liquidity grab events — dashed lines connecting equal swing highs and lows marking institutional liquidity pools
Institutional traders frequently engineer liquidity grabs before reversals — spiking price into pools of stop orders above swing highs or below swing lows, filling their positions against trapped retail traders, then reversing. AlphaX Nexus identifies both the sweep event and the liquidity pools themselves.
Liquidity Sweeps ( $ SWEEP )
The engine monitors a rolling Liquidity Lookback window (default: 25 bars) to track recent highs and lows:
Bullish Liquidity Sweep — price wicks below the recent low of the lookback window but closes back above it, with a bullish close. A "$ SWEEP" label appears below the bar in yellow-green, signalling that sell-side liquidity was grabbed and a bullish reversal may follow
Bearish Liquidity Sweep — price wicks above the recent high but closes back below it, with a bearish close. A "$ SWEEP" label appears above the bar in red, signalling that buy-side liquidity was taken
A confirmed liquidity sweep scores 15 points in the Confidence Engine — one of the highest single-factor contributions available.
Equal Highs / Equal Lows — Liquidity Pool Lines
When two consecutive swing highs are within a configurable Equal Level Threshold (default: 0.08%) of each other, the engine draws a dashed horizontal line at the average of the two highs — marking an Equal Highs level. The same logic applies to Equal Lows. These levels represent clusters of stop orders and are prime targets for institutional sweeps. Lines update automatically as new swings form.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Order Flow Engine — Delta, Absorption & Volume
Diamond absorption markers, volume spike dots at the bottom of the chart, and delta divergence triangles — the order flow layer operating beneath price
Without tick data, AlphaX Nexus uses a proprietary candle-position method to estimate real-time buy and sell pressure, detect institutional absorption, and identify volume climax events — all from standard OHLCV data.
Estimated Delta (Buy vs Sell Volume)
On every bar, the engine estimates the proportion of volume that was buyer-driven versus seller-driven based on where price closed relative to the candle's full range:
Buy Volume Estimate — volume × ((close − low) / (high − low))
Sell Volume Estimate — remaining volume after buy estimate
Raw Delta — the difference between buy and sell estimates, smoothed by a configurable EMA ( Delta Smooth Length , default: 4)
Delta Divergence Detection:
Delta Accumulation (▲ triangle below bar) — price makes a new 10-bar low but smoothed delta is rising → institutional accumulation is occurring against the price move. A small yellow-green triangle appears below the bar
Delta Distribution (▼ triangle above bar) — price makes a new 10-bar high but smoothed delta is falling → institutional distribution is occurring into the rally. A small red triangle appears above the bar
Absorption Detection (◆ diamond)
Institutional absorption is detected when a candle has a large wick relative to its body combined with above-average volume — the hallmark of a large player absorbing supply or demand:
Bullish Absorption — lower wick exceeds the body size multiplied by the Absorption Wick/Body Ratio (default: 2.0×), volume is above average, and the candle closes bullish. A yellow-green diamond appears below the bar
Bearish Absorption — upper wick exceeds the body multiplied by the same ratio, volume is above average, and the candle closes bearish. A red diamond appears above the bar
Volume Spike Dots
When volume exceeds the Volume SMA multiplied by the Volume Spike Multiplier (default: 1.8×), a small dot appears at the bottom of the chart — yellow-green on a bullish bar, red on a bearish bar. This gives an immediate visual history of where institutional volume surges have occurred.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Eight-Factor Confluence Scoring Engine
Every entry signal is scored by a real-time confluence engine that evaluates eight independent factors and produces two outputs: a raw score out of 8 and a weighted confidence percentage from 0 to 100% . Only signals meeting your configured Min Confluence Score threshold are displayed.
The eight confluence factors are:
1 — Market Structure (Score: 1 point / Confidence: up to 25%)
structureTrend == 1 (bullish) or -1 (bearish) contributes 1 point to the raw score
In the confidence calculation: confirmed bullish/bearish structure = 25%, ranging/undefined = 10%, opposing structure = 0%
2 — Price Inside Order Block (Score: 1 point / Confidence: up to 15%)
Price currently trading inside an active, unmitigated bullish or bearish OB
Represents the highest-probability demand or supply zone on the chart
3 — Price Inside Fair Value Gap (Score: 1 point / Confidence: up to 10%)
Price currently trading inside an active, unfilled bullish or bearish FVG
Confirms price is retesting a genuine institutional imbalance
4 — Liquidity Sweep (Score: 1 point / Confidence: up to 15%)
A confirmed bullish or bearish liquidity sweep on the current bar
One of the highest-weighted single-bar factors — a sweep into a zone and POI combination is the highest-probability setup in the system
5 — Volume Confirmation (Score: 1 point / Confidence: up to 7%)
Volume is above the 20-bar SMA and the candle closes in the signal direction (bullish close for long, bearish close for short)
Confirms that institutional participation is present on the signal bar
6 — Institutional Absorption (Score: 1 point / Confidence: up to 10%)
A bullish or bearish absorption candle detected on the current bar
High-volume wick rejection confirming that large players are actively absorbing supply or demand
7 — Delta Divergence (Score: 1 point / Confidence: up to 8%)
Delta accumulation (price at lows, delta rising) or delta distribution (price at highs, delta falling) detected on the current bar
Reveals hidden institutional accumulation or distribution that price action alone does not show
8 — EMA Trend Alignment (Score: 1 point / Confidence: up to 10%)
Full EMA fan alignment (Fast 21 > Medium 50 > Slow 200 for bulls, reverse for bears) = full 10% contribution
Partial alignment (price above/below 200 EMA with Fast above Medium) = 5% contribution
Confirms the macro structural backdrop supports the signal direction
Confidence Grade Scale:
A+ — 75% and above — highest conviction setups
A — 60% to 74%
B — 45% to 59%
C — 30% to 44%
D — below 30% — filtered out at default settings
The default minimum confluence score is 3 out of 8 — calibrated for XAUUSD 1-minute to allow valid high-probability setups through while blocking weak, low-factor signals. Increase to 4 or 5 for cleaner, lower-frequency signals on higher timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Entry Signal Labels ( ▲ L O N G / ▼ S H O R T )
Entry signal labels rendered below/above price with dotted connector lines — showing the grade, confidence percentage, raw score and active confluence factors
When all conditions align — minimum confluence score met, signal cooldown cleared, and candle closing in the signal direction — an entry label fires. Labels are positioned at a configurable ATR offset from the candle (default: 3.4× ATR) to keep them clear of price, with a dotted connector line drawn from the bar to the label.
Each signal label displays three lines of information:
Line 1 — direction: ▲ L O N G or ▼ S H O R T
Line 2 — grade letter (A+, A, B, C) | confidence percentage | raw score out of 8
Line 3 — a checklist of every confluence factor that fired: ✓STR ✓OB ✓FVG ✓LIQ ✓VOL ✓ABS ✓DLT ✓EMA
Label color scales with confidence — brightest at A+, dimmed at lower grades — giving an immediate visual read on signal quality without reading the numbers.
Signal Conflict Resolution:
If both a bullish and bearish signal qualify on the same bar, the system compares the raw scores and publishes only the higher-scoring direction
If scores are exactly equal, both signals are suppressed — a genuinely ambiguous bar produces no signal
Signal Cooldown (default: 12 bars) prevents signal spam during fast-moving or choppy conditions by enforcing a minimum number of bars between consecutive signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☁ Trend Cloud & EMA System
The Trend Cloud and three EMAs providing structural context — fanned EMAs confirm trend health, converging EMAs warn of choppy or ranging conditions
Three structural tools provide directional context beneath the signal layer:
Trend Cloud (Kijun/Tenkan Style)
Cloud Fast — the midpoint of the highest high and lowest low over the Cloud Fast Length (default: 9 bars)
Cloud Slow — the midpoint of the highest high and lowest low over the Cloud Slow Length (default: 26 bars)
When Cloud Fast is above Cloud Slow → cloud fills bullish yellow-green
When Cloud Fast is below Cloud Slow → cloud fills bearish red
The cloud thickness reflects the strength of the current directional move — a wide cloud means strong trending conditions, a collapsed cloud means choppy or ranging conditions
Three EMAs — Structural Context:
Fast EMA (21) — yellow-green cross marks — the immediate momentum reference. When price holds above the Fast EMA, intrabar momentum favours longs
Medium EMA (50) — gray line — the intermediate trend filter. Its slope direction confirms whether momentum is building or fading
Slow EMA (200) — dark gray thick line — the structural backbone. Used by the confidence scoring system and the dashboard as the macro trend divider
EMA Fan Analysis:
When all three EMAs are fanning outward in order (Fast > Medium > Slow for bullish, reverse for bearish) — the trend is healthy and entry signals carry maximum confidence weight from the EMA factor
When EMAs are converging — trend momentum is fading, expect chop or a structural shift
When EMAs are tangled and flat — range-bound market, the EMA factor scores zero in the confidence engine
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Live Verdict Dashboard
The AlphaX Nexus dashboard — three-column layout showing all market metrics, active zone counts, bull/bear scores with grades, and the real-time verdict
A fully configurable on-chart dashboard presents the complete state of all five engines simultaneously. It updates on every bar and requires no sub-windows or separate panels.
Dashboard rows and what they display:
STRUCTURE — current structureTrend state (▲ BULLISH / ▼ BEARISH / — RANGING) with the most recent structural event (BOS or CHoCH) shown in the detail column
EMA TREND — full fan alignment state (▲ BULL ALIGNED / ▼ BEAR ALIGNED / — MIXED) with price position relative to the 200 EMA
CLOUD — current trend cloud direction (▲ BULLISH / ▼ BEARISH / — FLAT)
REL VOLUME — relative volume state (SPIKE / HIGH / NORMAL / DRY) with the exact multiplier (e.g. 2.14×)
DELTA FLOW — smoothed delta direction (▲ BUYING / ▼ SELLING / — FLAT) with accumulation or distribution label when a divergence is active
ACTIVE ZONES — live count of active Order Blocks and Fair Value Gaps, with a real-time indicator if price is currently inside any zone (IN OB▲, IN OB▼, IN FVG▲, IN FVG▼)
BULL SCORE — raw score out of 8, confidence percentage, and letter grade for the bullish direction
BEAR SCORE — raw score out of 8, confidence percentage, and letter grade for the bearish direction
VERDICT — the system's real-time conclusion based on score, structure, and EMA alignment combined
Verdict logic:
✓ HIGH CONFIDENCE LONG — bull score ≥ 5, structure bullish, EMA trend bullish
✓ HIGH CONFIDENCE SHORT — bear score ≥ 5, structure bearish, EMA trend bearish
△ LEAN LONG — CAUTION — bull score meets minimum threshold and structure is bullish, but EMA alignment is not fully confirmed
▽ LEAN SHORT — CAUTION — bear score meets minimum threshold and structure is bearish, but EMA alignment is not fully confirmed
✕ MIXED — STAND ASIDE — both scores meet the threshold simultaneously — no clear directional edge
✕ NO CLEAR EDGE — neither score meets the threshold — no tradeable condition
Dashboard position (Top Right / Top Left / Bottom Right / Bottom Left), text size (Tiny / Small / Normal), and background color are all fully configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Nexus — Step by Step
Step 1 — Read the Dashboard Verdict
Check the VERDICT row first — it summarizes all five engines in a single line
HIGH CONFIDENCE signals only appear when structure, EMA trend, and score all align simultaneously
If the verdict is MIXED or NO CLEAR EDGE → do not trade. Wait for conditions to resolve
Step 2 — Confirm the Zone
Check the ACTIVE ZONES row — is price currently inside an OB or FVG?
A signal firing while price is inside a relevant zone (bullish signal in a bullish OB, or bearish signal in a bearish OB) is the highest-probability setup in the system
Signals that fire away from any active zone are lower conviction — proceed with caution
Step 3 — Wait for a $ SWEEP (Optional but Powerful)
A liquidity sweep into a zone before the signal fires is the ideal entry trigger
Sweep + OB/FVG + structure alignment = the full Smart Money setup with all major confluence factors active
Not every signal will have a sweep — but when it does, the confidence score and grade will reflect it
Step 4 — Enter on the Signal Label
A ▲ L O N G or ▼ S H O R T label with grade A or A+ is your primary entry signal
Read the confluence checklist on line 3 — the more ✓ marks, the stronger the setup
Place your stop loss beyond the relevant Order Block boundary or the recent swing high/low
Step 5 — Manage with the Dashboard
After entry, monitor the DELTA FLOW and REL VOLUME rows — if delta starts diverging against your position while volume spikes, momentum may be exhausting
Monitor the STRUCTURE row — if a CHoCH fires against your trade direction, the trend may be reversing
Watch the ACTIVE ZONES row — if price enters an opposing OB or FVG during your trade, consider taking partial profits
Step 6 — Exit When Structure Changes
A CHoCH in the opposite direction is the primary exit signal — the trend has reversed
A VERDICT shift to MIXED or NO CLEAR EDGE while in a trade is a warning to tighten your stop
Close remaining positions before the opposing trend establishes a new high-confidence score
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🏗 Five-engine architecture — market structure, institutional zones, liquidity, order flow, and confluence scoring all running simultaneously
📐 Pivot-based BOS and CHoCH detection — clean structural labels with automatic trend state tracking
🟩 Auto-managed Order Block zones — volume-confirmed, mitigated, and age-expired automatically
🟦 Fair Value Gap zones — ATR-filtered, filled and removed when price returns
💧 Liquidity sweep detection with $ SWEEP labels — and equal highs/lows pool lines on dashed horizontals
📊 Estimated delta without tick data — buy/sell pressure estimated per bar using candle position method
◆ Institutional absorption detection — high-volume wick rejection candles marked with diamond shapes
🔵 Volume spike dots at the chart base — color-coded by direction for instant volume history
🧠 Eight-factor confluence scoring — each factor independently scored and weighted into a 0–100% confidence value
🎯 Grade-scaled signal labels — A+, A, B, C grades with full confluence checklist printed on every signal
📊 Live verdict dashboard — 14-row real-time summary of all engine states, scores, and directional verdict
☁ Kijun/Tenkan-style trend cloud — structural context cloud with directional fill
📐 Three EMAs (21 / 50 / 200) — fan analysis for trend health assessment
⏱ Configurable signal cooldown — prevents signal spam during choppy transitions
🎨 Cohesive dual-tone color theme — yellow-green for bullish, red for bearish, gray for neutral
🔔 10 alert conditions — structure events, entry signals, sweeps, and absorption with clean message formatting
⚙ Fully configurable — all detection lengths, thresholds, zone limits, colors, and display options adjustable from the settings panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Market Structure
Swing Detection Length — pivot lookback length for swing high/low identification (default: 7)
Show Break of Structure — toggle BOS ↑ / BOS ↓ labels on chart
Show Change of Character — toggle CHoCH ↑ / CHoCH ↓ labels on chart
Show Structure Labels — master toggle for all structure labels
Order Blocks
Show Order Blocks — toggle OB zone boxes
Max Active Order Blocks — maximum number of simultaneous OB zones displayed (default: 4)
Mitigation Mode — Wick or Close mode for OB invalidation
Require Volume Confirmation — filter OBs by volume threshold
OB Volume Multiplier — minimum volume multiple required on the OB candle (default: 1.4×)
OB Max Age (bars) — auto-expiry age for uncollected OBs (default: 80)
Fair Value Gaps
Show Fair Value Gaps — toggle FVG zone boxes
Max Active FVGs — maximum simultaneous FVG zones (default: 4)
Min FVG Size (% of ATR) — minimum gap size relative to ATR-14 (default: 15%)
FVG Max Age (bars) — auto-expiry age for unfilled FVGs (default: 60)
Liquidity
Show Liquidity Sweeps — toggle $ SWEEP labels
Liquidity Lookback — rolling window for recent high/low tracking (default: 25)
Show Equal Highs/Lows — toggle dashed liquidity pool lines
Equal Level Threshold (%) — maximum percentage difference between two swings to qualify as equal (default: 0.08%)
Order Flow
Show Volume Analysis — toggle volume spike dots
Volume SMA Length — lookback period for average volume (default: 20)
Volume Spike Multiplier — threshold for volume spike classification (default: 1.8×)
Show Absorption Detection — toggle diamond absorption markers
Absorption Wick/Body Ratio — minimum wick-to-body ratio for absorption detection (default: 2.0×)
Show Delta Divergence — toggle delta accumulation/distribution triangles
Delta Smooth Length — EMA smoothing period for delta calculation (default: 4)
Confluence Engine
Min Confluence Score — minimum raw score (out of 8) required to display a signal (default: 3)
Show Entry Signals — master toggle for all signal labels
Signal Cooldown (bars) — minimum bars between consecutive signals (default: 12)
EMA Settings
Show Fast / Medium / Slow EMA — individual visibility toggles
Fast EMA Length — default: 21
Medium EMA Length — default: 50
Slow EMA Length — default: 200
Trend Cloud
Show Trend Cloud — toggle the Kijun/Tenkan cloud fill
Cloud Fast Length — fast midpoint period (default: 9)
Cloud Slow Length — slow midpoint period (default: 26)
Display
Signal Label Offset (x ATR) — vertical distance of signal labels from the bar (default: 3.4×)
Show Dashboard — master toggle for the live verdict dashboard
Dashboard Position — Top Right / Top Left / Bottom Right / Bottom Left
Dashboard Text Size — Tiny / Small / Normal
Dashboard Background — color of the dashboard panel
Theme Colors
Bull Primary / Bright / Dim — the yellow-green family for all bullish elements
Bear Primary / Bright / Dim — the red family for all bearish elements
Neutral / Inactive — gray for ranging states and inactive elements
Bullish / Bearish OB and FVG colors — individually configurable zone colors
Liquidity Line Color — color of the equal highs/lows dashed lines
Fast / Medium / Slow EMA colors — individually configurable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
Nexus Long Signal — fires when a bullish confluence signal label appears
Nexus Short Signal — fires when a bearish confluence signal label appears
Bullish BOS — fires on every bullish Break of Structure
Bearish BOS — fires on every bearish Break of Structure
Bullish CHoCH — fires on every bullish Change of Character
Bearish CHoCH — fires on every bearish Change of Character
Bullish Liquidity Sweep — fires on every confirmed bullish $ SWEEP event
Bearish Liquidity Sweep — fires on every confirmed bearish $ SWEEP event
Bullish Absorption — fires when institutional buying absorption is detected
Bearish Absorption — fires when institutional selling absorption is detected
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is specifically tuned for XAUUSD (Gold) on the 1-minute timeframe :
Swing Detection Length of 7 calibrated for gold's intraday swing structure
OB Volume Multiplier of 1.4× filters low-volume OBs while accepting most genuine institutional candles
FVG minimum size at 15% of ATR filters micro-gaps caused by gold's spread volatility
Liquidity Lookback of 25 bars captures the most relevant recent high/low pools without reaching too far back
Confluence minimum of 3/8 allows valid setups through while blocking single-factor noise
Signal Cooldown of 12 bars prevents repeated signals during fast gold moves
EMA periods 21 / 50 / 200 match gold's intraday momentum and structural rhythm
For other instruments or timeframes, adjust:
Higher timeframes (5m, 15m) — increase Swing Detection Length to 10–14, increase Min Confluence to 4
Forex majors — reduce OB Volume Multiplier to 1.2–1.3, FVG minimum to 10% of ATR
Indices (NAS100, US30) — use defaults or increase Liquidity Lookback to 35 for broader pool detection
Fewer signals — increase Min Confluence Score to 4–5, increase Signal Cooldown, enable volume confirmation on OBs
More signals — reduce Min Confluence to 2, decrease Signal Cooldown, disable FVG minimum size filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Gold (XAUUSD) scalpers and intraday traders — built and tuned specifically for gold's liquidity structure, volatility profile, and institutional behavior
📉 Smart Money Concepts traders — a complete SMC toolkit with BOS, CHoCH, OBs, FVGs, sweeps, and equal highs/lows in one unified system
📊 Order flow analysts — delta estimation, absorption detection, and volume spike mapping without expensive tick data subscriptions
🧠 Systematic traders — the eight-factor confluence scoring and letter grade system provides a fully quantitative framework, not just visual markers
📈 Traders who value clean charts — every element earns its place. No indicator soup, no overlapping noise, one cohesive system with consistent color language
⚠ Traders who struggle with overtrading — the minimum confluence gate, signal cooldown, and VERDICT dashboard physically prevent marginal setups from generating signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All OB and FVG zones are drawn from confirmed structural events only — no predictive or speculative zones are plotted
Delta estimation uses the candle position method (volume × close position within the range) — it is an approximation and not equivalent to real tick delta, but provides meaningful directional bias information
Equal highs/lows lines update on every new swing — the most recently drawn line always reflects the latest two qualifying swing points
All signal calculations are non-repainting — signals are confirmed on bar close and do not move or vanish retroactively
Designed primarily for intraday timeframes — M1 through H1. On daily or weekly charts the order flow features remain functional but the fast-moving zone management settings may require adjustment
Maximum 500 labels, boxes, and lines are used — on very low timeframes with extended chart history, oldest elements may be automatically removed by PulseWire's rendering limits
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ 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 the way institutions move it — structure first, zones second, order flow always. Indicator

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

Strong Gold Breakouts M5 | ProjectSyndicate⚙️ Gold short-term entries off M5 timeframe using dynamic consolidation zones with ADR-based TP targets.
📦 Advanced Consolidation Structure: The indicator detects and plots high-probability consolidation zones using a multi-dimensional 0–10 scoring algorithm. Only the strongest zones (score 6+) that span at least 10 candles are displayed, providing a robust breakout structure based on pure price compression. This is the default setting and is designed for intraday trading.
🎯 Precision Entry & Exit Levels: A color-coded consolidation box is plotted, with Buy Stop and Sell Stop dashed lines automatically placed 2 USD away from its borders. This buffer creates a neutral zone and helps filter out fakeouts.
💰 ADR-Based Profit Targets: Three Take Profit (TP) lines are plotted for both long and short trades (TP1, TP2, TP3). These levels are dynamically calculated as a percentage of the 10-day Average Daily Range (ADR), ensuring targets adapt to current market volatility.
⚙️ Fully Customizable Levels: Every element is adjustable. You can change the buffer between the consolidation box and stop lines, and customize the exact ADR percentages for TP1 (10%), TP2 (15%), and TP3 (20%) to suit your risk profile.
🔔 M5 Breakout Alerts: The indicator includes a powerful alerts module that triggers when an M5 candle closes above the Buy Stop level or below the Sell Stop level. This provides real-time notifications with full trade details for potential entries.
🎨 Clean Visuals & Clear Labels: The zones are color-coded based on strength — White=6, Yellow=7, Orange=8, Red=9–10 — for instant recognition. The Buy Stop, Sell Stop, and TP lines are fully labeled with exact price levels, ensuring zero confusion.
⚙️ Trading Strategy & Logic
This strategy is designed for precision and requires patience. The core idea is to wait for the market to confirm a breakout of an established high-scoring consolidation zone before entering a trade.
📌 Entry Logic
🕒 Wait for a Strong Zone: Allow the indicator to detect and plot a new high-scoring consolidation zone. Do not trade old or expired zones.
🔔 Set Your Alerts: In PulseWire, create a new alert and select the indicator. For the condition, choose "Any alert() function call". This will notify you the moment an M5 candle closes across a stop level.
👀 Wait for the M5 Close: For a Long Buy Trade, wait for an M5 candle to close above the Buy Stop line. For a Short Sell Trade, wait for an M5 candle to close below the Sell Stop line.
✅ Enter on Confirmation: Once you receive the alert and visually confirm the M5 candle has closed past the level, you can enter the trade targeting the dynamic ADR levels. Indicator

SmartFlow SMCThis indicator provides automated market structure analysis
based on Smart Money Concepts (SMC). It identifies structural
breaks, liquidity levels, and session timing using confirmed-
candle logic to eliminate repainting.
█ METHODOLOGY
Market Structure Detection (BoS / MSS)
The script uses pivot-based swing detection with a configurable
lookback period. Swing highs and lows are identified using
ta.pivothigh() and ta.pivotlow() , then tracked
to maintain structural history.
Break of Structure (BoS) is detected when a confirmed
candle's body (close ) exceeds the current swing target level
in the direction of the existing trend. This indicates trend
continuation.
Market Structure Shift (MSS) is detected when a confirmed
candle's body breaks the key pullback level against the existing
trend — the interim low in an uptrend or interim high in a
downtrend. This signals a potential trend reversal.
All detections use the previous closed bar , not the
current forming bar, ensuring signals do not repaint.
After a BoS is confirmed, the script tracks the highest high
(in uptrends) or lowest low (in downtrends) in real-time using
tracking variables. This compensates for the inherent delay in
pivot detection, so the BoS target level reflects actual price
extremes even before the next pivot formally confirms.
MSS Candidate Line
A dashed line drawn at the level where a trend reversal would
occur if broken. In an uptrend, this is the most recent pivot
low. In a downtrend, it is the most recent pivot high. This
provides advance visibility of where a structural shift would
trigger.
BoS Target Line
A dashed line showing the next level price needs to break for
trend continuation. Updates in real-time using both confirmed
pivots and tracked extremes.
█ LIQUIDITY DETECTION
Equal Highs / Equal Lows (EQH / EQL)
When two consecutive pivot highs (or lows) form within a
configurable tolerance percentage, they are marked as equal
levels. These represent clustered liquidity where stop orders
tend to accumulate — above for EQH (buy-side), below for EQL
(sell-side).
Buy Side / Sell Side Liquidity (BSL / SSL)
The most recent pivot high is marked as BSL, the most recent
pivot low as SSL. Only the latest level for each side is
displayed to maintain chart clarity.
Sweep Detection
A Sweep occurs when price wicks beyond a pivot level but the
candle body closes back inside. For a bullish sweep (SSL sweep),
the bar's low penetrates below the pivot low while both open and
close remain above it. This pattern indicates a liquidity grab
— price triggered stops below the level and reversed, suggesting
institutional accumulation. Bearish sweeps work inversely.
█ EMA 200
A 200-period Exponential Moving Average provides directional
bias context. The EMA line changes color based on whether
price is above (cyan, bullish bias) or below (red, bearish
bias). The info panel displays the EMA relationship as an
additional confluence filter.
When structure direction and EMA200 bias conflict (e.g.,
bullish structure but price below EMA200), the setup carries
lower confluence. When both align, the signal is stronger.
█ SESSION HIGHLIGHTING
Trading sessions are displayed as small colored squares at the
bottom of the chart:
Tokyo (09:00–15:00)
London (16:00–21:00)
New York (21:00–02:00)
Session times are adjustable and timezone-aware. This non-
intrusive display helps identify which session produced each
structural break.
█ INFO PANEL
A real-time table in the top-right corner displays:
Bias (Long/Short based on structure direction)
EMA200 position (Above/Below)
Current active session
Structure direction (Bullish/Bearish)
Swing Lookback value in use
█ WHAT MAKES THIS ORIGINAL
This indicator combines several concepts into a unified
structure-reading system:
1 — Hybrid pivot + tracking approach: After a pivot confirms,
the script continues tracking real-time highs/lows to compensate
for pivot detection delay. This is not standard in most SMC
indicators, which rely solely on pivot confirmation.
2 — Confirmed-candle logic throughout: All BoS, MSS, and Sweep
detections use close , ensuring zero repainting.
3 — MSS candidate + BoS target as live projection lines:
Rather than only marking historical events, the script projects
forward where the next structural break or reversal would occur.
4 — Sweep as a distinct event: Most SMC indicators treat sweeps
as part of BoS/CHoCH logic. This script separates sweep
detection (wick-based liquidity grab) from structural breaks
(body-based), allowing traders to distinguish between the two.
█ SETTINGS
Swing Lookback — Number of bars left and right to confirm
a pivot point. Lower values (3–4) detect more frequent swings.
Higher values (6–10) detect only major structure. Adjust based
on timeframe and instrument.
EQH/EQL Tolerance — Maximum percentage difference between
two pivot highs (or lows) for them to count as "equal."
Default: 0.05%.
Session Timezone — Adjusts session highlighting. Options:
Asia/Tokyo, Asia/Shanghai, UTC, America/New_York, Europe/London.
All visual elements (colors, visibility toggles) are individually
configurable in the settings panel.
█ USAGE NOTES
Works on any instrument (Forex, Commodities, Crypto, Indices)
Works on any timeframe — adjust Swing Lookback accordingly
BoS and MSS labels appear one bar after the signal bar
Designed as an overlay indicator — apply directly to chart
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

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

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

Indicator

SMC Fibonacci Golden Zone OscillatorThe SMC Fibonacci Golden Zone Oscillator is a technical analysis tool that combines the principles of Smart Money Concepts (SMC) with Fibonacci retracement theory. It operates as an oscillator in a separate pane, normalizing the current price to a 0-100 scale within a dynamically identified range (defined by the most recent swing highs and lows).
The script's primary purpose is to provide traders with a clear, visual representation of price's position relative to key Fibonacci levels, with a special focus on the "Golden Zone" (the area between the 50% and 61.8% retracement). It automates the identification of crucial SMC structures like Breaks of Structure (BOS), Changes of Character (CHoCH), and Equal Highs/Lows (EQH/EQL), plotting them directly on the oscillator for enhanced context.
iBOS (Internal Break of Structure)
An iBOS is a Break of Structure on the smaller, internal scale. It signifies that the short-term momentum is continuing in the same direction as the internal trend.
What it looks like on the oscillator: You will see a label iBOS appear as the oscillator line breaks a recent minor peak or trough.
How to use it:
For Entries: If the main trend is up (confirmed by a CHoCH on the Swing structure), you can use an iBOS on the internal scale as a precise entry signal to go long, as it confirms the short-term momentum is with you.
For Confirmation: A series of iBOSs in the direction of the main trend is a strong sign of a healthy, trending market.
iCHoCH (Internal Change of Character)
An iCHoCH is a Change of Character on the smaller, internal scale. It is the earliest possible warning of a potential reversal in the short-term momentum.
Utility & Core Functionality:
Contextual Price Position: It instantly shows whether the current price is in the "Premium" (high), "Discount" (low), or "Equilibrium" (middle) phase of its recent range.
Dynamic Support & Resistance: The script calculates and plots the exact price levels for the 0.50, 0.618, and 0.786 Fibonacci retracements of the current range. These act as dynamic, real-time support and resistance zones.
Reversal Zone Identification: The "Golden Zone" (highlighted between 61.8% and 50%) is a critical area where price often reverses or consolidates before a significant move. The oscillator clearly marks when price enters and exits this zone.
Automated SMC Analysis: It automatically draws and labels BOS, CHoCH, and Swing Points (HH, HL, LH, LL) on the oscillator, helping traders confirm trend strength and potential shifts without manual drawing.
Momentum and Signal Confirmation: It includes a Signal Line (EMA of the oscillator) and a Momentum Line to help confirm the strength and direction of price movements and to generate crossover trading signals.
What it looks like on the oscillator: You will see a label iCHoCH appear as the oscillator line breaks a recent minor trough or peak, going against the immediate internal trend.
How to use it:
For Exits: If you are in a long trade and see an iCHoCH to the downside, it might be a signal to take profits or tighten your stop-loss. It's the first hint that the short-term bullish momentum is faltering.
For Early Reversal Signals: An iCHoCH can sometimes precede a full-scale CHoCH on the Swing structure. Traders can use it as a very early alert that a larger reversal might be coming.
Recommended Timeframes:
This indicator is versatile and can be applied across various timeframes, but its effectiveness increases with higher timeframes due to more reliable structure.
Swing Trading (Ideal): 4-Hour, Daily, and Weekly charts are perfect. The SMC structures and Fibonacci levels formed on these timeframes are more significant and lead to more substantial price moves.
Day Trading: 15-Minute, 30-Minute, and 1-Hour charts work well. A common strategy is to use a higher timeframe (e.g., 4H) to determine the overall trend and key Golden Zone levels, then use a lower timeframe (e.g., 15M) for precise entry signals using the oscillator's crossovers and CHoCH patterns.
Scalping: 1-Minute and 5-Minute charts can be used, but with caution. Market noise on these low timeframes can generate false signals. It's highly recommended to use a higher timeframe for context when scalping.
How to Trade with the Script:
The core trading strategy revolves around identifying price reacting within the Golden Zone or other key Fibonacci levels.
Bullish (Long) Setup-
Identify the Context: Price is in a downtrend, and the oscillator is falling towards the lower end of the pane (0-50).
Entry Zone: Wait for the oscillator to enter the Golden Zone (61.8-50) or the Discount Zone (below 38.2). This indicates price is at a potential support area.
Confirmation Signal: Look for one or more of the following:
A bullish CHoCH (Change of Character) on the oscillator, where it breaks the most recent lower high.
A crossover of the main oscillator line above its Signal Line (EMA).
A bullish candlestick pattern (e.g., hammer, engulfing) on the main price chart at one of the Fibonacci price levels displayed on the right (e.g., the 0.618 or 0.786 price).
Entry: Enter a long position on the confirmation signal.
Stop-Loss: Place a stop-loss below the low of the range (the 0.786 or 1.0 Fibonacci level of that swing) or below the recent swing low on the price chart.
Take-Profit: Target the 50% equilibrium line (midline of the range), the opposite end of the range (the Premium Zone), or a subsequent lower high identified by the script.
Bearish (Short) Setup-
Identify the Context: Price is in an uptrend, and the oscillator is rising towards the upper end of the pane (50-100).
Entry Zone: Wait for the oscillator to enter the Golden Zone (61.8-50) or the Premium Zone (above 78.6). This indicates price is at a potential resistance area.
Confirmation Signal: Look for one or more of the following:
A bearish CHoCH on the oscillator, where it breaks the most recent higher low.
A crossover of the main oscillator line below its Signal Line (EMA).
A bearish candlestick pattern (e.g., shooting star, bearish engulfing) on the main price chart at one of the Fibonacci price levels (e.g., the 0.50 or 0.618 price).
Entry: Enter a short position on the confirmation signal.
Stop-Loss: Place a stop-loss above the high of the range (the 0.236 or 0.0 Fibonacci level) or above the recent swing high on the price chart.
Take-Profit: Target the 50% equilibrium line, the opposite end of the range (the Discount Zone), or a subsequent higher low.
Disclaimer:
Past performance of any trading system or methodology is not necessarily indicative of future results. This script and the accompanying analysis are provided for educational and informational purposes only. The content represents the personal opinions and strategies of the author and is not intended as, and should not be construed as, financial advice, a recommendation, or an offer to buy or sell any financial instrument. 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

Indicator
