SMC Confluence + EMA 9/15 + Fib 0.5Smart Money Concepts (SMC) Confluence Framework with Dual EMA & Equilibrium FilterExecutive SummaryThe SMC Confluence Framework is a multi-layered quantitative trading system engineered for Pine Script v6. It bridges the gap between retail momentum indicators and institutional order flow principles by deploying a strict algorithmic checklist. By cross-referencing Market Structure Shifts (CHoCH), Discount/Premium Pricing Zones, Imbalance Triggers (FVG), and Moving Average Crossovers, this tool completely eliminates emotional trading and filters out high-risk market noise.Technical Architecture & Core Modules1. Algorithmic Market Structure (CHoCH)Pivot Mechanism: Utilizes an optimized ta.pivothigh() and ta.pivotlow() matrix to isolate historical swing highs and lows, removing transient price action.Precision Visualization: Once a structural breakout occurs on a candle close, the script projects a mathematically precise, horizontal dashed vector exactly 1 bar forward ($1x$) along with an automated label alignment vector positioned cleanly underneath the break level.2. Dynamic Equilibrium Pricing Matrix (Fib 0.5)Equation Logic: Continuously solves for the central mathematical mean between active market extremes:$$\text{Equilibrium (Eq)} = \frac{\text{Swing High} + \text{Swing Low}}{2}$$Discount Phase (Buy Zone): Restricts long entries exclusively to price coordinates trading below the $0.5$ threshold, guaranteeing deep discount execution.Premium Phase (Sell Zone): Restricts short entries exclusively to price coordinates trading above the $0.5$ threshold, maximizing premium distribution value.3. High-Velocity Momentum Filter (Dual Exponential Moving Averages)9 EMA (Fast Velocity Vector): Visualized in high-visibility yellow, parsing immediate micro-trend direction.15 EMA (Slow Structural Vector): Visualized in crisp white, serving as dynamic trailing support and resistance.Trend Synchronization: Acts as a strict execution gatekeeper; long entries are blocked unless $\text{EMA 9} > \text{EMA 15}$, and short entries are blocked unless $\text{EMA 9} < \text{EMA 15}$.4. Institutional Liquidity & Imbalance EngineExecution triggers require a verified institutional footprint before generating a signal:Liquidity Hunting (Sweeps): Scans a historical 20-candle lookback window. Captures stop-run anomalies where price pierces structural liquidity extremes but forcefully closes back within the value range.Fair Value Gaps (FVG): Tracks displacement imbalances caused by institutional algorithmic orders, looking for unmitigated three-candle price gaps where $\text{Low} > \text{High} $ (Bullish) or $\text{High} < \text{Low} $ (Bearish).Strict Confluence Matrix (Execution Rules)🟢 System Buy Trigger (Confirmed Long)An execution-grade BUY Triangle prints if and only if the following logical constraints return true:Trend Orientation: Active bias is structural upside ($\text{Trend} = 1$) verified by a Bullish CHoCH.Pricing Efficiency: The execution candle is positioned firmly within the Discount Zone ($\text{Close} < \text{Eq}$).Velocity Confirmation: The fast exponential trend vector is above the slow vector ($\text{EMA 9} > \text{EMA 15}$).Institutional Footprint: A verified internal Bullish FVG or a successful demand-side Liquidity Sweep occurs.🔴 System Sell Trigger (Confirmed Short)An execution-grade SELL Triangle prints if and only if the following logical constraints return true:Trend Orientation: Active bias is structural downside ($\text{Trend} = -1$) verified by a Bearish CHoCH.Pricing Efficiency: The execution candle is positioned firmly within the Premium Zone ($\text{Close} > \text{Eq}$).Velocity Confirmation: The fast exponential trend vector is below the slow vector ($\text{EMA 9} < \text{EMA 15}$).Institutional Footprint: A verified internal Bearish FVG or a successful supply-side Liquidity Sweep occurs.Performance & Configuration NotesArchitectural Standard: Fully compiled in Pine Script v6 utilizing optimized object variable allocation to ensure lag-free rendering.Optimized Timeframes: Highly accurate on structural macro/micro intraday intervals ($5\text{m}$, $15\text{m}$, $1\text{h}$).Asset Compatibility: Built for high-liquidity environments including Major Fiat Pairs (FX), Crypto Majors (BTC, ETH), Spot Gold (XAUUSD), and Equity Index Derivatives (SPX, NDX Indicator

MTF SMC / ICT Market State Engine# MTF SMC / ICT Market State & Reversal Dashboard
A multi-timeframe market-structure dashboard designed for traders using **Smart Money Concepts (SMC), ICT, liquidity and price-action analysis**.
The indicator combines structural information across **1D, 4H, 15M and 1M** into a single compact dashboard, helping traders identify the current **directional bias, market stage, liquidity condition and potential reversals** without having to manually compare multiple timeframes.
### What the Dashboard Shows
For each timeframe, the dashboard displays:
* **Bias** — Bullish, Bearish or Neutral
* **Structure** — HH/HL, LH/LL, BOS, MSS or CHOCH
* **Market Stage** — Accumulation, Liquidity Build, Manipulation, Confirmed Shift, Expansion, Retracement, Continuation, Exhaustion, Distribution or Reversal
* **Liquidity** — BSL, SSL, EQH, EQL and recently swept liquidity
* **Reversal State** — Normal, Reversal Warning, Reversal Developing or Confirmed Reversal
* **Structural Confidence** — Low, Medium or High
### Multi-Timeframe Bias
The indicator treats each timeframe according to its role in the market hierarchy:
**1D → Macro Bias**
**4H → Primary/Intraday Bias**
**15M → Setup & Market Structure**
**1M → Execution Structure**
This allows the indicator to distinguish between a genuine trend reversal and a simple lower-timeframe retracement.
For example:
**1D Bullish → 4H Bullish → 15M Bearish → 1M Bearish**
may be classified as:
> **HTF BULLISH / LTF RETRACEMENT**
rather than incorrectly changing the overall bias to bearish.
### Reversal Detection
The indicator does not treat every liquidity sweep or MSS as a confirmed reversal.
Reversal conditions progress through four stages:
**Normal → Reversal Warning → Reversal Developing → Confirmed Reversal**
A stronger reversal requires multiple structural factors such as:
* Liquidity sweep
* Displacement
* MSS/CHOCH
* Protected high/low violation
* Structural follow-through
This helps separate **liquidity manipulation and retracement** from an actual change in market structure.
### Market-State Engine
Rather than displaying disconnected SMC signals, the indicator interprets them as part of a market cycle:
**Accumulation → Liquidity Build → Manipulation → Confirmed Shift → Expansion → Retracement → Continuation → Exhaustion → Reversal**
The purpose is to answer four key questions:
> **What is the market direction?**
> **What stage is the market currently in?**
> **Where is the relevant liquidity?**
> **Is the market continuing, retracing or beginning a reversal?**
### Designed for SMC / ICT Traders
The indicator is intended as a **market-analysis and decision-support tool**, not an automatic trading system.
It does not attempt to predict future price or provide guaranteed buy/sell signals. Instead, it organizes multi-timeframe structural information into a clear framework so traders can make more consistent discretionary decisions.
**Primary workflow:**
**1D Bias → 4H Structure → 15M Setup → 1M Confirmation → Liquidity → Market Stage → Reversal Status**
Indicator

Market Structure with ATR trailing stop [EDGE]Market Structure with ATR trailing stop — Multi-Timeframe Structure + ATR Trailing Stop.
A precision market-structure tool that goes beyond a simple pivot indicator by combining SMC-style swing detection, multi-timeframe CHoCH/BOS tracking, and a school-standard ATR trailing stop — all adapted automatically to the chart timeframe.
How it works:
The indicator scans pivot highs and lows using an SMC-calibrated Length (automatically picked for the current timeframe or set manually). Each broken pivot is classified as CHoCH (character change, phase start) or BOS (continuation) using your chosen breakout method — Wick, Body, or 2-Close confirmation. The same logic is mirrored across D1, H4, H1 and M5 in a summary table, so you always see whether the higher timeframes agree with the current one.
What it calculates:
- Swing pivots with HH / HL / LH / LL classification (optional labels)
- CHoCH / BOS counter — "UP (C)", "UP (C+1)", "DOWN (C+2)" — showing phase maturity per timeframe
- Trend direction on D1 / H4 / H1 / M5 in one summary table
- ATR trailing stop with EMA basis and one-directional ratcheting
- Live ATR% with a dynamic percentile-based "normal range" window
- Distance to trailing stop in %
Key features:
- Auto Length by timeframe (SMC standard: M5 = 7, H1 = 15, H4 = 20, D1 = 30 …)
- Three breakout modes: Wick (early), Body (default), 2-Close (conservative)
- Auto ATR multiplier and EMA basis per timeframe — sourced from Raschke, Carter, Chandelier Exit, Minervini, Wilder and Weinstein school standards
- Multi-timeframe trend dashboard with CHoCH/BOS phase counter
- Dynamic ATR% range (percentile lookback) — instant read on whether volatility is normal, muted or hot
- Configurable trailing-stop history window (2 or 10 last ranges)
- Optional HH / HL / LH / LL swing labels
- Fully customizable up/down colors
- Built-in alerts: trend flip up, trend flip down, stop touch up, stop touch down
- Disabled on timeframes below 5M with an on-chart notice — the indicator is calibrated for 5M and above
Who it's for:
Traders who want a single, opinionated structure tool that reads the market the same way institutional and SMC playbooks do — with automatic parameters that respect every timeframe, a clean multi-TF dashboard, and a trailing stop built from real trading-school standards rather than arbitrary defaults. Indicator

MTF Daily Bias DashboardOverview
The "MTF Daily Bias Dashboard" is a streamlined, non-intrusive utility designed specifically for Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies. Multi-timeframe analysis is the backbone of finding high-probability setups, but constantly switching between charts to check the higher-timeframe narrative can lead to missed lower-timeframe entries.
This indicator solves that problem by providing a clean, customizable on-chart dashboard that displays real-time, objective market bias across three different timeframes simultaneously.
Core Features
Objective Bias Detection: Bias is determined mechanically using a customizable Exponential Moving Average (EMA) and price action closes, removing emotion and guesswork from your directional bias.
Multi-Timeframe Synchronization: By default, it tracks the Daily (1D), 4-Hour (4H), and 15-Minute (15m) timeframes, giving you a complete top-down narrative at a glance.
Non-Repainting Logic: The multi-timeframe data is pulled securely, ensuring that historical signals remain accurate and current data does not repaint past the current candle formation.
Dynamic Visual Dashboard: A color-coded table (Green for Bullish, Red for Bearish) provides immediate visual confirmation of market alignment.
How It Works
The indicator evaluates the current price action against your chosen baseline (EMA).
Bullish (Green):Price closes above the EMA, and the current candle closes higher than the previous candle.
Bearish (Red): Price closes below the EMA, and the current candle closes lower than the previous candle.
Confluence: When all three timeframes show the same color, you have high-probability directional alignment, perfect for looking for lower-timeframe sweeps, order blocks, or fair value gaps in the direction of the trend.
Customization & Settings
Timeframes: Fully adjustable inputs allow you to change the three monitored timeframes to fit your specific trading model (e.g., Weekly/Daily/1H or 4H/1H/5m).
Dashboard Positioning: You can move the dashboard to any corner of your chart to ensure it never obstructs current price action.
Trend Logic: Adjust the EMA length used to calculate the bias to make the indicator more or less sensitive to recent price action.
Who is this for?
This tool is ideal for SMC, ICT, and pure price action traders who rely on the daily narrative but execute on intraday timeframes. It keeps you aligned with the macro trend while you focus on micro executions. Indicator

Indicator

Indicator

GEEN Smart Signal What it does
GEEN Smart Signal is not a single-indicator tool. It combines several classic analysis engines into one weighted Decision Engine that scores every trade candidate from 0 to 100, then only prints signals that pass a minimum confidence threshold. Every signal comes with a full breakdown showing exactly why it was accepted.
How it works
A signal candidate is generated by an ATR trailing-stop flip (with optional Heikin Ashi smoothing of the calculation source). The candidate is then evaluated by 8 engines, each contributing a weighted score:
Market Structure (20 pts) — pivot-based HH/HL/LH/LL classification, BOS and CHoCH detection
Trend (20 pts) — EMA 50/100/200 stack, classified into 5 states from strong bullish to strong bearish
Momentum (15 pts) — RSI position + ADX strength, used as confirmation only
Volume (15 pts) — current volume vs. 20-bar average, rewarding volume spikes
Liquidity (10 pts) — liquidity sweeps of prior swings, price inside a Demand/Supply zone or FVG, and Premium/Discount location vs. equilibrium
Volatility (10 pts) — ATR vs. its average, filtering out dead markets
Multi-Timeframe (10 pts) — 1H/4H/D trend alignment (closed-bar data only)
Risk (10 pts) — estimated reward-to-risk toward the nearest opposing swing
The total is normalized to 100. Below the minimum threshold (default 60) the signal is rejected (WAIT). 60–75 prints as weak, 75–85 as good, above 85 as strong. Clicking any signal arrow shows the per-engine score breakdown, entry, ATR stop, and 1R/2R/3R targets.
Chart elements
Structure labels (HH/HL/LH/LL, BOS, CHoCH), auto Order Blocks with mitigation removal, Fair Value Gaps, Equal Highs/Lows (EQH/EQL), session Kill Zones (Asia/London/New York, with an optional session filter), a main panel (decision, confidence, trend, momentum, risk, entry/SL/TP, RR, 5-timeframe view, active session, SMT check vs. a correlated symbol), and a monthly statistics panel that tracks how many signals reached TP1/TP2/TP3 or hit the stop — so you can measure performance yourself on any symbol and timeframe.
Anti-repaint design
Signals are confirmed on bar close only, higher-timeframe data uses closed bars with lookahead off, and structure breaks are evaluated on confirmed closes.
How to use
Works on any symbol and timeframe. Start with defaults, or raise the minimum confidence and enable the London/New York session filter for intraday trading. Alerts are included for buy/sell and for strong (85+) signals. This tool is for educational purposes and is not financial advice; no indicator guarantees results — always use proper risk management. Indicator

Sniper Liquidity Zones by DAVIDThis indicator is built for Smart Money Concepts (SMC) and ICT traders who want to capture high-probability entry opportunities based on Liquidity Sweeps and Fair Value Gaps (FVG).
Instead of cluttering the chart with endless arrows, shapes, or text labels, this tool draws clean Rectangle Zones that mark exact trading areas and remain active on your chart until price mitigates them.
System Logic and How It Works
Liquidity Sweeps Detection
The indicator tracks dynamic Swing Highs (Buy-Side Liquidity / BSL) and Swing Lows (Sell-Side Liquidity / SSL) using customizable pivot lookback periods. A sweep is confirmed when price pierces past a key swing point and closes back inside the range.
Fair Value Gap (FVG) Confluence
After a liquidity sweep occurs, the algorithm scans the next few candles for a valid 3-bar Fair Value Gap (Imbalance). When a sweep is backed by an FVG, it confirms institutional footprint and validates the signal.
Dynamic Buy and Sell Rectangle Zones
When both Liquidity Sweep and FVG conditions align:
A Green Rectangle Zone labeled "buy" is created for bullish setups.
A Red Rectangle Zone labeled "sell" is created for bearish setups.
These boxes automatically extend horizontally across future bars until price crosses through them (mitigation), giving you clear retest levels.
Built-in Anti-Spam Filter
To prevent duplicate signals on lower timeframes and maintain chart clarity, a minimum bar distance filter is integrated. This ensures zones only appear on fresh, distinct setups.
How to Use for Trading
Buy Setup:
Wait for price to sweep Sell-Side Liquidity (SSL).
Look for the Green Rectangle Zone labeled "buy" to appear on your chart.
Enter on the open or retest of the green rectangle zone, placing stop loss below the zone low.
Sell Setup:
Wait for price to sweep Buy-Side Liquidity (BSL).
Look for the Red Rectangle Zone labeled "sell" to appear on your chart.
Enter on the open or retest of the red rectangle zone, placing stop loss above the zone high.
Indicator Inputs
Pivot Lookback Length: Determines how far back the script looks to mark major market structure highs and lows.
Max Bars After Sweep to Find FVG: Controls how many candles after a sweep the script checks for an imbalance gap.
Min Bars Between Zones: Filters out closely repeating signals to avoid noise on volatile charts.
Zone Transparency and Colors: Allows complete visual customization of the buy and sell boxes. Indicator

Strong MTF Liquidity Matrix | ProjectSyndicateStrong MTF Liquidity Matrix
Strong MTF Liquidity Matrix puts four higher-timeframe charts on one screen and reads the same institutional map on every one of them — order blocks, fair value gaps, and resting liquidity — then ranks each zone by strength so you know which level actually matters. It's a command deck: your main chart stays clean while four live mini-panels track the structure above you, and the liquidity pools that price is really hunting sit directly on your candles.
Most multi-timeframe tools make you flip between charts. This one stops the flipping.
🔲 Four-Panel MTF Engine — the core. Four independent mini-charts render right on your pane — M30 · H1 · H2 · H4 by default, each one fully configurable to any timeframe (drop to seconds or push to Daily). Every panel fetches its own higher-timeframe candles, keyed on the HTF bar's own time, so the zones are invariant to your master chart timeframe — switch your main chart from M30 to H1 to D1 and the panels don't move. The last candle in each panel tracks the live, forming HTF bar tick by tick.
🟩 Order Block Detection — real ICT logic, per timeframe. Each panel runs a swing-pivot + displacement scan: the last opposing candle before an impulsive move that clears your displacement multiple becomes the order block. Bull OBs from swing-low reversals, bear OBs from swing-high reversals — detected natively on every one of the four timeframes at once.
🟥 Fair Value Gap Detection — the imbalance map. True three-candle FVGs on each timeframe, with an optional ATR gap filter so only gaps worth trading survive. Bullish and bearish gaps rendered in the original green/red palette, distinct from the order blocks, on all four panels simultaneously.
🧲 Universal Zone Height — the accuracy differentiator. Raw OB/FVG zones come in wildly different sizes and clutter the read. Every zone is normalized to one clean height — ATR-based or a fixed percentage of price — so the panels stay legible and every zone carries equal visual weight. Fair value framed; noise removed.
🔢 0–10 Strength Ranking — the power-ranking. Every zone earns a live grade, printed inside the shaded box (OB 8.5, FVG 6.0). Order blocks score on displacement force, zone height and age; fair value gaps score on gap size versus ATR. Set a minimum strength floor and the weak zones simply don't draw — only the levels that earned attention survive.
🌊 Liquidity Heatmap — resting pools on your main chart. Buy-side and sell-side liquidity, seeded from fractal swing highs and lows across two pivot passes, drawn as heat-weighted boxes whose opacity scales with liquidity weight (volume × range). Strong pools glow, weak ones stay faint. When price trades through a pool it's consumed — the zone freezes and fades to show exactly what's already been taken. Colours locked 100% to the OB/FVG palette: buy-side green, sell-side red.
🏷️ Clean Liquidity Labels — above the zone, never in the way. Each resting pool is tagged with its side (BSL/SSL), price, weight and distance from current price — anchored above the zone at its left edge so labels never overlap the fills and never protrude past the level. Read the map without the mess.
🧹 Clean-Chart Discipline — dashboard off by default. No stat panel competing with price. The liquidity dashboard exists — nearest SSL/BSL, hottest level, pool counts, consumed tally — but it's switched off out of the box. Turn it on only if you want it.
🎨 Fully Themed & Configurable. Neutral-gray candles that let the coloured zones pop, custom OB/FVG/liquidity colours, panel size and spacing, right-offset from live price, 2× timeframe labels, per-panel OB/FVG toggles, adjustable swing length, displacement, mitigation type (Touch / Full Fill / 50% Fill), gap filter, zone-height method, strength floor, pivot lengths, heat contrast, pool extension and cap.
🔒 Honest, Non-Repainting Core. Panel history is built from confirmed higher-timeframe bars only; the live forming candle refreshes as it builds — inherent to showing a real-time HTF candle, not a defect — while every closed bar is fixed. Liquidity pools consume on confirmed interaction and don't un-consume to flatter the chart. The 0–10 strength score is a descriptive ranking framework for directing attention, not a backtested edge.
🔔 Native Alerts — new sell-side pool and new buy-side pool formation.
🎯 Why this is different. MTF tools make you tab between charts and reconcile the structure in your head. Profile tools show you liquidity and leave the map disconnected from your entries. Strong MTF Liquidity Matrix holds all four higher timeframes in view at once, marks the order blocks and fair value gaps on every one of them, grades each so you know which to trust, and lays the liquidity price is actually hunting directly on your candles — so you read where structure sits, how strong it is, and where price is being pulled, at a glance.
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, Indices and Futures on any timeframe (liquidity heat requires a volume-bearing symbol).
💡 Cleanest setup: give the four panels room — nudge Right Offset and the panels sit clear of live price to the right, while liquidity zones map onto the candles on the left.
🎯 How To Trade It — Two Approaches
Everything hinges on one read the Matrix gives you at a glance: is higher-timeframe structure lining up, and is price being pulled toward unfilled liquidity?
◾ 1) Trade into confluence toward liquidity (the core thesis)
Use when a high-strength zone on a higher panel lines up with a resting liquidity pool in the same direction.
▪️ Scan the four panels for a strong OB or FVG (7+) on H1/H2/H4 sitting where price is heading.
▪️ Confirm a naked liquidity pool (BSL below / SSL above) as the magnet — the untested pools are where price is drawn.
▪️ Entry: as price reaches the higher-timeframe zone, in the direction of the unfilled liquidity beyond it.
▪️ Stop: beyond the zone; if price closes through and accepts, the level failed — stand aside.
▪️ Target: the nearest resting pool in your direction; the opposite-side pool if the move extends.
⚖️ The cleanest version: H1 and H2 panels both print a strong bull OB at the same area, a fat buy-side pool sits just below unconsumed, and the M30 panel shows price rotating down into it. Structure, strength and liquidity all point the same way. That confluence is the exact setup this tool was built to frame.
◾ 2) Stand down — the map says wait
The Matrix also tells you when there's nothing to do.
▪️ Panels disagree — a bull OB on H1 against a bear FVG on H4 is conflict, not confluence. Wait for alignment.
▪️ Liquidity already consumed on your side — the magnet's gone; the pull is spent.
▪️ No strong zone in range — low scores everywhere means no level worth risking on. Let it develop.
Rule of thumb: ⭐ Aligned high-strength zones + an unfilled pool in the same direction → trade into the confluence toward the liquidity. ⭐ Conflicting panels, consumed pools, or weak scores → stand down until the map agrees.
⚠️ IMPORTANT NOTICE: Strong MTF Liquidity Matrix is a structure-and-liquidity mapping tool. Order blocks, fair value gaps and liquidity pools are drawn from swing-pivot and gap logic — a model of institutional behaviour, not exchange order-book data. Liquidity weight is inferred from volume × range and requires a volume-bearing symbol. The 0–10 strength score is a descriptive ranking framework for directing attention — NOT a backtested signal and NOT a standalone trade trigger. Trading into higher-timeframe structure still carries real risk of failed levels and stop-outs. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. Indicator

