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

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

Liquidity Reaper Entry + Auto Targets [JFT]Liquidity Reaper Entry + Auto Targets is designed to identify high-quality liquidity sweep opportunities and transform them into structured trading setups with clear entry, stop-loss, and automatic profit targets.
The engine focuses on the interaction between liquidity, price rejection, market direction, and candle confirmation to help traders recognize potential reversals after liquidity has been taken.
Core Features
• Buy-Side & Sell-Side Liquidity Detection
• Liquidity Sweep Recognition
• Bullish & Bearish Reclaim
• Strong Candle Confirmation
• EMA Trend Confirmation
• Smart BUY & SELL Entry Signals
• Automatic Entry Price
• Automatic Stop Loss
• Automatic TP1, TP2 & TP3
• Adjustable Risk/Reward Targets
• ATR-Based Risk Management
• Duplicate Signal Filtering
• PulseWire Alerts
• Clean & Chart-Friendly Design
Entry Logic
BUY Setup
Sell-Side Liquidity Sweep
→ Bullish Reclaim
→ Strong Bullish Candle
→ Trend Confirmation
→ REAPER BUY
SELL Setup
Buy-Side Liquidity Sweep
→ Bearish Reclaim
→ Strong Bearish Candle
→ Trend Confirmation
→ REAPER SELL
Automatic Targets
Once a valid setup appears, the indicator automatically calculates:
ENTRY → SL → TP1 → TP2 → TP3
The default target structure is based on risk/reward, with adjustable levels according to your trading style and market conditions.
Best Use
Liquidity Reaper can be used on Forex, Gold, Silver, Crypto and other liquid markets.
For cleaner setups, combine the signals with your own market structure and higher-timeframe analysis rather than treating every signal as a guaranteed trade.
Liquidity Reaper doesn't chase price.
It waits for liquidity to be taken — then looks for confirmation.
Built for traders who want a cleaner and more structured approach to liquidity-based entries.
Liquidity Reaper Entry + Auto Targets Indicator

Confluence Context - Regime Filter + Market Structure🎯 CONFLUENCE CONTEXT — REGIME FILTER + MARKET STRUCTURE
Your signal tool tells you WHEN. This tells you WHETHER.
Confluence Context — Regime Filter + Market Structure is the companion layer that sits on top of whatever you already trade and answers the one question that wrecks most setups: does the context actually agree? It draws no zones and fires no entries — it reads the environment, scores it, and hands you a single glance-readable verdict. 📊
🔥 WHY IT EXISTS
Most signal tools fire identically in every environment — trending, ranging, dead, or violent. The killer is the clean-looking signal taken in the wrong context: a breakout in a dead session, a continuation against structure, a trend entry while volatility is flatlined. Confluence Context — Regime Filter + Market Structure gates your entry with the four things signal tools love to ignore.
🧩 THE FOUR LAYERS
📐 Market Structure — Swing pivots labeled BOS (Break of Structure, with the trend) and CHoCH (Change of Character, against it), with a running bias: Bullish, Bearish, or Neutral. Confirmed-bar only, capped label history so the chart doesn't clutter.
🌊 Volatility Regime — ATR vs its own moving average, sorting the tape into Low, Normal, or Extreme. This is the regime filter — it tells you whether you're in the environment your strategy was actually built for. Flip on H1 mode to inherit a higher-timeframe regime read from the prior closed 60-min bar, no repaint.
🕐 Session Filter — London / New York / Asia with pair presets (JPY, USD majors, AUD/NZD) or fully custom windows + timezone. Reads the live wall clock, so it flips to "Closed" the moment the market closes instead of freezing on the last in-session bar.
📈 Trend — Price vs a configurable EMA. Simple, and it earns its weight.
These four checks are fused into two weighted tallies instead of shipped as four separate indicators because context only breaks down as a whole — a bullish structure read means nothing if the session is dead and volatility is flat. Splitting them apart would just recreate the blind spot this indicator exists to close.
⚡ HOW THEY STACK (the scoring engine)
Every layer casts a weighted vote into TWO independent tallies — a bull score and a bear score, scored separately so you can actually see when context is fighting itself instead of just being quiet. A fifth slot — External Zone Hit — is a manual toggle (bull and bear separately) you flip the moment YOUR zone or level tool confirms a touch. That's what makes this a companion, not a standalone: it lets your existing setup feed the one input it can't infer.
🎯 THE HIGHLIGHTER
Clear your threshold on the dominant side and the Highlighter collapses both scores into one verdict — Stacked Long, Leaning Long, Balanced, Leaning Short, or Stacked Short. Paint it on the candles, the background, or both. Two candle modes: Verdict Tint paints every bar by net confluence, or BOS/CHoCH Candle paints only the single bar where a structure break confirms, in that event's own label color — a quieter option if you just want structure flips to pop. It confirms context, it doesn't call trades, so it speaks BULLISH / BEARISH, never BUY / SELL.
📋 THE LIVE TABLE
A full breakdown, not just a verdict — all six weighted conditions get their own row with a pass/fail check for both bull and bear, plus ATR, active session, and bias/regime context underneath. An optional oversized headline row sits on top: CONTEXT: BULLISH · Stacked Long · 9 / 2. Six position options, so it never collides with your other panels.
🔔 ALERTS
Structure breaks, all four regime transitions, session opens and full-close, and confluence threshold crosses — all confirmed-bar only. The threshold alerts carry a full payload (symbol, timeframe, direction, score, bias, ATR, session, regime, timestamp) so your webhook or notification has enough context to act on without opening the chart. An optional toggle also alerts when a score drops back below threshold.
🛠️ HOW TO USE IT
Slap it on top of whatever you trade. Tune the EMA, regime multipliers, and session windows to your instrument. Read the verdict off the table or the candle tint — filter your primary signal so you only pull the trigger when context agrees, or let the confluence alert ping you when the dominant side clears threshold.
⏱️ BEST TIMEFRAMES
Built to shine on M15 through H4 — enough structure to mean something, fast enough to act on.
♾️ The whole idea: it stays useful after it's been on your chart for a while.
Repaint policy: structure, regime, and score history evaluate on confirmed bars; the HTF regime read uses a closed-bar offset and doesn't repaint; the session display is live by design and doesn't touch history. Settings are starting points, not advice — tune them to your market and validate before risking capital. Indicator

Indicator

Indicator

Indicator

