PROTECTED SOURCE SCRIPT
Updated ICT Multi-Timeframe Market Structure Tracker [SwissAlgo]

ICT Multi-Timeframe Market Structure Tracker [SwissAlgo]
Tracks the ICT market structure across three core timeframes (1-Week, 1-Day, 1-Hour) simultaneously.
----------------------------------------------------------------------
Why this Indicator?
You know market structure matters, whether you trade stocks, Forex, commodities, or crypto.
You've studied ICT concepts - "Change of Character", "Break of Structure", "Premium/discount zones". You understand that multi-timeframe alignment is where the edge lives.
But here's what's probably happening while you apply the ICT concepts for your trading decisions:
By the time you've mapped it all out, the setup is gone. Or worse, you missed that the 1-hour just broke the structure while you were checking the weekly bias.
What about seeing all three timeframes at once instead? You need to know immediately when the price enters a premium or discount zone. You need alerts that fire when structure breaks or character changes - across all timeframes - without babysitting your screen.
----------------------------------------------------------------------
The Indicator, at a Glance
This indicator:
The 1-Week View: Mid-Term Trend Bias for lower timeframes

The 1-Day View: Swings nested within the 1-Week Structure

The 1-Hour View: Swings nested within the 1-Day Structure

One glance tells you:
* Current trend direction per timeframe
* Exact Fib zone price is trading right now
* Whether the structure just broke or the character changed
* If you're in a potential long/short setup zone
The indicator helps you reduce chart-hopping, manual calculations, and minimize the missed structural shifts.
----------------------------------------------------------------------
Who is this for?
This tool is built for day traders who understand ICT concepts and need efficient multi-timeframe structure tracking. If you know what a Change of Character is, why 0.382-0.5 retracements matter in uptrends, and how to trade external structure, this indicator eliminates the manual structure tracking so you can focus on confirming and executing your trading tactics.
New to ICT? This indicator assumes foundational knowledge of the Inner Circle Trader methodology developed by Michael J. Huddleston. Before using this tool, familiarize yourself with concepts like market structure breaks, premium/discount arrays, and liquidity engineering. The ICT framework offers a unique perspective on institutional order flow and price action - but this indicator is designed for those already applying these concepts, not learning them for the first time.
Critical Skill Required: You must understand the difference between external structure (key swing highs/lows that define market direction) and internal structure (minor fluctuations within the range).
Selecting incorrect pivots - such as marking internal noise instead of true structural points - will generate false signals and undermine the entire analysis. This indicator tracks structure based on YOUR inputs. If those inputs are wrong, every Fibonacci level, alert, and bias signal will be wrong. Learn to identify clean structural breaks before using this tool.
Trading Experience Matters: This tool tracks structure and fires alerts, but interpreting those signals requires understanding context, confluences, and risk management. If you're early in your trading journey, consider this a professional-grade instrument that becomes powerful once you have the conceptual foundation to use it effectively.
----------------------------------------------------------------------
How It Works
Step 1: Define Your Structure
You, the ICT expert or student, define the structural high and low for each timeframe, with their exact dates. This empowers you to control the analysis.
Based on your entries, the indicator establishes trend direction by timeframe and calculates Fibonacci retracement levels automatically.
* Structural High/Low: Key swing points that define external structure per ICT methodology
* Auto-Validation: Built-in autoscan feature confirms your pivot entries match actual price extremes
* Deterministic Behavior: Date stamps ensure the indicator behaves consistently across all sessions

Step 2: Monitor The Tables
Two tables provide a structural context:
Multi-Timeframe Analysis Table (top-right):

Detailed Fibonacci Table (middle-right):

Step 3: Monitor The Chart
Visual elements show structure at a glance:

Auto-pivot points