ICT NDOG & NWOG [D4A]NDWOG - New Day / Week Opening Gap
This script is based on popular open source script made by fadi .
How is this script different from the original:
- has additional option (set as default) to add one day to NDOG and NWOG, so the displayed gap date reflects the day when the gap is first utilized during London and NY sessions, as recommended numerous times by ICT himself (main reason for this fork)
- gap quadrants can be drawn if enabled and ATR based gap size is large enough (user customizable)
- more gap customization options have been added to help distinguish between the current and previous (historical) gaps
- gap date label format can be set according to your preference
- default settings are based on dark Trading View theme
- a few small bugs have been fixed
Overview
The script is designed for ICT traders operating mostly in the CME futures markets (NQ, MNQ, ES, and MES), but NWOG discovery works also in forex markets. The script automatically plots the opening gaps that serve as primary daily and weekly draw-on-liquidity levels.
- NDOG (New Day Opening Gap): Formed daily during the CME's 1-hour session break (5:00 PM to 6:00 PM ET), the NDOG captures the price difference between the 5:00 PM ET closing candle and the 6:00 PM ET opening candle. A new gap is created every weekday evening at 6:00 PM ET.
- NWOG (New Week Opening Gap): Created over the weekend between Friday’s 5:00 PM ET close and Sunday’s 6:00 PM ET market re-open. NWOGs are typically much wider than daily gaps, serving as macro liquidity targets for the entire trading week.
Every identified gap is displayed as a shaded range spanning its high and low extremes, bounded by horizontal levels at the top and bottom. It features middle line, known as C.E. (Consequent Encroachment) marking the 50% midpoint, optional quadrants and gap date label.
Within ICT methodology, opening gaps act as footprint markers for institutional orders. "Smart money" routinely targets these price imbalances; analyzing how price reacts—whether it bounces off the boundary, respects the midpoint, or closes the gap entirely helps traders gauge institutional sentiment.
Weekly & Daily Directional Bias
NWOG (Weekly Framework): Dictates the macro bias. Trading above the NWOG signals a bullish tone, whereas trading below implies a bearish outlook. The C.E. of the NWOG is a critical line as its clean rejection indicates trend continuation, while a strong break through the CE points to a full gap fill and signals potential trend reversal.
NDOG (Intraday Framework): Functions as the daily counterpart. Yesterday's NDOG highlights overnight institutional order flow shifts. Furthermore, multiple unfilled NDOGs from prior sessions act as magnetic liquidity pools during the London and NY Kill Zones.
SETTINGS
- NWOG - New Week Opening Gap - enable the display of NWOGs
- Current NWOG Fill/Border/C.E. - customize the current (the newest) weekly gap
- Previous NWOG Fill/Border/C.E. - customize all the previous weekly gaps (historical)
- Max NWOGs - select how many previous weekly gaps should be displayed on the chart
- Label - enable and customize gap date label
- NDOG - New Day Opening Gap - enable the display of NDOGs
- Hide Above - hide the daily gaps above specific timeframe
- Current NDOG Fill/Border/C.E. - customize the current (the newest) daily gap
- Previous NDOG Fill/Border/C.E. - customize all the previous daily gaps (historical)
- Max NDOGs - select how many previous daily gaps should be displayed on the chart
- Label - enable and customize gap date label
- Draw Quadrants (NDOG & NWOG) - draw quadrants in both daily and weekly gaps
- Threshold - the quadrants are drawn if they are bigger than this ATR threshold
- Only if Price Within the Gap - draw quadrants only if the price is currently inside of the gap. This option serves the purpose of minimizing chart clutter
- Add 1 day offset to date label - most similar scripts use by default the date of gap creation, however this script allows to increase the date by 1 day, thus adhering to ICT recommendations, so the displayed gap date is reflecting the first London and NY sessions after the gap has been created
- Date Format - customize the display of date
- Add left padding - it adds padding to the label, moving it more to the right
- Box Right 'Time Extension' - how far right should the NDOG/NWOG box be extended (time-based)
Note:
NDOG and NWOG created on the same weekend will overlap thus creating one box on the chart. You can still spot them by looking at their date labels: weekly gap labels are bigger and daily labels are smaller (based on script default settings).
The script should work on all timeframes, up to 1D.
-----------------
Disclaimer
The content provided in this script is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs. Indicator