Levels MarkerLevels Marker is an all-in-one intraday price-action toolkit that combines
several commonly-used reference levels and market-structure tools into a
single indicator — no need to load five separate scripts.
█ FEATURES
🔹 Previous Day High / Low (PDH / PDL)
Automatically plots yesterday's high and low as horizontal lines with labels.
Valid for the entire current trading day and refreshes at the start of each
new session.
🔹 Asian Session High / Low
Tracks the high and low formed during a fully customizable session window
(default 05:30–11:30, Asia/Kolkata). Once the session ends, the level freezes
and remains visible as a fixed reference for the rest of the day.
🔹 Pivot-Based Support / Resistance
Detects swing highs/lows using an adjustable pivot strength and plots the
most recent levels (configurable count) as horizontal support/resistance
lines.
🔹 BOS / CHoCH (Market Structure)
Automatically identifies:
- BOS (Break of Structure) — trend continuation
- CHoCH (Change of Character) — potential trend reversal
Drawn as dashed lines with labels the moment price closes beyond the last
swing high/low.
🔹 Trend Direction Label
A live label in the corner of the chart shows the current structural bias:
▲ BULLISH / ▼ BEARISH / NEUTRAL.
🔹 Built-in Alerts
Four ready-to-use alert conditions appear directly in PulseWire's native
"Create Alert" dropdown:
- PDH Cross
- PDL Cross
- Asian High Cross
- Asian Low Cross
Each one fires only on a confirmed candle CLOSE beyond the level (not a
simple wick touch), which helps cut down on false/noise alerts.
█ CUSTOMIZATION
Every component can be shown/hidden and recolored independently:
- PDH / PDL
- Asian Session High / Low (with custom session + timezone)
- Support / Resistance (pivot strength + max levels shown)
- BOS / CHoCH (independent toggles, colors, label size)
- Trend label on/off
- Label distance from the last bar (so labels don't overlap price action)
█ HOW TO USE
1. Add the indicator to your chart.
2. Open Settings and enable/disable whichever levels you want to track.
3. Right-click the chart → Add Alert → select this indicator as the
Condition → choose one of the 4 built-in cross alerts.
This script is intended as a clean, configurable reference-level toolkit
for intraday traders working with daily/session-based key levels and basic
market structure (BOS/CHoCH), without needing to combine multiple
separate indicators.
⚠️ DISCLAIMER
This script is for educational and informational purposes only. It does
not constitute financial, investment, or trading advice, and should not
be relied upon for making trading or investment decisions. Past
performance of any strategy or level is not indicative of future results.
Trading and investing in financial markets involves substantial risk of
loss and is not suitable for every investor. You are solely responsible
for any trades or investment decisions you make. Always do your own
research and consult a licensed financial advisor before making any
trading decisions.
The author accepts no liability whatsoever for any direct or indirect
loss arising from the use of this script. Indicator

Order Block Mitigation Strategy [algo_aakash]Overview
Order Block Mitigation Strategy identifies bullish and bearish order blocks from confirmed structure breaks and tracks the exact degree to which each zone has been consumed by subsequent price action. Rather than treating every order block as equally tradable, the script continuously measures how deep into a zone price has traveled and only signals reactions occurring at zones that are still statistically fresh, while allowing the trader to see heavily used zones visibly fade on the chart.
Problem Statement
Most order block tools draw a zone once and leave it static until price closes through it entirely. This binary treatment ignores a critical distinction: a zone that has been wicked into by 10% of its range carries very different odds than one that has already been penetrated 70% of the way through. Traders using static zones frequently take reaction entries at institutional levels that have already been substantially absorbed, with no way to quantify how much of the zone's liquidity remains untouched.
Methodology
Structure is established using confirmed swing pivots. A Break of Structure is only confirmed on a bar close that clears the swing level by a minimum ATR-based buffer, filtering marginal breaks. Once a break is confirmed, the script scans backward from the broken pivot for the last opposite-colored candle within a fixed window, since this candle (not the pivot bar itself) is the true origin of the displacement leg. That candle's high-low range becomes the order block, provided its range also exceeds a minimum ATR multiple.
From the moment a zone is created, the script tracks the deepest price extreme that has traded into it on every confirmed bar. This extreme can only advance in the direction of consumption, never retreat, and from it a Mitigation Percentage is calculated as the proportion of the zone's height that has been traded through. This percentage is classified into one of four bands (Fresh, Light, Moderate, Heavy) using user-defined thresholds, and a fifth state (Invalidated) removes the zone once the percentage crosses a final threshold.
The Mitigation Percentage also drives the zone's fill transparency directly, on a continuous interpolation between a fresh-zone opacity and a near-invalid opacity. A zone at 10% mitigation renders visibly more solid than one at 55%, and the fade is smooth rather than stepped between discrete color states. This means zone health can be read from the chart at a glance without a label or panel.
Entry signals are only evaluated at zones whose live Mitigation Percentage has not yet exceeded a separate, user-defined entry cap. When price trades into a qualifying zone, the closed candle is checked against a selectable rejection pattern (a dominant wick, an engulfing candle, a strong directional close, or a combination of wick and close). Optional filters can additionally require the candle to close beyond the zone's midpoint, require the candle's range to exceed an ATR multiple, and require volume above its rolling average. Each signal is issued once per zone's lifecycle.
Every signal carries a composite confidence score built from five equally weighted, disclosed factors: the ATR-normalized strength of the structure break that created the zone, the ATR-normalized size of the origin candle, the zone's freshness at the moment of the signal (the inverse of its mitigation percentage), the expansion of ATR since the zone was formed, and the ATR-normalized distance price traveled from the origin candle to the structure break. The score is displayed next to the signal marker.
Signal Workflow
Step 1: A swing high or low is confirmed once the required number of bars exist on both sides.
Step 2: A close beyond that swing level by the minimum ATR buffer confirms a Break of Structure.
Step 3: The script scans backward from the broken pivot for the last opposite-colored candle and builds the order block from its full range, provided the candle passes the minimum impulse size filter.
Step 4: On every subsequent confirmed bar, the zone's deepest intrusion is ratcheted forward and the Mitigation Percentage is recalculated, driving both the quality band and the continuous fade.
Step 5: When price re-enters a zone below the entry mitigation cap and a rejection pattern confirms on the closed candle, along with any enabled midpoint, ATR-expansion, and volume filters, a scored entry signal is generated.
Why This Indicator Is Different
Zone consumption is tracked as a continuous, monotonically increasing percentage rather than a binary tested or mitigated flag, so the trader always knows how much of a zone's original range remains untouched.
Fill transparency is interpolated in real time directly from that percentage, making zone health visible without any label, table, or dashboard.
The order block's origin candle is located by scanning back from the structure break for the true opposite-colored displacement candle, rather than defaulting to the pivot candle itself.
Entry signals are gated by a separate, independently configurable mitigation cap, so a trader can permit signals only at zones that remain within a defined freshness range.
Every signal discloses a five-factor confidence score built from break displacement, origin candle size, live freshness, ATR expansion since formation, and travel distance, so the score can be audited rather than trusted blindly.
Inputs
Detection
Swing Pivot Length
ATR Length
Min BOS Size (x ATR)
Min Impulse Candle Size (x ATR)
Zones
Maximum Zones (per side)
Zone Extension
Fixed Extension Length
Show Zone Midline
Dynamic Opacity by Mitigation %
Mitigation
Fresh Threshold %
Partial Threshold %
Heavy Threshold %
Invalidate Threshold %
Entries
Enable Entry Signals
Max Mitigation % Allowed for Entry
Rejection Pattern
Require Close Beyond Zone Midpoint
Require ATR Expansion
Require Volume Confirmation
High Confidence Threshold %
Appearance
Bullish Zone Color
Bearish Zone Color
Fresh Zone Transparency
Near-Invalid Zone Transparency
Signal Marker Size
Alerts
Enable All Alerts
Alert: New Order Block
Alert: Mitigation Milestones
Alert: Entry Signals
Alerts
Alerts are available for:
New Bullish Order Block formed
New Bearish Order Block formed
Bullish Order Block Partial Mitigation
Bearish Order Block Partial Mitigation
Bullish Order Block Heavy Mitigation
Bearish Order Block Heavy Mitigation
Bullish Order Block Invalidated
Bearish Order Block Invalidated
Bullish Rejection Entry
Bearish Rejection Entry
Premium Entry (High Confidence)
Practical Usage
Lower the Max Mitigation % Allowed for Entry to restrict signals to only the freshest zones, or raise it to also capture reaction trades at moderately used levels.
Watch the continuous fade of a zone as a visual proxy for its remaining reliability without needing to check a percentage value directly.
Use the disclosed confidence score to compare two simultaneous signals rather than treating every marker as equally weighted.
Switch Zone Extension to Until New BOS on trending instruments to stop a zone from extending once the opposing side of structure has broken.
Combine the ATR expansion and volume filters on the Entries tab when trading instruments where displacement quality varies significantly by session.
Limitations
Swing pivot confirmation introduces a lag equal to the pivot length setting, meaning a structure break can only be evaluated after that many bars have closed beyond the pivot.
The origin candle scan is bounded by a fixed lookback window, so on unusually extended displacement legs the true origin candle may fall outside that window and no zone will be created.
The confidence score is a disclosed, equally weighted composite of five factors and is not a probability of trade success.
Order blocks and their mitigation state are a price-action framework, not a standalone trading system, and should be evaluated alongside broader market context.
Notes
All detection, structure break, mitigation state, and entry logic execute strictly on confirmed bars, so no drawing, classification, or alert changes retroactively once printed.
Zone counts per direction are capped, with the oldest zone removed first once the limit is reached, keeping drawing object usage bounded regardless of session length.
alert() calls are used for every event category so a single "Any alert() function call" condition in the PulseWire alert dialog captures all messages from this script.
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

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

Market Structure Shift [JOAT]═══ MARKET STRUCTURE SHIFT ═══
A complete Smart Money Concepts structure engine that reads the market the way institutional flow moves it — mapping every swing and internal shift, tagging each break as BOS (continuation) or CHoCH (reversal), then layering liquidity, premium/discount context, and a structure-anchored risk plan on top. It turns raw price action into a clean, labelled map of who is in control and where the shift happens.
▎ WHAT IT DOES
MSS tracks confirmed pivots and runs them through a two-layer structure state machine. When price closes (or wicks) beyond a protective swing, it draws the break line, labels it BOS or CHoCH, and updates the live trend state. Around that skeleton it adds equal-high/low liquidity marks, a premium/discount/equilibrium range map, an optional structure-anchored SL and Reward:Risk target zone, session VWAP with deviation bands, and a live dashboard summarising the whole picture.
▎ HOW IT WORKS
• Confirmed pivots — swing highs/lows are detected with a symmetric pivot length (bars each side), so a pivot only prints once fully confirmed. A separate, shorter internal pivot length tracks a faster inner structure layer.
• BOS vs CHoCH logic — each layer holds a trend state (bull / bear / range). A bullish break of the last swing high while the state is already bullish is a BOS (continuation); a bullish break while the state was bearish is a CHoCH (change of character / first reversal). The mirror logic applies to bearish breaks.
• Break confirmation — you choose whether a candle must close beyond the level (cleaner) or whether any wick penetration counts.
• Sequence read — every new pivot is classified HH / LH / HL / LL (or EQ) so you can see the higher-high / lower-low rhythm at a glance.
• Liquidity (EQH/EQL) — two consecutive pivots landing within an ATR-scaled tolerance are marked as Equal Highs or Equal Lows — resting liquidity pools where stops cluster.
• Premium / Discount — the active swing range is split into a Premium (upper) zone, a neutral Equilibrium band around the midpoint, and a Discount (lower) zone, so you always know which half of the range price is trading in.
• Structure-anchored risk — on a fresh signal the stop is placed just beyond the swing that would invalidate the shift (plus an ATR buffer), or by a fixed ATR distance. Risk is floored and capped by ATR, and the target is projected at your Reward:Risk multiple.
• VWAP magnet — session-anchored VWAP with inner and outer standard-deviation bands acts as the fair-value reference the structure tends to rotate around.
• ATR normalisation — label spacing, liquidity tolerance and stop distances all scale with ATR, so the tool behaves consistently across assets and timeframes.
▎ HOW TO USE IT
• Read the trend state first: a CHoCH warns the prevailing structure has broken; a following BOS confirms the new leg. Trade with the higher-conviction swing layer and use internal breaks for earlier, finer entries.
• BUY / SELL labels fire on the events you enable (CHoCH, BOS, or both) from your chosen layer — treat them as a structure trigger, not a blind entry.
• Favour longs from the Discount zone and shorts from the Premium zone; the Equilibrium band is neutral / no-man's-land.
• EQH/EQL marks show where liquidity rests — price often sweeps these before a genuine shift, so use them as targets and as traps to avoid.
• When a signal prints, the RISK ZONE (entry→stop, red) and TARGET ZONE (entry→TP, green) boxes project the plan; the SL and TP lines carry exact price and R labels. The zones extend live, then freeze once TP, SL, or the time-out is reached.
• Use VWAP and its bands as confluence — a shift back through VWAP into the opposite σ band is a common rotation target.
▎ KEY SETTINGS
• Structure Engine — swing pivot length, optional internal layer + its length, close/wick break confirmation, ATR length.
• Signals — signal source (Swing / Internal / both) and whether labels fire on CHoCH, BOS, or both.
• Liquidity & Zones — toggle EQH/EQL, equal-level tolerance, premium/discount zones, equilibrium band width, and the floating price-zone tag.
• Risk Model — stop basis (Structure+Buffer or ATR Multiple), buffer/ATR distance, Reward:Risk multiple, min/max risk floors and caps, projection length, max drawn setups.
• VWAP — show VWAP, inner/outer σ multiples, deviation lookback.
• Visuals — swing/internal break display, pivot markers, zone candle colouring, draw limits, and the blue/violet colour scheme.
▎ DASHBOARD
A compact blue/violet panel reports live: overall Trend , the Last Event (Bull/Bear BOS or CHoCH), the current Swing Sequence (e.g. HH · HL), the Internal structure state, the active Price Zone , running BOS and CHoCH counts, Liquidity (EQH/EQL) count, the current Signal , and the symbol/timeframe. Position and text size are adjustable.
▎ ALERTS
Six alertconditions are provided: Bullish BOS, Bearish BOS, Bullish CHoCH, Bearish CHoCH, BUY Signal, and SELL Signal — each with a ready message carrying ticker and interval.
▎ NOTES
• Works on all timeframes and all assets — everything scales with ATR.
• Pivots are confirmed (they need bars to close each side), so structure marks are non-repainting once printed; the price-zone label and dashboard update live on the last bar as expected.
• Every visual layer has a toggle — turn off what you don't need for a clean chart.
• Signals never fire both directions on the same bar; a conflicting wide-range bar is dropped.
For research and education only. This is not financial advice. No indicator can predict the future, and past behaviour does not guarantee future results. Any labels, zones, or counts describe historical price action only. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡ Indicator

Indicator

Indicator

Breaker Block Identifier [algo_aakash]Breaker Block Identifier is a market structure indicator that converts failed order block retests into scored, non-repainting breaker zones. Rather than flagging every order block that gets invalidated, the script requires a complete sequence of confirmed price events — order block formation, an opposing structure break, a retracement into the invalidated zone, and a failed retest of that zone — before a breaker is created, and then ranks the result with a transparent quality score.
Problem Statement
Order blocks are frequently invalidated by a structure break and later retested, but a retest failing to continue in the original direction is not automatically a tradable breaker block. Many public scripts draw a zone as soon as an order block is broken, without verifying that the subsequent retest actually failed, how deep that retest penetrated, or how convincingly price rejected the zone. This produces a high volume of low-quality zones that require manual filtering by the trader.
This indicator addresses that gap by treating breaker formation as a multi-stage state machine rather than a single condition, and by scoring every candidate that completes the sequence so weak retests can be filtered out programmatically instead of visually.
Methodology
Swing highs and lows are identified with ta.pivothigh/ta.pivotlow using a user-defined bar count on each side, so every structural level referenced by the script is a confirmed pivot, never a forming one.
An order block source candle is located as the last opposite-colored candle at or immediately before each confirmed swing pivot, within a fixed lookback. The candle must exceed a minimum size expressed as a multiple of ATR, and can optionally be required to close on above-average volume. Zone boundaries can be set to the candle body (open/close) or the full wick range (high/low).
Every order block candidate then moves through three internal states. In the Pending state the script waits for an opposing structure break (a close beyond the relevant swing high or low, optionally required to clear the level by a minimum ATR multiple). Once that break occurs the candidate becomes Flipped, and the script waits for price to retrace back into the now-invalidated zone. On entry into the zone the candidate becomes Retesting, and the script tracks the deepest penetration price reaches inside the zone on a bar-by-bar basis.
A Retesting candidate resolves in one of two ways. If price closes back through the zone in its original direction by the confirmation displacement threshold, the retest is judged to have held and the candidate is discarded with no breaker created. If price instead closes through the opposite edge of the zone by the same displacement threshold, and the tracked penetration depth met a minimum percentage of the zone's height (the Retest Qualification Filter), the retest is judged to have failed and the order block is converted into a breaker in the opposite direction of its original bias.
Each confirmed breaker is then scored from 0 to 100 using six independent, user-weighted factors: the displacement strength of the invalidating structure break, the ATR-relative size of the original order block candle, how closely the retest penetration matched a user-defined ideal depth (scored on a curve, so both shallow touches and near-total breaches score lower than a clean mid-zone tag), the wick-rejection ratio of the confirming candle, how quickly the retest resolved relative to the retest window, and the ATR-normalized distance price traveled before returning to retest. The six sub-scores are combined using auto-normalized weights, so a breaker only appears on the chart, gets drawn, and triggers alerts if it clears the configured minimum quality threshold.
Confirmed breakers remain in an Active/Touched state until price closes through the far edge of the zone by the invalidation displacement threshold, at which point the zone is marked invalidated, visually dimmed, and removed after a configurable linger period. A hard maximum-age limit and a per-direction cap on active zone count prevent unbounded object growth.
Signal Workflow
Step 1 — a confirmed swing pivot forms and an order block candidate is registered from the qualifying source candle behind it.
Step 2 — the candidate waits in a Pending state until an opposing structure break (BOS/CHoCH) closes beyond the originating swing level.
Step 3 — once flipped, the candidate waits for price to re-enter the invalidated zone, entering the Retesting state and tracking maximum penetration depth.
Step 4 — the retest resolves: a displacement close back through the zone in the original direction discards the candidate, while a displacement close through the opposite edge with sufficient penetration confirms a breaker.
Step 5 — the confirmed breaker is scored across six weighted factors and only drawn, labeled, and alerted on if it meets the minimum quality threshold.
Step 6 — the active breaker zone extends forward until price closes through its far edge by the invalidation displacement threshold, at which point it dims and is scheduled for removal.
Why This Indicator Is Different
Most public order block or breaker scripts draw a zone the moment an order block is invalidated by a structure break, without separately validating whether the ensuing retest actually failed.
This script models breaker formation as an explicit four-state pipeline (source candle, pending, flipped, retesting) and only creates a zone after the retest resolves against its original direction with a minimum measured penetration depth.
The Breaker Quality Score converts six independently disclosed factors, including retest penetration depth scored on a curve around a configurable ideal value rather than a simple threshold, into a single adjustable ranking rather than a cosmetic label.
Quality-score weighting is fully exposed, allowing the ranking to be tuned toward structure strength, retest precision, wick rejection, confirmation speed, or impulse distance depending on the trader's approach.
Zone fill transparency scales with the quality score, so higher-ranked breakers render more opaque and lower-ranked ones fade into the background without adding separate visual elements.
An optional formation preview renders the retest phase of a candidate before it resolves, giving visibility into why a breaker did or did not form without permanently cluttering the chart.
Inputs
Structure Settings
Swing Pivot Length
Displacement Filter on Structure Break
Structure Break Displacement (x ATR)
ATR Length
Order Block Detection
Use Candle Body for Zone Boundaries
Min Order Block Size (x ATR)
Candidate Expiry (bars)
Volume Confirmation Filter
Volume MA Length
Volume Multiplier Threshold
Breaker Conversion Rules
Retest Window (bars)
Confirmation Displacement (x ATR)
Min Retest Penetration (%)
Quality Score
Filter Breakers by Quality Score
Minimum Quality Score
Ideal Retest Penetration Ratio
Advanced weight sliders for structure break strength, impulse size, retest precision, wick rejection, confirmation speed, and distance traveled
Visual Settings
Bullish/Bearish Breaker Colors
Min/Max Fill Transparency
Show Zone Midline
Show Quality Label
Label Size
Formation Preview toggle and color
Lifecycle & Cleanup
Max Active Breakers (per side)
Invalidation Displacement (x ATR)
Invalidated Linger (bars)
Max Breaker Age (bars)
Info Panel
Show Info Panel
Panel Position
Alerts
Alerts are available for:
Bullish Breaker Block formed
Bearish Breaker Block formed
Structure confirmation on breaker conversion
Price entering an active breaker zone
Breaker invalidated
Practical Usage
Use the info panel's structure bias reading as directional context before evaluating individual breaker zones.
Treat a fresh, high-quality breaker aligned with the prevailing structure bias as a potential continuation zone rather than a standalone entry signal.
Raise the minimum quality threshold on lower timeframes or noisy instruments to reduce the number of marginal zones drawn.
Use the retest penetration and displacement settings together to control how strict the failed-retest qualification is for your instrument and timeframe.
Combine the alert feed with a broader trade plan, since each alert marks a structural event, not an execution signal.
Limitations
Swing pivots require bars to form on both sides before they confirm, so structure breaks and order block placement are inherently delayed by the swing pivot length.
The order block source candle is located within a fixed lookback behind each pivot; if no qualifying candle exists in that window, no candidate is created for that pivot.
Quality scoring is a relative ranking based on disclosed, adjustable factors and does not predict the outcome of any individual breaker zone.
Volume-based filtering depends on the data provider's reported volume and may behave inconsistently on instruments with limited or unreliable volume data.
As with any structure-based tool, results will vary across instruments, timeframes, and market regimes.
Notes
This indicator is a market structure analysis tool intended to organize and rank breaker block formation through a disclosed, multi-stage validation process.
All structure breaks, state transitions, breaker confirmations, and invalidations are evaluated on confirmed bar closes only, so no element of the script repaints once drawn.
The output is intended to support structural analysis and is not a standalone buy or sell recommendation.
Indicator

Smart Structure Mapper [StrixEDGE]Overview
AetherZone is a market structure analysis toolkit that maps the internal architecture of price action in real time. It identifies swing points, tracks structural shifts (BOS & CHoCH), detects order blocks (supply and demand zones), and highlights fair value gaps — consolidating the core framework of institutional price analysis into a single, self-managing overlay.
What This Indicator Does
AetherZone operates through five interconnected analytical layers:
Swing Detection Engine
Identifies confirmed pivot highs and pivot lows using a configurable lookback window. Each swing point is labeled directly on the chart as "Swing High" or "Swing Low" in clean, neutral text. Pivots are confirmed after the required bars have closed on both sides, ensuring the indicator does not repaint or revise historical swing points. Each swing is classified relative to its predecessor as a Higher High (HH), Lower High (LH), Higher Low (HL), or Lower Low (LL).
Market Structure Tracker
Continuously evaluates the relationship between consecutive swing highs and swing lows to determine the prevailing market structure:
- Bullish Structure — Higher Highs + Higher Lows (HH/HL)
- Bearish Structure — Lower Highs + Lower Lows (LH/LL)
- Ranging — Mixed signals or insufficient structural data
BOS & CHoCH Detection
AetherZone uses a flag-based detection system to identify structural breaks. When a new swing point is confirmed, its level becomes active. The first bar where price closes beyond that level triggers the event:
- BOS ↑ / BOS ↓ (Break of Structure) — Price breaks a swing level in the direction of the prevailing trend, confirming continuation. Labeled with directional arrows on the chart.
- CHoCH ↑ / CHoCH ↓ (Change of Character) — Price breaks a swing level against the prevailing trend, signaling a potential reversal. Displayed with a more prominent label and color to draw attention to the structural shift.
A dashed level line is drawn at the broken swing point for visual reference.
Order Block Detection
AetherZone identifies potential institutional interest zones through two configurable modes:
"All Swings" mode (default): An Order Block is created at every confirmed swing point, providing comprehensive zone coverage. On each confirmed pivot low, the last bearish candle near that swing becomes a Demand zone. On each confirmed pivot high, the last bullish candle near that swing becomes a Supply zone.
Bullish OB
"BOS/CHoCH Only" mode: Order Blocks are created only when a structural break occurs, providing fewer but potentially higher-conviction zones.
Fair Value Gap (FVG) Detection
- BULL FVG — Current candle's low is above the candle-two-bars-ago's high (gap up)
- BEAR FVG — Current candle's high is below the candle-two-bars-ago's low (gap down)
FVGs are filtered by a minimum size threshold (percentage of ATR) to eliminate insignificant gaps, and are automatically removed when filled by subsequent price action or when they exceed their maximum age.
Inputs & Customization
Structure
- Show BOS / Show CHoCH — Independent visibility toggles for each structural event type.
Order Blocks
- OB Source — "All Swings" (OB at every pivot, more zones) or "BOS/CHoCH Only" (fewer, higher-conviction zones). Default: All Swings.
- Max OB Age — Bars before an OB is removed due to aging. Default: 120.
- Mitigation Grace — Bars after creation during which an OB cannot be mitigated. Default: 10.
- Max Active OBs — Limits simultaneously displayed OBs per side. Default: 6.
Fair Value Gaps
- Max FVG Age — Bars before an unfilled FVG is removed. Default: 50.
- Min FVG Size (% of ATR) — Minimum gap size to qualify. Default: 10%.
- Max Active FVGs — Limits simultaneously displayed FVGs per side. Default: 5. Indicator

TREND RIBBONtrend filter ribbon
trend filter ribbon is a market structure and trend filtering tool designed to help traders read the active direction of price with a clean ema ribbon, external structure logic, internal entry markers, htf bias filtering, and a compact live dashboard.
the tool is built to answer one simple question:
is the market bullish, bearish, or neutral?
it does not try to predict every candle. it filters the chart so the trader can avoid low-quality counter-trend decisions and focus on cleaner directional setups.
what the indicator does
the indicator combines several elements:
ema ribbon:
a multi-layer ema ribbon shows the current trend body. when the ribbon expands, the trend is stronger. when it compresses, the market is weaker or flatter.
external structure:
major swing highs and swing lows define the main market structure. when price breaks a major level, the script detects bos or choch depending on the current structure state.
internal structure:
smaller swing breaks are used as early entry markers, but only when they agree with the active master trend.
htf veto:
a higher timeframe ema filter can block counter-trend conditions. when the lower timeframe disagrees with the selected htf direction, the master trend can be held as neutral.
live structure levels:
the most important active high and low levels are drawn on the chart so the trader can see where the next structural decision may happen.
dashboard:
a compact institutional-style panel displays external trend, htf bias, master state, ribbon spread, active levels, and early long or short validity.
how to read the ribbon
bullish ribbon:
when the ribbon is bullish, the tool is showing that the active structure and trend conditions favor long setups.
bearish ribbon:
when the ribbon is bearish, the tool is showing that the active structure and trend conditions favor short setups.
neutral ribbon:
when the ribbon is neutral, the market is not clean enough or the htf filter is blocking the active direction. beginners should usually avoid trading during neutral conditions.
ribbon spread:
the ribbon spread measures the distance between the fastest and slowest ribbon ema, normalized by atr.
flat:
the ribbon is compressed. the market may be ranging or weak.
building:
the ribbon is expanding. trend strength is improving.
strong:
the ribbon is clearly expanded. the current direction has stronger momentum.
bos and choch
bos means break of structure.
a bullish bos appears when price continues higher by breaking a valid structural high during a bullish structure.
a bearish bos appears when price continues lower by breaking a valid structural low during a bearish structure.
choch means change of character.
a bullish choch appears when price breaks structure upward after a bearish phase.
a bearish choch appears when price breaks structure downward after a bullish phase.
for beginners:
bos usually means continuation.
choch usually means possible reversal.
how to use the indicator
step 1: check the master trend
start with the dashboard.
if master is bullish, focus only on long ideas.
if master is bearish, focus only on short ideas.
if master is neutral, wait.
step 2: check the htf bias
the htf line shows whether the selected higher timeframe is bullish or bearish.
when the htf agrees with the master trend, the condition is cleaner.
when the htf disagrees, the tool can hold the master trend in neutral mode.
step 3: check the ribbon spread
flat ribbon:
avoid aggressive entries.
building ribbon:
look for confirmation.
strong ribbon:
trend conditions are more active.
step 4: wait for structure
a bos can confirm continuation.
a choch can show that the previous direction may be changing.
beginners should not enter only because a label appears. the label should be combined with context, trend direction, support and resistance, and risk management.
step 5: use internal entry markers
internal entry markers are early signals that appear only in the direction of the active filtered trend.
a long marker is only valid when the master trend is bullish.
a short marker is only valid when the master trend is bearish.
beginner example
example long setup:
1. master trend is bullish
2. htf bias is bullish
3. ribbon spread is building or strong
4. price breaks structure upward
5. a long entry marker appears
6. trader looks for a logical stop below the recent swing low
7. trader targets the next resistance, previous high, or a fixed risk/reward level
example short setup:
1. master trend is bearish
2. htf bias is bearish
3. ribbon spread is building or strong
4. price breaks structure downward
5. a short entry marker appears
6. trader looks for a logical stop above the recent swing high
7. trader targets the next support, previous low, or a fixed risk/reward level
main inputs
external swing strength:
controls the strength of the major swing structure. higher values create fewer but stronger structure signals. lower values create more responsive signals.
internal swing strength:
controls the smaller internal structure used for early entry markers. lower values are faster. higher values are cleaner but slower.
break confirmation:
choose whether structure breaks are confirmed by close or wick.
close:
more conservative.
wick:
more reactive.
bos pivot strength:
controls the pivot sensitivity used for bos continuation levels.
choch pivot strength:
controls the pivot sensitivity used for choch reversal levels.
htf timeframe:
selects the higher timeframe used for directional filtering.
htf ema length:
controls the ema used for the higher timeframe bias.
base ema length:
sets the first ema in the ribbon.
ema step:
controls the spacing between each ema in the ribbon.
ribbon lines:
turns the ribbon lines on or off.
ribbon fill:
turns the fill between ribbon layers on or off.
core glow:
adds a stronger visual emphasis to the main ribbon line.
external structure labels:
shows or hides bos and choch labels.
internal entry markers:
shows or hides early long and short markers.
live structure levels:
shows or hides the active major structure levels.
background tint:
adds a light background color based on the current master trend.
dashboard:
shows or hides the live panel.
dashboard position:
lets the trader place the panel in any chart position.
alerts
the script includes alerts for:
bullish choch
bearish choch
bullish bos
bearish bos
long entry
short entry
for best results, create alerts after the indicator is added to the chart and select the alert condition that matches your trading plan.
beginner tips
do not trade every signal.
use the indicator as a filter, not as a complete trading system.
avoid trading when the dashboard shows neutral.
avoid trading when the ribbon spread is flat.
look for agreement between master trend and htf bias.
always define stop loss, target, and invalidation before entering.
combine the tool with support and resistance, liquidity levels, volume, session context, or higher timeframe analysis.
important notes
this indicator is designed for market analysis and trend filtering.
it does not guarantee profitable trades.
signals can fail during news, low liquidity, sideways markets, or high volatility conditions.
risk management remains the responsibility of the trader.
the best use of this tool is to filter direction, read structure, and avoid trading against the dominant trend.
Indicator

ApexSignalPro SMC [ForexCracked]🔵 OVERVIEW
ApexSignalPro SMC is a confluence-scored Smart Money Concepts indicator that fires a signal only when multiple institutional footprints align on the same bar. Every signal carries a live score from 0 to 5 showing how many structural conditions agree — market structure, order blocks, fair value gaps, premium/discount location, and higher-timeframe bias.
Instead of the "every crossover is a signal" approach, it uses a strict confluence gate, a range-regime filter, and forced signal alternation — far fewer signals, much higher conviction. A live dashboard shows the score, active zones, and the last trade plan at a glance.
🔵 WHY THESE COMPONENTS ARE COMBINED
A break of structure alone, an order-block touch alone, or a single fair value gap all fire often and fail often. They become far more reliable when they occur together and agree with the higher-timeframe trend. Rather than overlaying five separate tools and leaving you to judge them, this script quantifies their agreement into one 0–5 score and only trades when enough align. Three principles guide it:
• Direction comes from market structure (BOS / CHoCH), not from price crossing smoothed averages
• Entries require confluence, never a single condition
• Signals alternate (BUY → SELL → BUY), never stacking the same direction in one leg
🔵 THE FIVE SCORED FACTORS (1 point each)
1️⃣ Market structure (BOS / CHoCH) points in the signal direction
2️⃣ Price is inside an unmitigated order block
3️⃣ Price is inside an unmitigated fair value gap
4️⃣ Correct half of the range — discount for longs, premium for shorts
5️⃣ Higher-timeframe EMA bias agrees
🔵 HOW A SIGNAL FIRES A BUY or SELL prints only when ALL of these are true:
• The confluence score meets your minimum (default 3 of 5)
• A strong-bodied candle closes in that direction
• The ADX regime filter confirms trending, not ranging
• The signal is opposite the previous one (forced alternation) Each signal draws Entry, Stop (beyond the nearest order block + ATR buffer), and Take Profit (configurable R:R), with pip labels.
🔵 HOW IT READS THE MARKET
• Market structure — confirmed swing pivots; a close beyond the last pivot is a BOS, the first break against structure is a CHoCH that flips the state
• Order blocks — the last opposing candle before an impulsive displacement (body > 1.2× ATR); tracked until mitigated or aged out
• Fair value gaps — three-candle imbalances filtered by a minimum ATR size; removed when filled
• Premium / discount — the swing-range midpoint splits discount (below) from premium (above) • Regime — ADX must exceed your minimum, suppressing signals in flat ranges
🔵 HOW TO USE
• Favour score 4–5 signals; treat score 3 with extra confirmation
• Require the dashboard HTF bias to match the signal for trend-aligned entries
• Use retests of unmitigated OBs or FVGs in the trend direction as continuation entries
• Size each trade off the drawn stop distance at a fixed account risk
• Raise Min Confluences to 4 for fewer, stronger signals
🔵 RECOMMENDED SETTINGS
• Swing Length: 5
• Higher Timeframe: 240 (H4) on H1 charts, D on H4 charts
• HTF EMA: 50 · OB Max Age: 20 · FVG Min Size: 0.3× ATR
• ADX Min: 22 · Min Confluences: 3 · SL Buffer: 0.5× ATR · R:R: 2.0
🔵 BEST / WEAKEST CONDITIONS ✅ Trending majors, gold, and indices on H1–H4; London / New York overlap ⚠️ Low-volatility ranges, gapped markets, and sub-5-minute noise
⚠️ DISCLAIMER ApexSignalPro SMC structures signals from Smart Money Concepts. It does not predict future price movement. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes; not financial advice. Indicator

Market Structure + CHoCH/MSS/BOS | Xcelerate TradeMarket Structure + CHoCH / MSS / BOS | Xcelerate Trade
A precise market-structure mapper from the Xcelerate Trade team. It auto-detects swing highs / lows, classifies every break of structure as CHoCH (Change of Character), MSS (Market Structure Shift) or BOS (Break of Structure), and labels each pivot as HH / HL / LH / LL. Designed for SMC and price-action traders who want a clean, repaint-aware structural read of the chart.
What you get on the chart
Swing labels: HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low) — auto-placed on every detected pivot.
Break lines: every confirmed break is drawn as a horizontal segment from the swing bar to the breaking bar.
Break tags: each break line gets a label — CHoCH, MSS or BOS — so you can read structure at a glance.
Info table (top-right): current settings (Auto / Manual, TF, L/R, detection method, MSS definition, break validation) and an optional debug panel with trend state, flags, pre-CHoCH levels, last-break details.
Pattern alerts: ready-to-use alertcondition for HH-HL-HH and LL-LH-LL sequences.
Pivot detection — two modes
Williams Fractals (default): classic ta.pivothigh / ta.pivotlow with separate left and right lengths. Configurable in Manual Settings (defaults L = 6, R = 4) or selected automatically per timeframe via Auto Timeframe Settings:
Timeframe L / R
1m
4 / 4
5m
4 / 3
15m
5 / 4
30m+, daily, weekly, monthly
6 / 4
Simple Fractals: SMC-style, symmetric — current bar is a pivot if it's the highest / lowest within simpleFractalPeriod bars on each side. Faster but more frequent than Williams.
You can also force Wait for bar close (default ON) to confirm pivots only on closed bars.
Break validation — 4 modes
Choose how a level is considered "broken":
Close — close beyond the swing level (cleanest, default).
High/Low (wick) — wick beyond the level (most aggressive).
Close beyond buffer (ticks) — close beyond level ± N × mintick.
Close beyond buffer (%) — close beyond level ± X%.
Buffer fields appear conditionally so you can tune the strictness of structure breaks per instrument (forex, indices, crypto, etc.).
Structure classification — CHoCH / MSS / BOS
Trend state is tracked internally (Bullish, Bearish, Neutral). Every confirmed break is then classified:
CHoCH — first break that reverses the trend (bullish CHoCH on a close above the last swing high while bearish; bearish CHoCH on a close below the last swing low while bullish), or the very first break when the trend is still neutral. CHoCH flips the trend and starts a fresh leg.
MSS — first qualifying break in the direction of the new trend after CHoCH, per the MSS definition setting:
First break after CHoCH — any first break in trend direction = MSS, then BOS.
First break >= pre-CHoCH level — MSS only when the broken swing is at or beyond the swing level that existed before the CHoCH. Stricter — protects against premature MSS calls.
HL + >= pre-CHoCH (legacy) — same as above, plus a confirming HL (bull) / LH (bear) is required after CHoCH before MSS can fire.
BOS — every subsequent break in the trend direction after MSS — until the opposite CHoCH occurs and the cycle restarts.
This rule set keeps only one MSS per trend leg, with everything before it being CHoCH and everything after being BOS — exactly how SMC traders read it.
Pre-CHoCH levels (transparent reasoning)
When CHoCH fires, the script captures the swing-high / swing-low that existed before the trend flip (pre_choch_swing_high / pre_choch_swing_low). These are used by the stricter MSS modes and shown in the debug rows of the info table, so you can verify exactly why a break was classified as MSS or BOS.
Last broken swing tracking
For every confirmed break the indicator stores:
lastBreakSwingBarIndex — the bar where the broken swing originally formed (its ID).
lastBreakSwingPrice — the level that was broken.
lastBreakClassification — CHoCH / MSS / BOS.
lastBreakDirection — above swing high / below swing low.
lastBreakDetectBarIndex — the bar where the break passed your validation filter.
These are visible in the debug rows when Show debug rows (table) is on — useful for forensic / journal-style review.
Drawing budget (FIFO)
The indicator caps the number of CHoCH / MSS / BOS line + label pairs at Max CHoCH/MSS/BOS lines + labels (default 400, max ~80% of PulseWire's 500 limit). Older drawings are removed first (FIFO), so you never hit the line cap on long histories.
Alerts
Two ready-to-use alert conditions:
HH-HL-HH Alert — fires when an HH-HL-HH pattern completes.
LL-LH-LL Alert — fires when an LL-LH-LL pattern completes.
Use PulseWire's alert dialog → choose the alert condition by name. Messages include {{ticker}} and {{interval}} placeholders.
Suggested settings (from the Xcelerate Trade team)
Default for most traders: Auto settings ON, Williams Fractals, Wait for bar close ON, Break validation = Close, MSS definition = First break after CHoCH.
Strict structural read (low noise): Break validation = Close beyond buffer (%) with 0.05–0.10%, MSS definition = First break >= pre-CHoCH level.
Aggressive / fast feedback: Simple Fractals with period 2, Break validation = High/Low (wick), Wait for bar close = OFF.
Forensic review: turn ON Show debug rows (table) to see trend state, CHoCH / MSS flags, pre-CHoCH levels and the last-break summary.
Notes & disclaimers
Williams Fractals confirm with a delay equal to the right-length (R bars). This is intentional — pivots are not repainted after confirmation.
Simple Fractals confirm with a delay equal to simpleFractalPeriod bars.
This is an analytical tool — no automated buy / sell labels. Pair with your own execution rules.
Pine Script v6.
Built and maintained by the Xcelerate Trade team. A complete CHoCH / MSS / BOS market-structure read with HH / HL / LH / LL labels, four break-validation modes, three MSS definition modes, an info / debug table and ready alert conditions. Indicator

Adaptive Market Suite [Jayadev Rana]Overview
Adaptive Market Suite is a four-module analysis toolkit that draws on the price chart. Each module is independent: turn any of them on or off, and each has its own settings group. It shows context, not buy or sell arrows. The four modules are an adaptive trend, volatility bands, market structure with order blocks and fair-value gaps, and an order-flow oscillator. You read the confluence and make your own decisions.
Module 1 - Adaptive Trend and Regime
A moving average whose smoothing adapts to Kaufman's efficiency ratio: the net distance price travelled divided by the total path it took to get there. In clean trends the ratio is high and the average speeds up to hug price; in chop it is low and the average slows and flattens. The line is coloured by its slope, and the info panel reports whether the market is trending or ranging from the same ratio.
Module 2 - Expected-Move Bands
Volatility bands around the adaptive basis. Instead of a fixed multiple of range, the band width scales with where the current Average True Range sits in its own recent history (its percentile), so the bands contract in quiet conditions and expand when volatility rises. A nearer pair and a wider pair mark two envelopes.
Module 3 - Liquidity and Structure
Market structure from confirmed swing pivots, labelled as Break of Structure and Change of Character. Because the pivots are symmetric (confirmed on both sides), they are fixed before they are drawn and do not repaint afterward. On a structure break the tool marks the order block behind the move (the last opposite-direction candle before the push) and it tracks fair-value gaps, which are three-bar imbalances. Each zone follows a mitigation lifecycle: it is extended while it is live and greyed once price trades through it, and only the most recent zones per type are kept so the chart stays readable.
Module 4 - Order-Flow Oscillator
A normalised buy and sell pressure read in the indicator pane. For each bar it combines where price closed within the bar's range with how large that bar's volume was relative to its recent average. Sustained closes near the highs on strong volume push the oscillator positive; the mirror pushes it negative. An absorption marker highlights bars with heavy volume but a small range, where effort is not producing movement.
Info panel
An optional compact table summarises the current trend direction, the regime read, the volatility percentile, and the current order-flow side. It is context only.
Inputs
Inputs are grouped per module: General (ATR length); Module 1 (efficiency length, fast and slow smoothing, regime threshold, colours); Module 2 (volatility lookback, base and extra width, colour); Module 3 (swing length, order-block lookback, max zones per type, toggles for structure, order blocks and fair-value gaps, colours); Module 4 (pressure smoothing, absorption threshold, colours); plus an info-panel toggle. Every module has a single enable switch.
Alerts
Bullish and bearish structure break, and the order-flow oscillator crossing above or below zero.
How to use it
Treat it as a confluence map rather than a signal. For example, price reaching an order block near the lower band, with the order-flow oscillator turning up while the adaptive trend is still rising, is a stronger context than any one of those alone. Turn off the modules you do not need: if you only trade structure, disable the other three groups for a clean map. It is intended for liquid instruments and works across timeframes; the demonstration chart is Gold on the 1-hour timeframe.
Limitations
The structure module confirms swings with bars on both sides, so its labels and order blocks appear a fixed number of bars after the pivot forms. That delay is the trade-off that keeps them from repainting. The bands, the oscillator and the info panel read the current bar and update as it forms, like any live calculation. This is an analysis tool, not a strategy: it places no orders, makes no performance claim, and there is no win rate because it does not promise trades.
Disclaimer
For education and research only. This is not financial advice, and past chart behaviour does not predict future results. Test any approach yourself and manage your own risk. Indicator

SMC Structures and FVG [Produced by Wanfeng]中文简介
SMC 结构综合指标 | FVG 公允价值缺口 + BOS/CHoCH 结构突破 + 趋势防守位 + 区间比例线
指标核心功能
FVG 公允价值缺口
自动识别传统 3 根 K 线标准供需缺口,区分看涨 / 看跌缺口;价格触碰缺口后自动变灰淡化,支持一键收缩被触碰区间,可自定义显示历史缺口数量;不适配跳空大缺口行情。
SMC 结构识别(BOS/CHoCH)
内置回溯周期算法自动判定市场结构:顺势突破 BOS、逆势转换 CHoCH;支持自定义线条颜色、线型、粗细,可限制图表留存历史突破标记数量。
假破待确认虚线
价格试探结构高低但未收盘突破时,自动绘制待确认虚线;区分普通顺势假破、防守位假破两种样式,直观分辨有效突破与诱多 / 诱空假破。
动态趋势防守位
跟随当前市场结构实时切换防守基准:上涨趋势以阶段低点为防守、下跌趋势以阶段高点为防守;出现防守位假破时自动切换至假破极值作为临时防守,加粗实线标注并附带文字标签。
区间比例分割线
基于当前完整结构区间自动计算自定义百分比分割线(默认 50% 中位线),同步适配假破后的区间重构;可显示百分比数值标签,辅助找订单流关键支撑阻力。
参数分组说明
公允价值缺口:控制 FVG 显示、配色、触碰收缩、历史数量
结构突破:结构回溯周期、BOS/CHoCH 线条、当前完整结构轮廓线、假破待确认线
防守位:防守实线配色粗细、防守位假破虚线开关与样式
结构比例线:自定义分割百分比、比例线样式、数值标签开关
使用提示
结构回溯 K 线参数为算法基准,不建议随意修改,修改会破坏防守位判定逻辑;
FVG 仅识别标准 3K 缺口,指数、外汇大幅跳空行情下缺口识别会失真;
突破触发自动警报,BOS 代表顺势延续、CHoCH 代表趋势反转信号;
所有线条、色块透明度、线型、线宽均可自由自定义适配个人图表风格。
English Introduction
SMC Market Structure All-in-One Toolkit | FVG + BOS & CHoCH Breakout + Dynamic Defense Level + Ratio Split Line
Core Features
Fair Value Gap (FVG)
Detect standard 3-bar institutional liquidity gaps (bullish & bearish). FVG boxes turn gray once mitigated, with optional shrink function for touched zones. Adjustable max historical FVG count. Not recommended for large gap/jump markets.
SMC Structure Detection (BOS / CHoCH)
Built-in lookback algorithm to identify institutional market structure: BOS (Break of Structure, trend continuation) & CHoCH (Change of Character, trend reversal). Fully customizable line color, style, width, and limited historical breakout markers to avoid chart clutter.
Pending Fake Breakout Dashed Line
Draw temporary pending lines when price tests swing high/low without close breakout. Separate styles for regular trend fakeouts and defense level fakeouts, easily distinguish valid breaks vs liquidity hunts.
Dynamic Trend Defense Level
Auto-switch defense baseline based on current market bias: swing low for uptrend, swing high for downtrend. Temporarily shift defense level to fakeout extreme when liquidity hunt occurs, with thick solid line and text label.
Range Ratio Split Line
Auto calculate user-defined percentage split level (default 50% midpoint) over active market range, compatible with post-fakeout restructured ranges. Optional percentage value label for key order flow support/resistance zones.
Input Groups
Fair Value Gap: Toggle FVG display, color palette, mitigate shrink, max historical boxes
Market Structure: Structure lookback period, BOS/CHoCH line settings, full swing structure outline, pending fake breakout lines
Defense Level: Solid defense line config, toggle & style for defense fakeout dashed lines
Range Ratio Line: Custom split percentage, ratio line appearance, value label switch
Important Notes
Structure lookback bar count is core algorithm parameter, DO NOT modify arbitrarily; wrong value breaks defense level calculation.
This FVG logic only works for standard 3-bar gaps; performance degrades on assets with massive overnight jumps/gaps.
Built-in alert triggers on confirmed breakouts: BOS = trend continuation signal, CHoCH = trend reversal signal.
Full customization of all line width, color transparency, dash/dot/solid styles to match your chart layout preference. Indicator

Indicator

Market Structure Mechanics - MSSThis script is an automated structural mapping tool designed to read price action through the strict lens of the ICT (Inner Circle Trader) algorithmic framework. It doesn't just mark every high and low; it intelligently categorizes how price interacts with structural levels to tell you whether the trend is continuing, reversing, or manipulating.
Here is a breakdown of how the script interprets market mechanics:
1. Trend Tracking & Pivot Identification
The script actively tracks the most recent swing high (sh) and swing low (sl) to determine the current trend (bullish or bearish). It uses a customizable pivot length (default 5 bars) to identify these structural turning points.
2. Break of Structure (BOS)
A BOS signals that the current trend is continuing.
If the trend is Bullish and a candle closes decisively above the active Swing High, the script draws a solid blue line and labels it BOS.
If the trend is Bearish and a candle closes decisively below the active Swing Low, it draws a solid red line labeled BOS.
3. Market Structure Shift (MSS) with Displacement
An MSS is a high-probability signal that the overall trend has reversed. However, the script is designed to filter out fake reversals by enforcing the Displacement Rule.
If the trend is Bullish, but price suddenly closes below the active Swing Low, the algorithm checks the recent down-move to see if a Bearish Fair Value Gap (FVG) was formed.
If an FVG is present, it means the move had massive institutional momentum (Displacement). It will draw a thick red line labeled MSS, and the trend will officially shift to bearish.
If it breaks the low but no FVG is found, the script flags it as a low-probability, invalid break (drawn as a dotted gray line).
4. Liquidity Sweeps (Stop Hunts)
This is where the script shines at reading manipulation.
If price pushes past a structural high or low to trigger retail stop losses, but the candle ultimately fails to close beyond the level (leaving a wick), the script immediately recognizes this as a stop hunt.
It will draw a dashed orange line and label it Sweep.
The script also features a built-in "Smart Label Merger", meaning if a level gets Swept and then Broken on the exact same candle, the labels will neatly combine (e.g., "Sweep, BOS") instead of creating a messy, overlapping clump of text on your chart. Indicator
