PROTECTED SOURCE SCRIPT
Diupdate Ultimate Market Structure + MTF Dashboard [FIXED]

Ultimate Market Structure + MTF Dashboard โ Indicator Description
๐ถ Overview
Ultimate Market Structure + MTF Dashboard is a fully-automated Smart Money Concepts (SMC) market-structure indicator designed to give traders extremely clean and accurate structural mapping on any timeframe.
It intelligently detects:
External (Swing) Structure
Internal Structure
BOS / CHoCH (Break of Structure / Change of Character)
HH/HL/LH/LL swing labels
Strong/Weak Highs & Lows
Equal Highs (EQH) & Equal Lows (EQL)
Internal BOS/CHoCH (micro-structure)
Multi-Timeframe Structure Dashboard (D, H4, H1, M15, M5)
This indicator eliminates clutter, repaints nothing, and provides crystal-clear visual understanding of market direction.
๐ฏ What This Indicator Solves
Most structure indicators fail because they:
โ spam BOS/CHoCH everywhere
โ repaint pivots
โ mix internal and external structure
โ draw messy lines
โ ignore confluence
โ donโt show higher timeframe structure
This script solves all of that by using:
Gap-proof pivot detection
Strict internal/external structure separation
Proper BOS/CHoCH logic using previous break
โLastBreak memoryโ system (no double BOS on same leg)
ATR-filtered internal pivots
Candle-context confluence filter
User-controlled filters for BOS/CHoCH only
Everything is designed for clean, reliable structure.
๐ง How It Works (Logic Explained Clearly)
1๏ธโฃ Swing Structure โ External
Based on user-defined swing length (default: 50).
Detects major turning points and evaluates:
HH / HL โ Bullish structure
LH / LL โ Bearish structure
Once a swing high/low is confirmed, the indicator tracks:
Has price crossed that pivot?
If yes โ BOS or CHoCH depending on previous break direction.
2๏ธโฃ Internal Structure โ Micro Trend
A second layer using small length pivots (default: 5).
Useful for:
Entries
Scalp-level reversals
Early CHoCH detection
Internal structure uses ATR distance from swing pivots to avoid overlap.
3๏ธโฃ BOS / CHoCH Logic
The script uses a very strict rule:
If previous break direction was opposite โ CHoCH
If previous break direction was same โ BOS
This eliminates false CHoCH spam and improves trend clarity.
4๏ธโฃ Strong & Weak High/Low Detection
Each time a BOS occurs:
In bearish trend โ last swing high = Strong High
In bullish trend โ last swing low = Strong Low
Opposite becomes Weak High/Weak Low
These are important Smart Money Concepts levels for:
Premium/discount zones
Liquidity targets
Stop hunts
5๏ธโฃ Equal Highs & Equal Lows (EQH/EQL)
The script automatically identifies EQH/EQL using:
Percentage threshold
Confirmation bar count
Useful for:
Liquidity sweep setups
Inducement
Stop runs
6๏ธโฃ Multi-Timeframe Dashboard
Displays Internal & External structure for:
D (Daily)
H4
H1
M15
M5
Each cell is color-coded:
๐ข Bullish
๐ด Bearish
โช Neutral
This gives you instant top-down analysis without switching charts.
๐ What You Can Use This Indicator For
โ Trend Trading
Keep trades aligned with:
Higher timeframe external trend
Lower timeframe internal entries
For example:
Daily โ Bullish
H1 โ Bullish
M5 โ CHoCH bullish
Entry โ Pullback to strong low
โ Scalping
Internal structure (i-BOS, i-CHoCH) gives:
Fast reversals
Micro CHoCH entries
High-frequency trend shifts
Works extremely well on 1Mโ5M.
โ Smart Money Concepts Trading
This indicator gives every SMC component you need:
Liquidity (EQH/EQL)
Swing structure
Internal structure
BOS/CHoCH
Strong/Weak High/Low
Multi-TF context
Perfect for ICT/SMC trading style.
โ Institutional Order Flow Mapping
Using strong/weak highs/lows and BOS, you can easily determine:
Where smart money targets your stops
Where displacement started
Where structure shifted
Where mitigation may occur
โ High-Timeframe Confirmation
The dashboard prevents you from trading against:
Daily trend
H4 liquidity levels
H1 structure direction
๐ Who Is This Indicator For?
Beginners
Learn structure visually instead of guessing.
Advanced Traders
Combine structure with:
Liquidity sweeps
FVG
OB
Breaker blocks
Momentum shifts
Scalpers
Use internal BOS/CHoCH for sniper entries.
Swing Traders
Use swing BOS to hold trades for large R:R moves.
ICT / SMC Traders
Perfect for order-block & FVG models.
๐ Recommended Settings
Swing Structure
Length: 50โ100
Best for BTC, FX, XAU
Internal Structure
Length: 3โ7
Best for scalping
EQ Threshold
FX: 0.10% โ 0.25%
Crypto: 0.35% โ 0.5%
Confirm Method
Close = safer
Wick = aggressive (scalping)
๐งฉ Unique Features (Compared to Other Indicators)
โ Advanced gap-proof pivot engine
โ Proper historical vs. present structure mode
โ ATR-filtered internal pivots
โ Smart confluence filter (detect candle context)
โ Chart remains clean & minimal
โ Works on all timeframes including 1-second
โ No repaint structure
โ Optimised for high-volatility assets like XAUUSD
๐ Final Notes
This indicator was engineered to give traders a complete structure toolkit with professional-grade accuracy normally found only in premium paid tools.
With:
Clean BOS/CHoCH
Perfect swing tracking
Full multi-TF dashboard
Smart liquidity detection
Strong/weak level mapping
You can analyse any market with clarity and confidence.
๐ถ Overview
Ultimate Market Structure + MTF Dashboard is a fully-automated Smart Money Concepts (SMC) market-structure indicator designed to give traders extremely clean and accurate structural mapping on any timeframe.
It intelligently detects:
External (Swing) Structure
Internal Structure
BOS / CHoCH (Break of Structure / Change of Character)
HH/HL/LH/LL swing labels
Strong/Weak Highs & Lows
Equal Highs (EQH) & Equal Lows (EQL)
Internal BOS/CHoCH (micro-structure)
Multi-Timeframe Structure Dashboard (D, H4, H1, M15, M5)
This indicator eliminates clutter, repaints nothing, and provides crystal-clear visual understanding of market direction.
๐ฏ What This Indicator Solves
Most structure indicators fail because they:
โ spam BOS/CHoCH everywhere
โ repaint pivots
โ mix internal and external structure
โ draw messy lines
โ ignore confluence
โ donโt show higher timeframe structure
This script solves all of that by using:
Gap-proof pivot detection
Strict internal/external structure separation
Proper BOS/CHoCH logic using previous break
โLastBreak memoryโ system (no double BOS on same leg)
ATR-filtered internal pivots
Candle-context confluence filter
User-controlled filters for BOS/CHoCH only
Everything is designed for clean, reliable structure.
๐ง How It Works (Logic Explained Clearly)
1๏ธโฃ Swing Structure โ External
Based on user-defined swing length (default: 50).
Detects major turning points and evaluates:
HH / HL โ Bullish structure
LH / LL โ Bearish structure
Once a swing high/low is confirmed, the indicator tracks:
Has price crossed that pivot?
If yes โ BOS or CHoCH depending on previous break direction.
2๏ธโฃ Internal Structure โ Micro Trend
A second layer using small length pivots (default: 5).
Useful for:
Entries
Scalp-level reversals
Early CHoCH detection
Internal structure uses ATR distance from swing pivots to avoid overlap.
3๏ธโฃ BOS / CHoCH Logic
The script uses a very strict rule:
If previous break direction was opposite โ CHoCH
If previous break direction was same โ BOS
This eliminates false CHoCH spam and improves trend clarity.
4๏ธโฃ Strong & Weak High/Low Detection
Each time a BOS occurs:
In bearish trend โ last swing high = Strong High
In bullish trend โ last swing low = Strong Low
Opposite becomes Weak High/Weak Low
These are important Smart Money Concepts levels for:
Premium/discount zones
Liquidity targets
Stop hunts
5๏ธโฃ Equal Highs & Equal Lows (EQH/EQL)
The script automatically identifies EQH/EQL using:
Percentage threshold
Confirmation bar count
Useful for:
Liquidity sweep setups
Inducement
Stop runs
6๏ธโฃ Multi-Timeframe Dashboard
Displays Internal & External structure for:
D (Daily)
H4
H1
M15
M5
Each cell is color-coded:
๐ข Bullish
๐ด Bearish
โช Neutral
This gives you instant top-down analysis without switching charts.
๐ What You Can Use This Indicator For
โ Trend Trading
Keep trades aligned with:
Higher timeframe external trend
Lower timeframe internal entries
For example:
Daily โ Bullish
H1 โ Bullish
M5 โ CHoCH bullish
Entry โ Pullback to strong low
โ Scalping
Internal structure (i-BOS, i-CHoCH) gives:
Fast reversals
Micro CHoCH entries
High-frequency trend shifts
Works extremely well on 1Mโ5M.
โ Smart Money Concepts Trading
This indicator gives every SMC component you need:
Liquidity (EQH/EQL)
Swing structure
Internal structure
BOS/CHoCH
Strong/Weak High/Low
Multi-TF context
Perfect for ICT/SMC trading style.
โ Institutional Order Flow Mapping
Using strong/weak highs/lows and BOS, you can easily determine:
Where smart money targets your stops
Where displacement started
Where structure shifted
Where mitigation may occur
โ High-Timeframe Confirmation
The dashboard prevents you from trading against:
Daily trend
H4 liquidity levels
H1 structure direction
๐ Who Is This Indicator For?
Beginners
Learn structure visually instead of guessing.
Advanced Traders
Combine structure with:
Liquidity sweeps
FVG
OB
Breaker blocks
Momentum shifts
Scalpers
Use internal BOS/CHoCH for sniper entries.
Swing Traders
Use swing BOS to hold trades for large R:R moves.
ICT / SMC Traders
Perfect for order-block & FVG models.
๐ Recommended Settings
Swing Structure
Length: 50โ100
Best for BTC, FX, XAU
Internal Structure
Length: 3โ7
Best for scalping
EQ Threshold
FX: 0.10% โ 0.25%
Crypto: 0.35% โ 0.5%
Confirm Method
Close = safer
Wick = aggressive (scalping)
๐งฉ Unique Features (Compared to Other Indicators)
โ Advanced gap-proof pivot engine
โ Proper historical vs. present structure mode
โ ATR-filtered internal pivots
โ Smart confluence filter (detect candle context)
โ Chart remains clean & minimal
โ Works on all timeframes including 1-second
โ No repaint structure
โ Optimised for high-volatility assets like XAUUSD
๐ Final Notes
This indicator was engineered to give traders a complete structure toolkit with professional-grade accuracy normally found only in premium paid tools.
With:
Clean BOS/CHoCH
Perfect swing tracking
Full multi-TF dashboard
Smart liquidity detection
Strong/weak level mapping
You can analyse any market with clarity and confidence.
Catatan Rilis
What this indicator doesThis script is a complete market structure suite built around clean Smart Money / swing logic:
External swing structure with BOS / CHoCH lines
Internal structure for finer intraday moves
HH / HL / LH / LL swing labels (optional)
Strong / Weak Highs & Lows auto-extended as live S/R
Equal Highs / Lows (EQH / EQL) liquidity levels
Multi-Timeframe Market Structure Dashboard (D, H4, H1, M15, M5)
Optional Micro Reversal BUY / SELL signals with two modes:
Mode A โ Early (aggressive, first reaction after liquidity sweep)
Mode B โ Safer (requires stronger confirmation after the sweep)
The main idea:
Use the structure engine to understand where price is in the trend, and use the micro-reversal engine only to time entries at the extremes (bottoms for buys, tops for sells).
๐น Core logic โ Market Structure Engine
1. External Swing Structure (BOS / CHoCH)
Uses a custom gap-proof pivot detection (phExt/plExt) with swingLength.
Marks major swing highs/lows and tracks when price breaks them.
At a break, it classifies the move as:
BOS (Break of Structure) โ continuation of current trend
CHoCH (Change of Character) โ potential trend reversal
You can choose confirmation method:
Close above/below the pivot
Wick touch above/below
You can filter what you see:
Bullish swings: All / BOS only / CHoCH only
Bearish swings: All / BOS only / CHoCH only
Lines are drawn at the broken pivot price with labels โBOSโ or โCHoCHโ, in your chosen colors & styles.
2. Internal Structure (i-BOS / i-CHoCH)
Uses shorter pivots (internalLength) to track internal leg structure.
Same BOS/CHoCH logic, but applied to internal highs/lows.
Optional Confluence Filter:
Bullish internal pivots only accepted on strong bullish candles.
Bearish internal pivots only accepted on strong bearish candles.
This removes a lot of noise inside ranges.
3. Swing Points (HH / HL / LH / LL)
For both swing and internal structures, the indicator can label:
HH โ Higher High
HL โ Higher Low
LH โ Lower High
LL โ Lower Low
These help you quickly read trend progression visually.
4. Strong / Weak Highs & Lows
The script tracks trailing high/low levels and labels them dynamically:
In a downtrend, recent highs tend to act as Strong Highs, and lows become Weak Lows.
In an uptrend, recent lows become Strong Lows, and highs become Weak Highs.
These levels are extended to the right and labeled, giving you auto S/R levels that align with the actual structure context.
5. Equal Highs & Lows (EQH / EQL)
When two swing highs (or lows) are within a configurable percentage threshold (eqThreshold) and separated by at least eqConfirmBars candles, the script marks them as:
EQH โ Equal Highs (potential liquidity pool above)
EQL โ Equal Lows (potential liquidity pool below)
This is useful for spotting liquidity resting above/under clean double tops/double bottoms.
๐น Multi-Timeframe Dashboard
The built-in dashboard shows internal + external structure direction across:
D, H4, H1, M15, M5
For each timeframe it calculates if structure is:
Bullish (making HH + HL or general up progression)
Bearish (making LH + LL or general down progression)
Neutral (no clear structure yet)
Cells are color-coded:
Green โ Bullish
Red โ Bearish
Gray โ Neutral
You can move the dashboard to any corner of the chart and customize swing lengths used for the dashboard via:
dashExtLength (external)
dashIntLength (internal)
Use this as your HTF bias filter โ only take buys when higher-timeframe structure is bullish, and only take sells when itโs bearish.
๐น Micro Reversal Engine (BUY/SELL signals)
On top of the clean structure, the script has an optional micro reversal module designed to catch short-term turns around key levels.
Inputs (Micro Group):
Enable Micro Reversal Signals โ master toggle
Mode: A Early / B Safer / Off
Signal Display Style โ Arrow / Text / Box / Arrow + Text
Buy Label Color, Sell Label Color
Bars Between Signals โ anti-spam filter
Core logic:
Liquidity Sweeps
Bullish side: sweepLow = low < low[1] or low < low[2]
Bearish side: sweepHigh = high > high[1] or high > high[2]
โ This checks for stop hunts / liquidity grabs on recent lows or highs.
Candle Direction
bullish = close > open
bearish = close < open
Mode A โ Early (Aggressive)
BUY A: sweepLow + bullish candle
SELL A: sweepHigh + bearish candle
โ Fires on the first reaction candle after the sweep. Very early, more signals, more noise.
Mode B โ Safer (Filtered)
BUY B:
Sweep under prior lows
Bullish candle
Close above previous high
Body vs wick filtered using ATR ((close - low) > atr * 0.3)
SELL B:
Sweep above prior highs
Bearish candle
Close below previous low
Body vs wick filtered ((high - close) > atr * 0.3)
โ This requires strong rejection + follow-through, so fewer but cleaner signals.
Micro Mode Selector
microMode = "A" โ uses A logic
microMode = "B" โ uses B logic
microMode = "Off" โ no micro signals (pure market structure only)
Signal Display
Buys are drawn near lows
Sells are drawn near highs
You can show them as:
Arrows
Text (โBUYโ / โSELLโ)
Box
Arrow + Text
๐น How to use it (practical guide)
1. For pure Smart-Money market structure (no signals):
Set microMode = "Off"
โ You get only BOS/CHoCH, HH/HL/LH/LL, Strong/Weak levels, EQH/EQL, and the MTF dashboard.
This is the cleanest view if you just want to mark structure and trade manually.
2. For cleaner micro-reversal signals (recommended):
Use microMode = "B" (Safer)
Keep Bars Between Signals at 1 or 2 to avoid spamming multiple signals in a tight cluster.
Execution rules:
Only BUY near the bottom of the leg:
Micro BUY signal should appear close to a swing low, Strong Low level, or demand area.
Avoid buying when a BUY appears near the top of the move or near a Strong High / resistance.
Only SELL near the top of the leg:
Micro SELL signal should appear near swing highs, Strong High level, or supply area.
Avoid selling if the signal prints low in the leg or into obvious support.
Always respect the MTF dashboard:
If D/H4/H1 are all bullish โ focus on BUYS only.
If D/H4/H1 are all bearish โ focus on SELLS only.
The indicator is meant to give you structure first, and signals only as confirmation, never the other way around.
๐น Timeframes & Markets
Designed around XAUUSD, but works on any FX / indices / crypto.
Best used on M5โM15 for micro entries, with H1/H4/D providing the higher-timeframe structure on the dashboard.
๐น Disclaimer
This indicator does not guarantee 90% win rate and is not financial advice.
Itโs a tool to visualize structure, liquidity, and potential reversal points.
Always combine with your own risk management and forward testing before trading live.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun โ pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun โ pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.