OPEN-SOURCE SCRIPT
ICT Macro Tracker | Multi-TF

This indicator extends the ICT Macro boundaries to different timeframe, not just the traditionally known 10min to 10min hourly window.
From 1-Hour to Monthly, each candle will close → open.
During this handoff is where the new OHLC sequence begins and liquidity seeks / rebalances inefficiencies.
Built on the foundation of toodegrees ICT Algorithmic Macro Tracker°.
Extended to track candle boundary macros across multi-timeframe tiers with automatic timeframe alignment, session filtering, H/L tracking, and a full alert system.
💠 MACRO OHLC CONCEPT
Every candle must close before the next one opens. That transition is where the algorithm seeks liquidity or rebalances price.
One hour divides into four 15-minute candles, each maps to a leg of the OHLC sequence: Open, High (or Low), Low (or High), Close.
The traditional ICT macro captures a 20-minute window: last 10 minutes of the closing candle, first 10 of the new one.
Extend that to 15 minutes each side and the window now aligns with the full 15-minute OHLC legs. The close completing its delivery and the open beginning its new sequence.
This principle is fractal. The same close → open handoff applies at every timeframe:
Macro Breakdown
Monthly Macro → Daily
Last week of old month → First week of new month · ~10 trading days
Weekly Macro → 4-Hour
Thu / Fri → Mon / Tue · ~2.5 days
Daily Macro → 1-Hour
Last 6H of closing day → First 6H of new day · ~12 hours
4-Hour Macro → 15-Min
Last 1H of closing 4H → First 1H of new 4H · ~2 hours
1-Hour Macro → 1-Min
Last 15min of closing hour → First 15min of new hour · ~30 min
💠 FEATURES
Multi-Timeframe Macro Tiers
– 1H Macros: brackets at every hourly boundary (XX:45–XX:15 or XX:50–XX:10)
– 4H Macros: brackets at 4-hour boundaries (Full: 2H window / Half: 1H window)
– Daily Macros: brackets at daily boundaries (Full: 12H / Half: 6H)
– Weekly Macros: single bracket straddling the weekend
– Monthly Macros: single bracket straddling the month boundary
Auto
– Auto TF Alignment: automatically shows the right tier for your chart timeframe
≤3m → 1H · 5m → 4H · 15m → Daily · 1H → Weekly · 4H → Monthly
– Auto Futures Detection: aligns boundaries to exchange times (CME 6PM) or midnight based on symbol type
– Custom mode for manual control over all tiers and visibility
Visuals
– 50% temporal midpoint line marking the old close / new open transition
– H/L tracking with extending lines that detect mitigation (price breaks the level)
– H/L modes: "All" (every macro gets lines) or "Most Recent" (last completed only)
– Above/Below bracket positioning
– Tiered lane display — multiple active tiers stack vertically without overlapping
– Session filtering: toggle Asia, London, NY AM, NY PM independently per tier
Alerts
– On Open / On 50% / On Close for any active macro
– Pre-Alert and Pre-50% with configurable advance time (1min to Daily)
– Compatible with TradingView's "Any alert() function call"
💠 SETTINGS
📐 Settings
– Macros: main on/off toggle
– Above / Below: bracket display position relative to price
– 50%: show/hide temporal midpoint line
– H/L: toggle macro high/low tracking lines
– H/L Mode: "All" shows lines for every macro, "Most Recent" shows only the last completed
– TF Alignment: "Auto" assigns one tier per chart timeframe, "Custom" gives full manual control
– Futures: "Auto" detects via symbol type, "On" forces exchange-aligned boundaries (4H: 2,6,10,14,18,22 / Daily: 6PM), "Off" forces midnight-aligned
⏱ Intraday Macros
– 1H Macro: enable/disable, window size (15min: 30-min bracket or 10min: 20-min bracket), colour
– Session toggles: Asia (5pm–12am), London (12am–6am), NY AM (6am–12pm), NY PM (12pm–5pm)
– Apply Below: restrict 1H macros to chart timeframes at or below this setting
– 4H Macro: enable/disable, window size (Full: 1H+1H or Half: 30m+30m), colour
– 4H Session toggles with futures-aware boundary hours
– 4H Apply Below
📅 HTF Macros
– Daily Macro: enable/disable, window (Full: 6H+6H / Half: 3H+3H), colour, Apply Below
– Weekly Macro: enable/disable, window (Full: Thu–Tue / Half: Fri–Mon), colour, Apply Below
– Monthly Macro: enable/disable, window (Full: 7+7 days / Half: 3+3 days), colour, Apply Below
🔔 Alerts
– On Open / On 50% / On Close
– Advance: how far ahead pre-alerts fire (1min, 5min, 15min, 30min, 1H, 4H, Daily)
– Pre-Alert / Pre-50%: fires before the macro opens or reaches midpoint
💠USAGE
Start with Auto mode, it picks the right macro tier for your chart timeframe automatically.
Recommended starting points:
– 1-min to 3-min chart → 1H macros (every hourly boundary)
– 5-min chart → 4H macros (session-level boundaries)
– 15-min chart → Daily macros
– 1-hour chart → Weekly macros
– 4-hour chart → Monthly macros
Switch to Custom mode when you want multiple tiers visible at once or need fine control over which sessions and timeframes appear.
The bracket shows the macro time window. The 50% midpoint marks where the old candle's close transitions to the new candle's open. H/L lines mark where liquidity was created during the macro, watch for price to return and mitigate those levels.
Hover over any bracket label for detailed tooltip information including the exact time range, session, window size, and futures/midnight alignment.
💠ATTRIBUTION & OPEN SOURCE
Built on toodegrees open-source ICT Algorithmic Macro Tracker°.
Massive thanks to toodegrees for making the code open source.
Disclaimer
This tool is for educational purposes only and is not financial advice. Users assume full responsibility for their trading decisions. Past performance does not guarantee future results.
From 1-Hour to Monthly, each candle will close → open.
During this handoff is where the new OHLC sequence begins and liquidity seeks / rebalances inefficiencies.
Built on the foundation of toodegrees ICT Algorithmic Macro Tracker°.
Extended to track candle boundary macros across multi-timeframe tiers with automatic timeframe alignment, session filtering, H/L tracking, and a full alert system.
💠 MACRO OHLC CONCEPT
Every candle must close before the next one opens. That transition is where the algorithm seeks liquidity or rebalances price.
One hour divides into four 15-minute candles, each maps to a leg of the OHLC sequence: Open, High (or Low), Low (or High), Close.
The traditional ICT macro captures a 20-minute window: last 10 minutes of the closing candle, first 10 of the new one.
Extend that to 15 minutes each side and the window now aligns with the full 15-minute OHLC legs. The close completing its delivery and the open beginning its new sequence.
This principle is fractal. The same close → open handoff applies at every timeframe:
Macro Breakdown
Monthly Macro → Daily
Last week of old month → First week of new month · ~10 trading days
Weekly Macro → 4-Hour
Thu / Fri → Mon / Tue · ~2.5 days
Daily Macro → 1-Hour
Last 6H of closing day → First 6H of new day · ~12 hours
4-Hour Macro → 15-Min
Last 1H of closing 4H → First 1H of new 4H · ~2 hours
1-Hour Macro → 1-Min
Last 15min of closing hour → First 15min of new hour · ~30 min
💠 FEATURES
Multi-Timeframe Macro Tiers
– 1H Macros: brackets at every hourly boundary (XX:45–XX:15 or XX:50–XX:10)
– 4H Macros: brackets at 4-hour boundaries (Full: 2H window / Half: 1H window)
– Daily Macros: brackets at daily boundaries (Full: 12H / Half: 6H)
– Weekly Macros: single bracket straddling the weekend
– Monthly Macros: single bracket straddling the month boundary
Auto
– Auto TF Alignment: automatically shows the right tier for your chart timeframe
≤3m → 1H · 5m → 4H · 15m → Daily · 1H → Weekly · 4H → Monthly
– Auto Futures Detection: aligns boundaries to exchange times (CME 6PM) or midnight based on symbol type
– Custom mode for manual control over all tiers and visibility
Visuals
– 50% temporal midpoint line marking the old close / new open transition
– H/L tracking with extending lines that detect mitigation (price breaks the level)
– H/L modes: "All" (every macro gets lines) or "Most Recent" (last completed only)
– Above/Below bracket positioning
– Tiered lane display — multiple active tiers stack vertically without overlapping
– Session filtering: toggle Asia, London, NY AM, NY PM independently per tier
Alerts
– On Open / On 50% / On Close for any active macro
– Pre-Alert and Pre-50% with configurable advance time (1min to Daily)
– Compatible with TradingView's "Any alert() function call"
💠 SETTINGS
📐 Settings
– Macros: main on/off toggle
– Above / Below: bracket display position relative to price
– 50%: show/hide temporal midpoint line
– H/L: toggle macro high/low tracking lines
– H/L Mode: "All" shows lines for every macro, "Most Recent" shows only the last completed
– TF Alignment: "Auto" assigns one tier per chart timeframe, "Custom" gives full manual control
– Futures: "Auto" detects via symbol type, "On" forces exchange-aligned boundaries (4H: 2,6,10,14,18,22 / Daily: 6PM), "Off" forces midnight-aligned
⏱ Intraday Macros
– 1H Macro: enable/disable, window size (15min: 30-min bracket or 10min: 20-min bracket), colour
– Session toggles: Asia (5pm–12am), London (12am–6am), NY AM (6am–12pm), NY PM (12pm–5pm)
– Apply Below: restrict 1H macros to chart timeframes at or below this setting
– 4H Macro: enable/disable, window size (Full: 1H+1H or Half: 30m+30m), colour
– 4H Session toggles with futures-aware boundary hours
– 4H Apply Below
📅 HTF Macros
– Daily Macro: enable/disable, window (Full: 6H+6H / Half: 3H+3H), colour, Apply Below
– Weekly Macro: enable/disable, window (Full: Thu–Tue / Half: Fri–Mon), colour, Apply Below
– Monthly Macro: enable/disable, window (Full: 7+7 days / Half: 3+3 days), colour, Apply Below
🔔 Alerts
– On Open / On 50% / On Close
– Advance: how far ahead pre-alerts fire (1min, 5min, 15min, 30min, 1H, 4H, Daily)
– Pre-Alert / Pre-50%: fires before the macro opens or reaches midpoint
💠USAGE
Start with Auto mode, it picks the right macro tier for your chart timeframe automatically.
Recommended starting points:
– 1-min to 3-min chart → 1H macros (every hourly boundary)
– 5-min chart → 4H macros (session-level boundaries)
– 15-min chart → Daily macros
– 1-hour chart → Weekly macros
– 4-hour chart → Monthly macros
Switch to Custom mode when you want multiple tiers visible at once or need fine control over which sessions and timeframes appear.
The bracket shows the macro time window. The 50% midpoint marks where the old candle's close transitions to the new candle's open. H/L lines mark where liquidity was created during the macro, watch for price to return and mitigate those levels.
Hover over any bracket label for detailed tooltip information including the exact time range, session, window size, and futures/midnight alignment.
💠ATTRIBUTION & OPEN SOURCE
Built on toodegrees open-source ICT Algorithmic Macro Tracker°.
Massive thanks to toodegrees for making the code open source.
Disclaimer
This tool is for educational purposes only and is not financial advice. Users assume full responsibility for their trading decisions. Past performance does not guarantee future results.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.