Step 4: Get Alerts and Decide the Way Forward
Set one alert on the 1-hour chart only (if you set the alert on other timeframes, you may get delayed feedback).
You'll receive notifications when ANY of these events occur on ANY timeframe:
* Change of Character (ChoC): Trend reversal confirmed by price breaking the opposite structural level
* Break of Structure (BoS): Continuation confirmed by price breaking the same-direction structural level
* Trade Bias Signals: Price entering key Fibonacci zones (0.382-0.5 for longs in uptrend, 0.5-0.618 for shorts in downtrend, with + and ++ variants for deeper retracements)
* Reversal Warnings: Price entering extreme zones (0.882-1.0 or 0.0-0.118), suggesting potential trend exhaustion and reversal towards the opposite direction

All alerts fire once per bar close with a consolidated message showing which timeframes triggered and what conditions were met.
----------------------------------------------------------------------
Understanding the 3 Timeframes Hierarchy
The three timeframes may be conceived as nested layers of structure:
* 1-Week (Macro Bias): May help you determine your core directional bias (long/short) in a mid-term perspective. The 1-Week TF may operate as your highest-conviction filter and help you contextualize shorter-term market moves (which may align or misalign with the trend appearing on such a timeframe).
* 1-Day (Swing Structure): Operates within the weekly range. The daily structure can contradict the weekly structure temporarily (due to retracements, consolidations). This is where you may identify intermediate swing opportunities.
* 1-Hour (Execution Structure): Operates within the daily range. It may help you identify entry timing and short-term bias. Can show opposite trends during retracements, and some traders look for alignment with higher timeframes as part of their setup criteria.
Example: Weekly uptrend (bullish bias) → Daily pulls back into downtrend (retracement phase) → Hourly shows uptrend resumption (this may be interpreted as an entry signal). All three trends can differ simultaneously, but when all three align (in one direction or another), you may start evaluating your moves.
----------------------------------------------------------------------
Using the Tool effectively
When this indicator signals a potential setup (entering key Fibonacci zones, structure breaks, or bias shifts), treat it as a starting point for deeper analysis, not a direct entry signal.
Before executing, consider using additional tools to refine timing:
This indicator shows you where the structure sits and when it shifts. Your job is to combine that context with precise entry models. The alerts narrow your focus to high-probability zones - then you apply your edge within those zones.
----------------------------------------------------------------------
How to Set Up Alerts
This indicator monitors all three timeframes simultaneously and fires consolidated alerts when any condition triggers. Follow these steps to configure alerts properly:
Step 1: Set Your Chart to the 1-Hour Timeframe
Step 2: Open the Alert Menu
Step 3: Configure Alert Settings
Step 4: Configure Notifications
Step 5: Create Alert
Important Notes:
Example Alert Message:
BTC Market Structure Alert:
🟢 1D Bullish BoS
📈 1H Long Setup (0.382-0.5)
This tells you the 1-Day broke structure bullishly AND the 1-Hour entered a long setup zone — both events happened on the same bar close.
----------------------------------------------------------------------
Key Features
* Tracks 1-Week, 1-Day, and 1-Hour structure simultaneously
* Automatic Fibonacci retracement calculation (9 levels + extensions up or down, depending on timeframe trend)
* Real-time Change of Character and Break of Structure detection
* Color-coded premium/discount zone visualization
* Multi-condition alerts across all timeframes (single alert setup required)
* Autoscan validation to confirm manual pivot entry accuracy
* Timezone-adjustable for global markets
----------------------------------------------------------------------
Important Notes
* Requires ICT Knowledge: This is not a plug-and-play system. Understanding market structure, liquidity concepts, and Fibonacci confluence is essential for effective use.
* Manual Structure Definition: You define the structural pivots. The indicator tracks and alerts - it doesn't make trading decisions.
* Chart Timeframe: Set alerts on the 1-hour chart for optimal timing across all three monitored timeframes.
----------------------------------------------------------------------
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial, investment, or trading advice.
The indicator:
* Makes no guarantees about future market performance
* Cannot predict market movements with certainty
* May generate false indications
* Relies on historical patterns that may not repeat
* Should not be used as the sole basis for trading decisions
Users are responsible for:
* Conducting independent research and analysis
* Understanding the risks of trading
* Making their own investment/divestment decisions
* Managing position sizes and risk exposure appropriately
Trading involves substantial risk and may not be suitable for all investors. Past performance does not guarantee future results. Users should only invest what they can afford to lose and consult qualified professionals before making financial decisions. The indicator’s assumptions may be invalidated by changing market conditions.
By using this tool, users acknowledge these limitations and accept full responsibility for their trading decisions.
Tracks the ICT market structure across three core timeframes (1-Week, 1-Day, 1-Hour) simultaneously.
----------------------------------------------------------------------
Why this Indicator?
You know market structure matters, whether you trade stocks, Forex, commodities, or crypto.
You've studied ICT concepts - "Change of Character", "Break of Structure", "Premium/discount zones". You understand that multi-timeframe alignment is where the edge lives.
But here's what's probably happening while you apply the ICT concepts for your trading decisions:
- You're manually drawing structural highs and lows across three timeframes
- You're calculating Fibonacci retracements by hand for each timeframe
- You're switching between weekly, daily, and hourly charts, trying to remember where each pivot was, trying to detect the critical events you're waiting for
By the time you've mapped it all out, the setup is gone. Or worse, you missed that the 1-hour just broke the structure while you were checking the weekly bias.
What about seeing all three timeframes at once instead? You need to know immediately when the price enters a premium or discount zone. You need alerts that fire when structure breaks or character changes - across all timeframes - without babysitting your screen.
----------------------------------------------------------------------
The Indicator, at a Glance
This indicator:
- tracks ICT market structure across three core timeframes (1-Week, 1-Day, 1-Hour) simultaneously.
- automatically plots Fibonacci retracement levels from your defined structural pivots
- monitors price position (during retracements) in real-time
- sends consolidated alerts when actionable events occur on any timeframe
The 1-Week View: Mid-Term Trend Bias for lower timeframes
The 1-Day View: Swings nested within the 1-Week Structure
The 1-Hour View: Swings nested within the 1-Day Structure
One glance tells you:
* Current trend direction per timeframe
* Exact Fib zone price is trading right now
* Whether the structure just broke or the character changed
* If you're in a potential long/short setup zone
The indicator helps you reduce chart-hopping, manual calculations, and minimize the missed structural shifts.
----------------------------------------------------------------------
Who is this for?
This tool is built for day traders who understand ICT concepts and need efficient multi-timeframe structure tracking. If you know what a Change of Character is, why 0.382-0.5 retracements matter in uptrends, and how to trade external structure, this indicator eliminates the manual structure tracking so you can focus on confirming and executing your trading tactics.
New to ICT? This indicator assumes foundational knowledge of the Inner Circle Trader methodology developed by Michael J. Huddleston. Before using this tool, familiarize yourself with concepts like market structure breaks, premium/discount arrays, and liquidity engineering. The ICT framework offers a unique perspective on institutional order flow and price action - but this indicator is designed for those already applying these concepts, not learning them for the first time.
Critical Skill Required: You must understand the difference between external structure (key swing highs/lows that define market direction) and internal structure (minor fluctuations within the range).
Selecting incorrect pivots - such as marking internal noise instead of true structural points - will generate false signals and undermine the entire analysis. This indicator tracks structure based on YOUR inputs. If those inputs are wrong, every Fibonacci level, alert, and bias signal will be wrong. Learn to identify clean structural breaks before using this tool.
Trading Experience Matters: This tool tracks structure and fires alerts, but interpreting those signals requires understanding context, confluences, and risk management. If you're early in your trading journey, consider this a professional-grade instrument that becomes powerful once you have the conceptual foundation to use it effectively.
----------------------------------------------------------------------
How It Works
Step 1: Define Your Structure
You, the ICT expert or student, define the structural high and low for each timeframe, with their exact dates. This empowers you to control the analysis.
Based on your entries, the indicator establishes trend direction by timeframe and calculates Fibonacci retracement levels automatically.
* Structural High/Low: Key swing points that define external structure per ICT methodology
* Auto-Validation: Built-in autoscan feature confirms your pivot entries match actual price extremes
* Deterministic Behavior: Date stamps ensure the indicator behaves consistently across all sessions
Step 2: Monitor The Tables
Two tables provide a structural context:
Multi-Timeframe Analysis Table (top-right):
- Current close, high, low, and 0.5 Fib for all three timeframes
- Trend direction (↑/↓)
- Days since structure established (i.e., "age" or maturity)
- Current Fibonacci zone
- Real-time alerts: Trend changes, breakouts, and trade bias signals
Detailed Fibonacci Table (middle-right):
- All nine Fib retracement levels (1.0 to 0.0) for the selected timeframe
- Exact price at each level
- Percentage distance from current price
- Visual marker showing current position
Step 3: Monitor The Chart
Visual elements show structure at a glance:
- Fibonacci Retracement Zones: Color-coded bands show premium (red), discount (green), and equilibrium (gray) areas based on trend direction
- Structural Lines: Red (high) and green (low) horizontal lines mark your defined pivots with automatic fill showing the current range (based on higher timeframe pivots)
- Pivot Dots: Optional small markers highlight potential structural turning points on your current timeframe (reference only - always validate pivots yourself)
- Trend Indicator: Top-center banner displays the selected timeframe's current trend
Auto-pivot points
Step 4: Get Alerts and Decide the Way Forward
Set one alert on the 1-hour chart only (if you set the alert on other timeframes, you may get delayed feedback).
You'll receive notifications when ANY of these events occur on ANY timeframe:
* Change of Character (ChoC): Trend reversal confirmed by price breaking the opposite structural level
* Break of Structure (BoS): Continuation confirmed by price breaking the same-direction structural level
* Trade Bias Signals: Price entering key Fibonacci zones (0.382-0.5 for longs in uptrend, 0.5-0.618 for shorts in downtrend, with + and ++ variants for deeper retracements)
* Reversal Warnings: Price entering extreme zones (0.882-1.0 or 0.0-0.118), suggesting potential trend exhaustion and reversal towards the opposite direction
All alerts fire once per bar close with a consolidated message showing which timeframes triggered and what conditions were met.
----------------------------------------------------------------------
Understanding the 3 Timeframes Hierarchy
The three timeframes may be conceived as nested layers of structure:
* 1-Week (Macro Bias): May help you determine your core directional bias (long/short) in a mid-term perspective. The 1-Week TF may operate as your highest-conviction filter and help you contextualize shorter-term market moves (which may align or misalign with the trend appearing on such a timeframe).
* 1-Day (Swing Structure): Operates within the weekly range. The daily structure can contradict the weekly structure temporarily (due to retracements, consolidations). This is where you may identify intermediate swing opportunities.
* 1-Hour (Execution Structure): Operates within the daily range. It may help you identify entry timing and short-term bias. Can show opposite trends during retracements, and some traders look for alignment with higher timeframes as part of their setup criteria.
Example: Weekly uptrend (bullish bias) → Daily pulls back into downtrend (retracement phase) → Hourly shows uptrend resumption (this may be interpreted as an entry signal). All three trends can differ simultaneously, but when all three align (in one direction or another), you may start evaluating your moves.
----------------------------------------------------------------------
Using the Tool effectively
When this indicator signals a potential setup (entering key Fibonacci zones, structure breaks, or bias shifts), treat it as a starting point for deeper analysis, not a direct entry signal.
Before executing, consider using additional tools to refine timing:
- Fair Value Gaps (FVG): Identify imbalances where the price moved too quickly, leaving potential fill zones
- Order Blocks: Locate the last opposing candle before a strong move - often institutional entry points
- Liquidity Zones: Map where stop losses likely cluster (equal highs/lows, round numbers)
- Premium/Discount Confirmation: Verify you're buying at a discount or selling at a premium relative to the current range
- Session Timing/Kill Zones: Align entries with high-liquidity sessions (London/New York opens)
This indicator shows you where the structure sits and when it shifts. Your job is to combine that context with precise entry models. The alerts narrow your focus to high-probability zones - then you apply your edge within those zones.
----------------------------------------------------------------------
How to Set Up Alerts
This indicator monitors all three timeframes simultaneously and fires consolidated alerts when any condition triggers. Follow these steps to configure alerts properly:
Step 1: Set Your Chart to the 1-Hour Timeframe
- Alerts must be created on the 1-hour chart for optimal timing
- Do not use higher timeframes (4H, 1D, 1W) or alerts may be delayed
- Lower timeframes (15M, 5M) will work but may generate more frequent notifications
Step 2: Open the Alert Menu
- Click the "Alert" button (clock icon) in the top toolbar
- Or use keyboard shortcut: Alt+A (Windows) / Option+A (Mac)
Step 3: Configure Alert Settings
- Condition: Select "ICT Multi-Timeframe Market Structure Tracker [SwissAlgo]"
- Alert Type: Choose "Any alert() function call"
- Options: Select "Once Per Bar Close"
- Expiration: Set to "Open-ended alert" (no expiration)
- Alert Name: Choose a descriptive name (e.g., "BTC Market Structure Alerts")
Step 4: Configure Notifications
- Notification Methods: Check your preferred channels (app notification, email, webhook, etc.)
- Sound: Optional — choose alert sound if desired
Step 5: Create Alert
- Click the "Create" button
- Alert is now active and will monitor all three timeframes
Important Notes:
- You only need ONE alert setup total — it monitors 1W, 1D, and 1H simultaneously
- Alert messages show which timeframe(s) triggered and what conditions were met
- Alerts fire once per bar close to avoid mid-bar noise
- If you change your structural pivot inputs, the alert continues working with new parameters
Example Alert Message:
BTC Market Structure Alert:
🟢 1D Bullish BoS
📈 1H Long Setup (0.382-0.5)
This tells you the 1-Day broke structure bullishly AND the 1-Hour entered a long setup zone — both events happened on the same bar close.
----------------------------------------------------------------------
Key Features
* Tracks 1-Week, 1-Day, and 1-Hour structure simultaneously
* Automatic Fibonacci retracement calculation (9 levels + extensions up or down, depending on timeframe trend)
* Real-time Change of Character and Break of Structure detection
* Color-coded premium/discount zone visualization
* Multi-condition alerts across all timeframes (single alert setup required)
* Autoscan validation to confirm manual pivot entry accuracy
* Timezone-adjustable for global markets
----------------------------------------------------------------------
Important Notes
* Requires ICT Knowledge: This is not a plug-and-play system. Understanding market structure, liquidity concepts, and Fibonacci confluence is essential for effective use.
* Manual Structure Definition: You define the structural pivots. The indicator tracks and alerts - it doesn't make trading decisions.
* Chart Timeframe: Set alerts on the 1-hour chart for optimal timing across all three monitored timeframes.
----------------------------------------------------------------------
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial, investment, or trading advice.
The indicator:
* Makes no guarantees about future market performance
* Cannot predict market movements with certainty
* May generate false indications
* Relies on historical patterns that may not repeat
* Should not be used as the sole basis for trading decisions
Users are responsible for:
* Conducting independent research and analysis
* Understanding the risks of trading
* Making their own investment/divestment decisions
* Managing position sizes and risk exposure appropriately
Trading involves substantial risk and may not be suitable for all investors. Past performance does not guarantee future results. Users should only invest what they can afford to lose and consult qualified professionals before making financial decisions. The indicator’s assumptions may be invalidated by changing market conditions.
By using this tool, users acknowledge these limitations and accept full responsibility for their trading decisions.
Release Notes
Fixed close price in tableRelease Notes
Updated the text of alert messages to make them more self-explanatoryRelease Notes
Fixed lookback for autovalidation on 1H (previous value may hit TV limits)Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.