Indicator

Indicator

Smart Market Structure & Liquidity Engine [SMC]Smart Market Structure and Liquidity Engine
Overview and Core Philosophy
The Smart Market Structure and Liquidity Engine is a comprehensive, non-repainting technical analysis framework engineered for price action traders, ICT or SMC enthusiasts, and market structure analysts.
Instead of relying on lagging indicators or noisy indicators, this script combines Adaptive Volatility Filtering (ADX and DMI), Market Structure Shifts (BOS and CHoCH), and Previous Day Equilibrium Logic to give traders a crystal-clear view of market context, institutional bias, and premium versus discount pricing.
Key Features and Technical Mechanics
1. Adaptive Trend Wave and Dynamic Consolidation Engine
Uptrend Expansion (Neon Green): Indicates strong bullish directional bias and institutional buying pressure.
Downtrend Expansion (Hot Red): Indicates strong bearish directional bias and institutional selling pressure.
Smart Consolidation Filter (Slate Grey): Automatically detects sideways and low-momentum markets using native ADX logic. It shifts candles to neutral grey during choppy phases to prevent over-trading.
2. Structural Setup Trigger (Yellow Highlight Candle)
Replaces standard Buy and Sell verbal labels with clean visual highlights to comply with clean chart presentation standards.
Yellow Candle: Marks high-probability rejection candles that align with the active trend wave, highlighting immediate points of interest.
3. Dynamic Daily Levels and Equilibrium (PDH, EQ, PDL)
Previous Day High (PDH): Automatically draws upper daily liquidity levels.
Previous Day Low (PDL): Automatically draws lower daily liquidity levels.
50 Percent Equilibrium Line (EQ): Dynamically plots the 50 percent midpoint of the previous day range, helping traders easily distinguish between Premium (Overpriced) and Discount (Underpriced) zones.
4. Extended High-Probability Zones (Order Blocks)
Automatically plots order block zones upon key setup triggers.
Includes a Live Price Extension Feature, which extends the active zone forward so you can easily observe price reacting inside the box in real-time.
5. Non-Repainting Market Structure (BOS and CHoCH)
BOS (Break of Structure): Signals trend continuation.
CHoCH (Change of Character): Signals early structural reversal.
Built using safe, shift-corrected multi-timeframe security logic to ensure historical accuracy without repainting.
Full Settings and Customization Guide
Neon Wave Glow and Candle Settings
Wave Sensitivity Length: Adjusts how quickly the trend wave reacts to price changes (Default: 8).
Wave Range Multiplier: Controls the volatility band width (Default: 1.6).
Consolidation ADX Threshold: Set the ADX sensitivity cutoff (Lower values require tighter consolidation before turning grey).
Uptrend, Downtrend, Consolidation Colors: Fully customizable palette for chart visualization.
High-Probability Entry Signal (Yellow Candle)
Entry Trigger Sensitivity: Fine-tunes the structural lookback required for trigger highlights.
Entry Signal Color: Customize the setup highlight color.
Previous Day Levels and Equilibrium
Show Active PDH, EQ, PDL: Toggle visual daily liquidity lines on or off.
Line Styles and Colors: Independent style (Solid, Dashed, Dotted) and color settings for PDH, PDL, and 50 percent EQ lines.
Levels Text Size: Adjustable font sizes (Tiny, Small, Normal, Large) for desktop and mobile displays.
High-Probability Zone Customization
Extend Zone To Current Price: Enable to stretch the current active zone into live price action.
Zone Box Styling: Full control over Background Color, Border Color, Border Thickness, Box Opacity, and Label Text Alignment.
How to Use (Educational Framework)
1. Identify Directional Context: Check the color of the Dynamic Ribbon. (Green = Bullish Bias, Red = Bearish Bias, Grey = Ranging or Exercise Caution).
2. Evaluate Premium versus Discount: Compare current price with the 50 percent EQ Line. Long Setups carry higher probability when price is below EQ (Discount). Short Setups carry higher probability when price is above EQ (Premium).
3. Execution Alignment: Look for structural rejections (Yellow Setup Candle) tapping into active HP Zones near key PDH or PDL levels.
House Rules and Educational Disclaimer
No Repainting: All historical levels, zones, and structure lines are calculated on bar-close logic.
Educational Tool: This script is designed exclusively for market structure mapping and educational analysis. It does not provide financial advice or automated trading signals.
Indicator

