OPEN-SOURCE SCRIPT
NY Macro Status

Description:
A clean, chart-free way to track ICT macro time windows during the New York session. Instead of drawing boxes or shading across price, the script places a small status panel in the top-right corner that tells you what you actually need to know: whether a macro is running right now, which one, when it ends, and when the next one starts.
How it works
The panel reads the live clock in New York time and compares it against your list of macro windows.
When a macro is active, the panel turns green and shows the macro's name, its end time, and how many minutes remain.
When no macro is active, it shows the name and start time of the next macro and a countdown to it.
The current New York time is displayed on the bottom row (optional).
The panel updates every tick regardless of chart timeframe, so it works on 1-second, 1-minute, or 5-minute charts.
Macro windows
Eight fully editable slots. Each has an on/off toggle, a name, a start time, and an end time. Times are entered in plain 12-hour format — type 9:50 AM and 10:10 AM, no session strings or 24-hour math. If you omit AM/PM, hours before 8 are treated as PM so 1:10 – 1:40 reads correctly.
Defaults are the commonly referenced ICT New York macros: 8:50–9:10, 9:50–10:10, 10:50–11:10, 11:50–12:10 (lunch), 12:50–1:10, 1:10–1:40, 3:15–3:45, and an optional 3:50–4:10. Change, rename, or disable any of them.
Vertical lines (optional, off by default)
If you want the windows marked on the chart, turn on vertical lines. Start and end lines have independent colors; style (solid/dashed/dotted), width, and how many days of history to keep are all adjustable. Weekends are skipped.
Display options
Text size (small to huge), active color, idle color, text color, border color. Both the "next macro" row and the current-time row can be hidden for a minimal panel.
Notes
Macro times are user-defined; the defaults are a starting point, not a recommendation.
The script draws nothing on price unless vertical lines are enabled.
No repainting — it reads wall-clock time, not bar data.
A clean, chart-free way to track ICT macro time windows during the New York session. Instead of drawing boxes or shading across price, the script places a small status panel in the top-right corner that tells you what you actually need to know: whether a macro is running right now, which one, when it ends, and when the next one starts.
How it works
The panel reads the live clock in New York time and compares it against your list of macro windows.
When a macro is active, the panel turns green and shows the macro's name, its end time, and how many minutes remain.
When no macro is active, it shows the name and start time of the next macro and a countdown to it.
The current New York time is displayed on the bottom row (optional).
The panel updates every tick regardless of chart timeframe, so it works on 1-second, 1-minute, or 5-minute charts.
Macro windows
Eight fully editable slots. Each has an on/off toggle, a name, a start time, and an end time. Times are entered in plain 12-hour format — type 9:50 AM and 10:10 AM, no session strings or 24-hour math. If you omit AM/PM, hours before 8 are treated as PM so 1:10 – 1:40 reads correctly.
Defaults are the commonly referenced ICT New York macros: 8:50–9:10, 9:50–10:10, 10:50–11:10, 11:50–12:10 (lunch), 12:50–1:10, 1:10–1:40, 3:15–3:45, and an optional 3:50–4:10. Change, rename, or disable any of them.
Vertical lines (optional, off by default)
If you want the windows marked on the chart, turn on vertical lines. Start and end lines have independent colors; style (solid/dashed/dotted), width, and how many days of history to keep are all adjustable. Weekends are skipped.
Display options
Text size (small to huge), active color, idle color, text color, border color. Both the "next macro" row and the current-time row can be hidden for a minimal panel.
Notes
Macro times are user-defined; the defaults are a starting point, not a recommendation.
The script draws nothing on price unless vertical lines are enabled.
No repainting — it reads wall-clock time, not bar data.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.