OPEN-SOURCE SCRIPT
Macro Timing Window Signal

⏱️ Macro Timing Window Signal – Check/X Indicator
This indicator displays a green check mark ✔️ or red X ✖️ in the top-right corner of the chart based on a repeating macro time cycle that divides every hour into active and inactive windows.
How it works:
• ✔️ Green Check (Active Macro Window):
Appears from xx:45 → xx:15 of the next hour (30-minute macro window).
• ✖️ Red X (Inactive Macro Window):
Appears from xx:16 → xx:44 (mid-hour cooldown window).
• Optional flash signal at the exact macro flip points (xx:45, xx:00, xx:15) to highlight transitions.
• Supports sound alerts so you never miss the start or end of a macro window.
This tool is designed for traders who incorporate macro-driven time cycles, liquidity sessions, or algorithmic delivery windows into their strategy.
The display is fixed on-screen, clean, and unobtrusive, ensuring instant recognition of the current macro state without cluttering the chart.
This indicator displays a green check mark ✔️ or red X ✖️ in the top-right corner of the chart based on a repeating macro time cycle that divides every hour into active and inactive windows.
How it works:
• ✔️ Green Check (Active Macro Window):
Appears from xx:45 → xx:15 of the next hour (30-minute macro window).
• ✖️ Red X (Inactive Macro Window):
Appears from xx:16 → xx:44 (mid-hour cooldown window).
• Optional flash signal at the exact macro flip points (xx:45, xx:00, xx:15) to highlight transitions.
• Supports sound alerts so you never miss the start or end of a macro window.
This tool is designed for traders who incorporate macro-driven time cycles, liquidity sessions, or algorithmic delivery windows into their strategy.
The display is fixed on-screen, clean, and unobtrusive, ensuring instant recognition of the current macro state without cluttering the chart.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.