Indicator

Indicator

Probabilistic ICT Order Blocks [3D] | GainzAlgoOverview
This indicator is ICT order blocks with a twist: each block gets a machine-learning-based probability score, a 3D-shaded look, and a live win-rate dashboard so you can see if the concept is actually working on your instrument, not just where the zones are.
What are order blocks?
An order block is the last opposing candle before a strong impulsive move, the last down-candle before price rips higher, or the last up-candle before it dumps. The idea: that candle marks where large orders got filled, so price often returns to "retest" it before continuing. This script auto-detects those zones off swing structure breaks (market structure shifts).
How it works
Detects bullish/bearish structure shifts and marks the originating candle as an order block.
A gradient-boosted ML model (trained live on RSI, MFI, ATR%, and volume z-score) scores each block with a probability of continuation, shown right on the box.
Blocks that get fully invalidated are deleted automatically, and new blocks can't overlap existing ones so there is no clutter.
A dashboard tracks real win/loss counts separately for bull and bear blocks, so the win rate is measured, not assumed.
3D-shaded rendering makes zones easier to read at a glance.
How to trade with it:
Wait for price to return into a block (a "retest").
Check the probability % — higher = more historical continuation odds per the model.
Look for confirmation (rejection wick, lower-timeframe shift) before entering in the block's direction.
Invalidation = a full close through the opposite side of the block. Treat that as your stop.
Use the dashboard win rate to judge whether the current instrument/timeframe combo is actually favorable before trading it live.
Settings Guide
As with all of our indicators, the settings allows for customization to your preferences. Here is a breakdown:
Swing Detection Length — how many bars define a swing high/low. Lower = more (and smaller) order blocks; higher = fewer, more significant ones.
Max Displayed Blocks (Per Type) — cap on how many bull/bear blocks show at once, oldest gets dropped first.
Delete OB on Full Invalidation — auto-removes a block the moment price fully closes through it, so dead zones don't clutter the chart.
Machine Learning Training Lookback — how much history the model trains on each retrain cycle. More = smoother/slower-adapting probabilities; less = more reactive to recent conditions.
Retrain Frequency (Bars) — how often the model retrains. Lower = fresher but more compute-heavy; higher = more stable scores.
Bullish/Bearish OB Color — self-explanatory, sets zone colors.
3D Depth Shift (Bars/Ticks) — controls the offset of the "rear" face that creates the 3D look. Bigger = more pronounced depth effect.
Show Dashboard — toggles the win-rate table on/off.
Position / Text Size — where the dashboard sits and how big the text is.
Show Win/Loss Markers on Chart — toggles the triangle (win) / X (loss) shapes that mark resolved blocks.
Concluding thoughts
This isn't a signal generator, it's a structured way to see ICT order blocks with actual odds attached instead of guessing. Backtest the win rate on your market first, then use it as confluence with your own read of price action.
Indicator

