OPEN-SOURCE SCRIPT
업데이트됨

ICT Killzones & Macros

314
ICT Killzones & Macros (v1.1.5) — configurable ICT session windows + refined “macro” windows with live High/Low levels, optional extensions, next-window previews, and lightweight opening-price lines. Built to be clock-robust, timezone-aware, and performant on intraday charts.

Tip: All times are interpreted in your chosen IANA timezone (default: America/New_York) and auto-handle DST. You can rename, recolor, enable/disable, and retime every window.


What it plots

- Killzones (5): Asia (19:00–02:00), London (02:00–05:00), NY AM (07:00–09:30), London Close (10:00–12:00), NY PM (13:30–16:00) — full-height boxes with optional header.

- Macros (8) (defaults tailored for common ICT “refined” windows): Asia-1 (18:00–21:00), Asia-2 (21:00–00:00), London-1 (01:00–04:00), AM-1 (09:45–10:15), AM-2 (10:45–11:15), Lunch (12:00–13:00), PM-1 (13:30–14:30), Power Hour (15:10–16:00).

- Live High/Low lines for the current Macro/Killzone window.

- Optional HL extension to the right until price crosses or the trading day rolls (style selectable).

- “Next” previews: earliest upcoming Macro and Killzone header; optional next-window background band.

- Opening Prices (3 lightweight time lines): defaults 00:00, 08:30, 09:30 with right-edge labels, scoped to a session you choose (auto-cleans at session end).

- Key inputs & styling

- General: Timezone (IANA), “Sessions to show” (per window) to keep only the last N completed windows.

- Header: height (ticks), gap (ticks), fill opacity, border width/style, text size/color, toggle “Next Macro/Killzone” headers.

- Boxes: global fill opacity, global border width/style (used by both Macros & Killzones).

- High/Low: show HL, HL line style, extend on/off + extension style, optional extension labels.

- Opening Prices: enable Time 1/2/3, set HH:MM for each, session window, per-line colors, style (dotted/dashed/solid), width.

- Per-window controls: each Macro/Killzone has Enable, Session (HHMM-HHMM), Label, Fill color.

How to use (quick start)

- Set Timezone to your preference (default America/New_York).

- Toggle on the Macros and Killzones you trade. Adjust session times if needed.

- (Optional) Turn on Extend High/Low to project levels until crossed/day-roll.

- (Optional) Enable Next… headers to see the next upcoming window at a glance.

- (Optional) Configure Opening Prices (00:00 / 08:30 / 09:30 by default) and the session over which they appear.

Behavior & notes

- Time windows are computed by clock, not by guessing bar timestamps, making them robust across brokers and timeframes.

- With HL extension on, the current window’s levels extend until crossed or the end of the trading day (in your timezone). With it off, completed windows keep static HL markers (limited by “Sessions to show”).

- “Sessions to show” applies per Macro/Killzone to automatically prune older windows and keep charts snappy.

- Opening-price lines exist only within the chosen “Opening Prices Session” and are removed when it ends (keeps charts clean).

Defaults (color cues)

Killzones: Asia (blue), London (purple), NY AM (green), London Close (yellow), NY PM (orange).

Macros: neutral greys with Lunch and PM accents out of the box (all customizable).

Performance tips

- Reduce “Sessions to show” if you scroll far back in history.

- Disable “Next…” previews and/or extension labels on very slow machines.

- Narrow the “Opening Prices Session” window to exactly when you need those lines.

Changelog highlights

- v1.1.5: Internal refinements and stability.

- v1.1.3: Live High/Low lines for current windows + optional extension.

- v1.1.2: Added “next Killzone” preview (to match “next Macro”).

- v1.1.0: Defaults updated (5 KZ, 8 Macros). Removed “snap-to-killzone” behavior.

- v1.0.0: Independent Macro vs. Killzone rendering; cleaner header logic.

- Known limitations

If your chart warns about drawings, trim “Sessions to show”.

If your broker session times differ from NY hours, adjust the sessions or change the indicator timezone.

Credits & intent

Inspired by ICT timing concepts; provided for education/mark-up, not financial advice.

Built to be flexible so you can mirror your personal playbook and journaling workflow.
릴리즈 노트
ICT Killzones & Macros (v1.2.0)
— configurable ICT session windows plus refined “macro” windows with live High/Low levels, optional extensions, next-window previews, and lightweight opening-price lines. Clock-accurate, timezone-aware, and designed for intraday performance.


Tip: All times honor your chosen IANA timezone (default America/New_York) and daylight saving automatically. Every window can be renamed, recolored, enabled/disabled, and time-adjusted.


What it plots (All customizable)
  • - Killzones (5): Asia (19:00–02:00), London (02:00–05:00), Pre-Market (07:00–09:30), London Close (10:00–12:00), NY PM (13:30–16:00). Full-height boxes with optional header.
  • - Macros (8): Asia-1 (18:00–21:00), Asia-2 (21:00–00:00), London-1 (01:00–04:00), AM-1 (09:45–10:15), AM-2 (10:45–11:15), Lunch (12:00–13:00), PM-1 (13:30–14:30), Power Hour (15:10–16:00).
  • - Live High/Low lines for the current Macro/Killzone window.
  • - HL extension projects to the right until price crosses or the trading day rolls (option to extend across days).
  • - “Next” previews: next Macro header, next Killzone header, and optional upcoming-window background band.
  • - Opening Prices: up to three lightweight time lines (defaults 00:00, 08:30, 09:30) with right-edge labels; only within a user-defined session window.


Key inputs & defaults
  • - Timezone: America/New_York (default).
  • - Sessions to show (per window): trims older completed windows for performance.
  • - Header styling: height (ticks), gap (ticks), fill opacity, border width/style, text size/color, toggles for “next” headers.
  • - Box styling: global fill opacity and border width/style (applies to Macros & Killzones).
  • - High/Low options: show HL, line style, extend on/off, extend style/width, extend across days, extension labels on/off.
  • - Opening Prices: enable 1/2/3, set HH:MM, choose session range, per-line color/style/width, label offsets.


How to use (quick start)
  1. - Set your Timezone (default America/New_York).
  2. - Enable the Macros and Killzones you trade; adjust times as needed.
  3. - (Optional) Turn on Extend High/Low to project levels until crossed/day-roll.
  4. - (Optional) Enable Next… headers to see the upcoming window at a glance.
  5. - (Optional) Configure Opening Prices (00:00 / 08:30 / 09:30 by default) and the session over which they appear.


Behavior notes
  • - Windows are computed from clock time in your selected timezone for robust behavior across brokers and timeframes.
  • - With HL extension enabled, current-window levels persist until price crosses or day roll; if disabled, completed windows keep static HL markers (trimmed by “Sessions to show”).
  • - Opening-price lines render only inside the configured Opening Prices Session and auto-remove outside it.


Color cues (defaults)
  • - Killzones: Asia (blue), London (purple), Pre-Market (green), London Close (yellow), NY PM (orange).
  • - Macros: neutral greys for most refined windows with accents for Lunch/PM (all customizable).


Performance tips
  • - Reduce “Sessions to show” if you scroll deep into history or hit drawing limits.
  • - Turn off Next-window previews and extension labels on very slow machines.
  • - Constrain the Opening Prices Session to just the period you need.


Changelog highlights
  • - v1.2.0: Alerts: Macro/Killzone pre-start and range-cross (one-shot); dynamic runtime messages.
  • - v1.1.5: internal refinements and stability.
  • - v1.1.3: live High/Low for current windows with optional extension.
  • - v1.1.2: added “next Killzone” preview (to match “next Macro”).
  • - v1.1.0: refreshed defaults (5 KZ, 8 Macros), removed snap-to-killzone behavior.
  • - v1.0.0: independent Macro vs. Killzone rendering and cleaner header logic.


Known limitations
  • - If your chart warns about drawing objects, lower “Sessions to show.”
  • - If your broker’s session clock differs from NY hours, adjust the sessions or change the indicator’s timezone.


Credits & intent
- Inspired by ICT timing concepts; educational tool only, not financial advice.
- Flexible by design so you can mirror your own trade plan and journaling workflow.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.