Indicator

FVG IndicatorFVG (Fair Value Gap) Indicator – Multi-Timeframe & iFVG Support
The Fair Value Gap (FVG) represents a sharp price imbalance created during aggressive moves. In Smart Money Concepts, these areas act as key support and resistance zones. This indicator provides a comprehensive, highly customizable visualization of FVGs directly on your chart.
🔍 Key Features
Multi-Timeframe Support (HTF) : Display FVGs from your current timeframe plus up to 3 higher timeframes simultaneously (e.g., view 1m, 5m, 15m, and 1h FVGs all on a single 1-minute chart).
iFVG (Inverted FVG) Auto-Conversion : When price closes below a Bullish FVG, it auto-converts to a Bearish iFVG (Purple) . When price closes above a Bearish FVG, it auto-converts to a Bullish iFVG (Teal) . iFVGs have independent line styles (Dashed/Dotted/Solid) and widths for easy distinction.
Extension Modes : Choose how far the FVG boxes extend to the right.
- No Extension: Boxes remain within the original candle range.
- Custom Extension: Boxes extend for a specific number of bars you define.
- Infinite Extension: Boxes extend infinitely to the right edge of the chart, with labels fixed to the right for real-time price context.
Volume Threshold (Highlight / Filter) : Separate significant FVGs from minor ones using volume.
- Supports SMA, EMA, or Z-Score for volume averaging.
- Highlight Mode: Adds a yellow border and a ★ star to FVGs that exceed the volume threshold.
- Filter Mode: Hides FVGs that do NOT meet the volume threshold, keeping your chart clean and focused.
Fully Customizable Styling : Set independent background colors, border colors, and border widths for Bullish FVG, Bearish FVG, Bullish iFVG, and Bearish iFVG. Adjust label text color, size, and offset freely.
📊 Interpretation Guide
Bullish FVG (Green): Gap created after a strong upward move Acts as a key support zone during pullbacks.
Bearish FVG (Red): Gap created after a strong downward move Acts as a key resistance zone during bounces.
Bullish iFVG (Teal): Price breaks above a Bearish FVG's top Indicates prior resistance has flipped into support .
Bearish iFVG (Purple): Price breaks below a Bullish FVG's bottom Indicates prior support has flipped into resistance .
Volume exceeds the defined threshold: Highlights that this FVG is backed by strong volume, making it more significant .
⚙️ Important Input Settings Explained
Bullish / Bearish FVG Display : Toggle to show or hide specific directional FVGs.
Maximum FVG Boxes : Limits the total number of boxes displayed (1–100) for optimal performance.
HTF 1 / 2 / 3 : Enter higher timeframe values (e.g., 60 for 60 minutes, 240 for 240 minutes, D for Daily, W for Weekly). Leave blank to disable.
Threshold Mode :
- None: Displays all FVGs regardless of volume.
- Highlight: Visually emphasizes FVGs that pass the volume test.
- Filter: Only displays FVGs that pass the volume test.
- Threshold Type: (SMA / EMA/ Z-score) Simply need to select a indicator for measuring the threshold.
- Recommand Setting : If you select SMA or EMA >> length: 3~20 & Multiply 1.5
If you select Z-score(sma based) >> length: 3~20 & Multiply 1
Apply Threshold to iFVG : When enabled, the volume threshold is re-evaluated when a standard FVG converts to iFVG.
⚠️ Important Notes
To prevent repainting and false signals, higher timeframe (HTF) data is fetched with lookahead turned OFF . This ensures the indicator relies only on closed HTF candles.
The script is configured with a maximum of 500 boxes and 500 labels to handle heavy multi-timeframe rendering without performance lag.
This indicator is based on historical price data. It should be used in confluence with price action, market structure, or other confirmation tools—not as a standalone buy/sell signal.
📜 License
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) .
✅ Allowed: Free use, modification, and sharing for non-commercial purposes.
❌ Prohibited: Commercial use, redistribution for profit, or publishing without proper credit.
🔗 Required: Always retain the original author's credit (Lapa) and provide a link to the license.
Full license details: creativecommons.org Indicator

Optimal Trade Entry (OTE) Zone Plotter [algo_aakash]Optimal Trade Entry (OTE) Zone Plotter locates the 62%-79% institutional retracement zone of a confirmed impulsive swing and keeps only the single most relevant zone per direction on the chart, fading it through disclosed mitigation states as price interacts with it.
Problem Statement
The Optimal Trade Entry concept, retracing into the 62%-79% region of an impulsive leg before continuation, is a well-known Fibonacci convention, but most public implementations simply plot every Fibonacci level on every swing they detect. This produces charts covered in overlapping retracement boxes, most of which come from insignificant swings that carry no real weight, and gives no visual indication of which zones are still fresh, already tested, or fully invalidated.
This indicator addresses that gap by filtering which swings are allowed to generate a zone in the first place, by showing only the current zone per direction at full strength, and by changing each zone's appearance as price actually interacts with it.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined Pivot Length, so every swing referenced by the script is a confirmed pivot, evaluated only after barstate.isconfirmed is true.
Consecutive pivots of the same type extend a running swing extreme; a leg is only registered when the pivot type alternates (a low following a high, or a high following a low). Each candidate leg must then clear three disclosed checks before it is allowed to create a zone: the leg's price range must reach a minimum multiple of ATR, the swing candle's own body-to-range ratio must reach a minimum threshold, and, if the Break of Structure filter is enabled, the new swing must exceed the prior swing of the same type. Legs that fail any check produce no zone, no label, and no alert.
A qualifying leg generates one OTE zone: the shaded region between the 62% and 79% retracement of that leg, with the 70.5% level drawn as a two-layer glowing midline inside it. Only one bullish and one bearish zone are ever active at a time. When a new qualifying leg forms, the previous zone of that direction is frozen in place and, if enabled, kept as a single low-opacity historical reference rather than removed outright or left overlapping the new zone.
Each active zone tracks its own mitigation state on every confirmed bar: Fresh (untouched), Touched (price has wicked into the 62%-79% region), Mitigated (a confirmed close through the 79% boundary), or Invalidated (a confirmed close back through the leg's own origin point). State can only advance forward, and the zone's fill opacity and border color update automatically at each transition, so the chart communicates a zone's condition without any additional label or panel.
Signal Workflow
Step 1 — a confirmed swing pivot alternates direction, registering a candidate leg from the prior opposite pivot to the new one.
Step 2 — the leg is checked against the Minimum Swing Size, Body Ratio, and optional Break of Structure filters; legs that fail are discarded with no chart output.
Step 3 — a qualifying leg creates a new active OTE zone (62%-79%) with its 70.5% midline, and the previous zone of the same direction is frozen and faded.
Step 4 — the active zone's state advances from Fresh to Touched as price wicks into the zone on a confirmed bar.
Step 5 — the zone advances to Mitigated on a confirmed close through the 79% boundary, or to Invalidated on a confirmed close back through the leg's origin, at which point it is greyed out.
Step 6 — each transition and each zone entry/exit can trigger its own alert, gated by the corresponding toggle in the Alerts group.
Why This Indicator Is Different
Most public OTE/Fibonacci scripts draw a zone for every detected swing regardless of its significance, leaving multiple overlapping retracement boxes on the chart at once.
This script applies a disclosed three-part quality filter (ATR-relative swing size, swing candle body ratio, optional break-of-structure confirmation) before a swing is even allowed to generate a zone.
Only one zone per direction is ever shown at full strength; the prior zone automatically fades to a quiet historical reference the moment a new qualifying swing appears, keeping the chart focused on the current opportunity.
Zone fill opacity and border color are driven entirely by a four-state mitigation engine (Fresh/Touched/Mitigated/Invalidated) computed from confirmed price action against the zone's own boundaries, so the visual state of a zone is informative rather than purely decorative.
The 70.5% equilibrium level is rendered as a two-layer glow line rather than a plain dashed line, giving the zone's mid-point a distinct, non-generic appearance.
Inputs
Swing Detection
Pivot Length
ATR Length
OTE Quality Filter
Minimum Swing Size (x ATR)
Minimum Swing Candle Body Ratio
Require Break of Structure
OTE Zone
Show Bullish OTE Zones
Show Bearish OTE Zones
Zone Extension (bars)
Show Institutional Midline (70.5%)
Fade Previous Zone on New Swing
Visual Settings
Bullish/Bearish Zone Colour
Bullish/Bearish Midline Colour
Label Size
Alerts
Alert: New OTE Zone Created
Alert: Price Entered OTE Zone
Alert: Price Left OTE Zone
Alert: OTE Zone Mitigated
Alert: OTE Zone Invalidated
Alerts
Alerts are available for:
New Bullish/Bearish OTE Zone Created
Price Entered Bullish/Bearish OTE Zone
Price Left Bullish/Bearish OTE Zone
Bullish/Bearish OTE Zone Mitigated
Bullish/Bearish OTE Zone Invalidated
Practical Usage
Treat an active, Fresh OTE zone in the direction of the prevailing structure as a region to watch for a retracement entry, not a standalone entry signal by itself.
Use the Break of Structure filter on trending instruments to restrict zones to swings that genuinely extended structure, and disable it on ranging instruments where internal swings may still be meaningful.
Raise the Minimum Swing Size and Body Ratio filters on lower timeframes or noisy instruments to reduce the number of zones generated.
Watch the zone's fill opacity as a quick visual read of its condition: a bold zone has not been tested, a lighter fill has already been touched or mitigated, and a greyed zone has been invalidated and should generally be disregarded.
Combine the Entered/Exited alerts with your own confirmation criteria (candlestick behavior, lower-timeframe structure, etc.) rather than treating zone entry alone as a trigger.
Limitations
Swing pivots require bars to form on both sides before they confirm, so every zone is inherently placed a Pivot Length number of bars after the actual swing extreme occurred.
The quality filter reduces the number of zones shown but does not evaluate or predict the outcome of any individual retracement.
Only one active zone per direction is displayed at a time; if you want to review multiple historical zones simultaneously, enable "Fade Previous Zone on New Swing" and note that only the single most recent prior zone is retained, not a full history.
As with any retracement-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a zone-location tool intended to highlight the current, quality-filtered Optimal Trade Entry region and its mitigation state through a disclosed, rule-based process.
All swing confirmations, zone creation, mitigation-state transitions, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support retracement-based analysis and is not a standalone buy or sell recommendation.
Indicator

Asia, EU & US Open Levels + DTS Time & Price## Overview
The **Asia, EU & US Open Levels + DTS Time & Price** indicator is an all-in-one time-and-price tool designed for intra-day traders (SMC, ICT, and Session traders). It combines key session open levels (Asia, EU, and US) with precision time-based vertical markers and session shading (DTS / Time & Price concepts).
Understanding where price opens at key regional trading hubs, combined with specific time-based liquidity windows, gives traders a clear edge in identifying daily bias and key reaction zones.
---
## Key Features
### 1. Major Session Open Levels & Background Shading
* **Asia, EU, and US Open Prices:** Automatically plots bold horizontal levels at the exact opening candle of the Asian, European, and US sessions based on your local timezone (default set to `Europe/Belgrade`).
* **Dynamic Session Fills:** Highlights the background region between the opening price and the candle close throughout the duration of that specific trading session phase, providing instant visual feedback on price expansion.
* **Daily Reset:** Levels and session phases automatically reset every new trading day to keep your chart clean and noise-free.
### 2. DTS (Daily Time Structure) & Time Markers
* **NY AM Session Shading:** Displays custom background highlighting for the New York Morning trading window (default set to `UTC-5`).
* **5-Level Time Progression Lines (0, 0.25, 0.50, 0.75, 1):** Draws full-height vertical gridlines across key time intervals during the session with clear labels positioned cleanly at the bottom of the chart screen.
* **Time Confluence:** Enables traders to identify "Time & Price" confluence—when price hits a key support/resistance level at a specific fractional time window of the day.
---
## How to Use This Indicator
1. **Session Open Trading:**
* Watch how price behaves around the green (Asia Open), blue (EU Open), and red (US Open) lines. These opening prices often act as dynamic support/resistance or draw-on-liquidity targets during later sessions.
2. **Time-Based Executions (DTS):**
* Look for trade setups (FVGs, Liquidity Sweeps, Order Blocks) that coincide with the vertical time lines (0, 0.25, 0.50, 0.75, 1).
3. **Customization:**
* Open the indicator settings to easily adjust input times and timezones to match your local execution hours or specific preferred session windows.
---
## Inputs & Settings
* **Session Open Levels:** Adjust the opening hour inputs for Asia, EU, and US sessions along with their fill colors.
* **DTS Time & Price:** Adjust the NY AM session window, timezone, vertical line intervals, line colors, and label colors to fit your custom layout. Indicator

Market Structure BOS, CHoCH, HH HL LH LL & Trend Health [LunqFX]Market structure is the skeleton of every trend: a series of higher highs and higher lows, or lower highs and lower lows, until a break says the trend has changed. This indicator maps that skeleton automatically — labelling every swing as HH, HL, LH or LL, drawing each Break of Structure (BOS) and Change of Character (CHoCH) — and adds one thing no other structure tool has: it tells you the trend is failing BEFORE the structure actually breaks.
❶ THE STRUCTURE MAP
▸ SWING LABELS — every confirmed swing point is labelled HH (higher high), HL (higher low), LH (lower high) or LL (lower low). The sequence of those four labels IS the trend, and having it on the chart removes the guesswork from reading price action.
▸ BOS — Break of Structure. Price closes through the last swing level in the direction of the trend: the trend is continuing. Drawn as a dashed line from the broken level with a BOS label.
▸ CHoCH — Change of Character. Price closes through the last swing level against the trend: the trend has flipped. Drawn as a solid, highlighted line — this is the reversal signal smart-money traders wait for.
▸ STRUCTURE CANDLES — the candles themselves are coloured by the structural trend, not by whether each bar closed up or down. Green means the market structure is bullish, violet means bearish, so the regime is obvious at a single glance. Their brightness fades as Trend Health falls.
❷ TREND HEALTH 0–100 — THE EARLY WARNING
Every other structure tool tells you a trend has ended after CHoCH prints. By then the move is already gone. Trend Health measures the two things that decay before every structure break:
▸ EXPANSION — in a healthy trend each new extreme clears the previous one by at least as much as the last leg did. When new highs barely exceed the old ones, the trend is running out of fuel.
▸ RETRACEMENT — in a healthy trend pullbacks stay shallow. When each pullback eats deeper into the previous leg, control is shifting to the other side.
Both are measured on the live leg, normalised by ATR so the score behaves the same on any symbol and timeframe, and blended into a single 0–100 reading. When it drops below your threshold the dashboard flags WEAKENING — while the trend is still technically intact. That is the warning CHoCH cannot give you, because CHoCH is confirmation, not anticipation.
❸ THE STRUCTURE TAPE
Instead of a table of numbers, the dashboard shows a timeline of the last five structure events, oldest to newest: BOS ▲ · BOS ▲ · CHoCH ▼ · BOS ▼. Reading the sequence tells you instantly whether the market is trending cleanly (a run of BOS in one direction) or chopping (CHoCH flipping back and forth) — context you cannot get from a single label on the chart.
❹ HOW TO TRADE IT
1 — Establish the bias from MARKET STRUCTURE in the panel. Bullish structure = look for longs, bearish = look for shorts. Do not fight it.
2 — Use BOS as continuation. A BOS in the direction of your bias confirms the trend is intact; the broken level often becomes support or resistance on the retest.
3 — Use CHoCH as the reversal trigger. A CHoCH against the prevailing trend is the earliest confirmed signal that structure has flipped. Wait for it before trading a reversal.
4 — Use TREND HEALTH for timing and risk. Health above 65 with a run of BOS on the tape = a clean trend, hold your position and trail. Health falling into WEAKENING = tighten stops, take partials, and stop adding — the structure is decaying and a CHoCH becomes more likely.
5 — Read the tape for market state. Several BOS in a row = trending market, trade continuations. Alternating CHoCH = choppy market, stand aside or trade the range instead.
❺ HOW IT WORKS
Swing points come from confirmed pivots, so a swing only exists once the bars on both sides of it have closed. The most recent swing high and swing low become the active structure levels. When a bar CLOSES beyond one of them (a wick-based mode is available), the break is registered: in the direction of the current trend it is a BOS, against it a CHoCH, and the trend state flips. Trend Health compares the size of the current expansion leg with the previous one in ATR units, and the depth of the latest pullback against the leg it retraced, then blends them 60/40 into the 0–100 score. Immediately after a CHoCH there is no second leg to compare yet, so the panel honestly reports NEW TREND instead of a misleading health reading.
Works on every symbol and timeframe — forex, gold, indices, crypto and stocks — because every threshold is either structural or ATR-normalised, with nothing to configure per market.
SETTINGS — swing length (how major a swing must be), break on close or wick, the health threshold that flags weakening, swing labels and BOS/CHoCH lines on/off, number of events kept, structure candles on/off, and dashboard position.
ALERTS — BOS up, BOS down, CHoCH up, CHoCH down, and Structure Weakening (the early warning).
NON-REPAINTING — swings are built from confirmed pivots and every break is validated on bar close. A label or line that has printed never moves or disappears.
Every component here describes the same object — the market's structure — at a different resolution: the swings build it, BOS and CHoCH break it, Trend Health measures its condition, and the tape is its history. That is why they belong in one tool rather than five.
This indicator is an educational market-analysis tool, not financial advice. Trend Health describes the current structure's condition and does not predict future prices. Always confirm with your own analysis and manage your risk.
Pre-publish checklist Indicator

HTF Power of 3 (PO3) with Trailing Stop🔵 OVERVIEW
The HTF Power of 3 (PO3) with Trailing Stop is a technical indicator created by BigBeluga to capture institutional market cycles based on Smart Money Concepts (SMC). Detecting market manipulation phases and structural accumulation zones has always been a major challenge in technical analysis, as traditional breakouts often lead to false signals and whipsaw trades. In order to provide a solution to this problem, this indicator maps higher timeframe (HTF) Power of 3 cycles—breaking price action down into Accumulation, Manipulation, and Distribution phases—combined with an advanced volatility-based trailing stop engine.
The indicator aims to visualize institutional order-building and subsequent expansions. The core element of its calculation involves tracking HTF session levels alongside a dynamic ATR-based trailing threshold defined as:
trailingStop = close ± currentAtr * trailMultiplier
where currentAtr is the standard Average True Range of period atrPeriod , and trailMultiplier is the sensitivity footprint multiplier. Higher values of accumMultiplier and trailMultiplier allow the indicator to adjust to longer consolidation periods and filter out minor market noise.
🔵 FEATURES
The system utilizes a multi-layered matrix structure to provide actionable market intelligence:
1 — Auto HTF Matrix Mode & Session Engine
Dynamic Timeframe Scaling: When enabled, the indicator automatically scales the higher timeframe matrix dynamically based on your current chart timeframe context.
Session Tracking: Continuously calculates local open, high, low, and close parameters across higher timeframe layers to project real-time structural candles on the right side of your chart.
2 — Power of 3 (PO3) Phase Breakdown & Peak Labels
Accumulation Phase: Maps the initial consolidation boundary lines over a defined accumMultiplier bar count, outlining the high and low thresholds where institutional orders cluster.
Manipulation Phase & Peak Labels: Triggers automatically when price breaks out of the accumulation boundaries, identifying fakeouts and plotting a peak manipulation label marked with an M at the extreme high or low.
Distribution Phase & Peak Labels: Transitions into the expansion phase once the trailing stop is breached, tracking the final leg of the institutional delivery cycle and plotting a peak distribution label marked with a D .
3 — Dynamic Trailing Stop & Cloud Fill
Volatility Boundaries: Employs a robust ATR trailing line that shifts dynamically to lock in profits and signal shifts in market bias.
Visual Cloud Fills: Dynamically colors and fills the space between price action and the trailing stop line to offer clear visual confirmation of trend direction.
🔵 HOW TO USE
Apart from the basic visualization of institutional market cycles, this tool can also act in alternative ways to support decision-making:
Identify Accumulation Zones: Monitor the orange accumulation channel during the early stages of an HTF session to spot tight consolidation ranges before an expansion.
Trade the Manipulation Breakout: Wait for price to sweep outside the accumulation boundaries to trigger a "Manipulation" label and an M peak marker, signaling an institutional run on liquidity before the true directional move.
Manage Risk with Trailing Stops: Use the dynamic trailing stop line, cloud fill, and subsequent D distribution peak markers as a trailing stop loss mechanism to guide entries, manage open positions, and catch the final distribution leg.
🔵 NOTES
Why this implementation is unique:
It automates complex multi-timeframe ICT concepts directly onto lower timeframe charts without requiring manual chart reconfiguration.
The right-aligned visual projection engine gives traders a clear look at the developing higher timeframe candle and session metrics without cluttering active price history.
The script is fully optimized for Pine Script version 6, integrating seamless label sizing and automated line management for maximum rendering performance.
Indicator

1H OB + Strong Levels + 9/15 EMA + Daily High/Low BY MR_BASIT The 1H SMC: Unmitigated OB + FVG + Daily Liquidity + 9/15 EMA indicator is a comprehensive, institutional-grade technical analysis toolkit designed for Smart Money Concepts (SMC) and Price Action traders.
Unlike standard indicators that create chaotic, cluttered charts with obsolete lines and filled boxes, this indicator utilizes a dynamic auto-cleanup engine. It continuously deletes mitigated zones and historical structure points, ensuring that only high-probability, active (unmitigated) levels are displayed on your chart in real-time.
Core Features & Technical Logic
Unmitigated Order Blocks with FVG Confluence
Higher Timeframe Context: Order Blocks are calculated using 1-Hour (1H) candle data for strong institutional context, even when applied to lower execution timeframes (1m, 5m, 15m).
Strict Imbalance Filter: An Order Block box is only created if accompanied by a Fair Value Gap (FVG). This drastically reduces false setups and highlights genuine institutional footprint zones.
Auto-Mitigation Deletion: As soon as price enters and mitigates an active Order Block, the box is automatically deleted via Pine Script array management, leaving your chart completely clear.
Single Active Strong High / Strong Low Tracking
Institutional Structural Points:
A Strong Low is validated when price creates a Bullish Break of Structure (BOS).
A Strong High is validated when price creates a Bearish Break of Structure (BOS).
Infinite Rightward Extension: Strong levels are plotted as clean 1x solid lines extending infinitely to the right, giving you a crisp, dynamic target or stop level in live market conditions.
Single Instance Logic: Only the current, active Strong level is drawn—older levels are automatically cleared.
Break of Structure (BOS) Identification
Precise Breakout Lines: Automatically identifies when price crosses above a swing high or below a swing low using 1x thin dashed lines.
Visual Clarity: Includes centered text labels (BOS) in Blue (Bullish) or Red (Bearish) with optimal font formatting for fast recognition.
Previous Day High & Low Liquidity (PDH / PDL)
Institutional Liquidity Pools: Automatically plots Previous Day High (BSL - Buy-Side Liquidity) and Previous Day Low (SSL - Sell-Side Liquidity).
1x Thin Dotted Styling: Projected to the right edge of the chart to identify key liquidity sweep targets for daily sessions.
Dynamic Dual EMAs (9 & 15 EMA)
Short-Term Trend & Momentum: Features built-in 9 EMA (Blue) and 15 EMA (Orange) plotted as 1x thin lines.
Entry Confluence: Helps traders quickly identify momentum alignment and dynamic support/resistance alongside SMC zones.
How to Trade with This Indicator
Bullish Setup (Buy Entry)
Confirm overall trend is bullish using the 9 EMA above 15 EMA.
Wait for price to sweep Daily Low (SSL) or create a Bullish BOS.
Identify the Unmitigated Bullish Order Block (Purple Zone) formed above the Strong Low.
Enter on a retest/tap into the Bullish Order Block zone, placing Stop Loss just below the Strong Low.
Bearish Setup (Sell Entry)
Confirm overall trend is bearish using the 9 EMA below 15 EMA.
Wait for price to sweep Daily High (BSL) or create a Bearish BOS.
Identify the Unmitigated Bearish Order Block (Orange Zone) formed below the Strong High.
Enter on a retest/tap into the Bearish Order Block zone, placing Stop Loss just above the Strong High.
Indicator Settings Guide
Timeframe: Set HTF context for OBs and Pivots (Default: 60 / 1H).
Swing Lookback: Controls pivot detection sensitivity (Default: 5).
EMA 1 Length / EMA 2 Length: Customize EMA period lengths (Default: 9 and 15).
Colors: Customize opacity, border colors, and background fills for Bullish and Bearish Order Blocks.
Risk Disclaimer
This script is designed purely for technical analysis and educational purposes. Trading financial markets involves significant risk. Always combine this tool with robust risk management, proper position sizing, and additional trade confirmations Indicator
