OPEN-SOURCE SCRIPT
Telah dikemas kini

ICT 00:00, 08:30, 09:30 & 13:30 Opens (NY) — Prior-Day History

143
ICT 00:00, 08:30, 09:30 & 13:30 Opens (NY)

This is a derivative of ALPHAICTRADER’s open-source script, republished under the MPL-2.0 with clear attribution and documented changes. It plots four New-York–anchored intraday reference levels—0000, 0830, 0930, 1330—as short, right-padded stubs with clean side labels. Use these time anchors (ICT-style midnight + key US windows) to frame bias, volatility pockets, and intraday trade locations.

What’s original in this version (changes)

Right-padded stubs instead of chart-wide rays — each level ends N bars past the latest candle (configurable).

Side labels at the line tip — text-only labels (0000, 0830, 0930, 1330) that sit at the right end of each stub and update every bar.

Optional prior-day history — show Today only or Today + Prior Day; older lines/labels auto-pruned.

Per-anchor controls — Display, Style, Color, Width, and Show Label for each time.

What it plots (and why)

0000 (NY Midnight): daily session anchor for bias/liquidity context.

0830 (NY): macro data window (CPI/NFP/claims) where volatility often concentrates.

0930 (NY): US cash equity market open; opening-drive structure/acceptance tests.

1330 (NY): early-afternoon anchor for continuation vs. fade.

How it works (under the hood)

Session detection: time("1", session, "America/New_York"); first bar flagged via not na(ts) and na(ts[1]).

Anchor price: open of that first bar per session/day.

Rendering: lines drawn with xloc=bar_index from start bar to bar_index + Right Pad; x2 updates every bar (no extend.right).

Labels: placed at line.get_x2(line) + Label Pad, soft color variant; updated per bar to stay on the tip.

History: arrays keep either today only or today + yesterday and delete anything older immediately.

How to use

Add to any intraday chart (futures/FX/indices). Anchors are always NY-time; TradingView handles DST.

Inputs

00:00 / 08:30 / 09:30 / 13:30 (NY): Display, Line Style, Color, Width, Show Label

Right Edge: Right Pad (bars) · Label Pad (bars)

History: Show Prior Day (History) — off = today only; on = today + yesterday

Suggested pads: Right Pad 2–5 bars; Label Pad 0–2.

These are context anchors, not signals. Combine with your execution model (market structure, liquidity, FVG/OBs, etc.).

Attribution & License (MPL-2.0)

Original work: “ICT NEW YORK MIDNIGHT OPEN AND 8.30 AM OPEN” by ALPHAICTRADER (MPL-2.0).

This derivative: modifications listed above; source published and kept under MPL-2.0 per license terms.

If you distribute a modified version of this Pine file, you must keep MPL-2.0, retain the copyright/licensing header, publish your modified source, and document your changes.

Notes: Pine v5. Minimalist (no day dividers). Educational tool; not financial advice.
Copyright: © ALPHAICTRADER 2022 · © Funk 2025
License: MPL-2.0
Nota Keluaran
What’s new (short)

Adds 13:30 (NY) & C.O anchors. Short right-padded stubs with side labels at the tip; per-level Display/Style/Color/Width. Optional prior-day history. Fixes orientation, label quotes, and 00:00 toggle. MPL attribution included.

Changelog (long)

v1.4.0 — 2025-09-10

New: 13:30 (NY) anchor with full controls (Display, Style, Color, Width, Label).

New: C.O (Current TF Open) — live anchor to the active bar’s open; short stub + “C.O” label at the tip (no quotes); updates on every tick and on timeframe changes.

New: Display toggle for 00:00 (now matches 08:30/09:30/13:30).

New: History toggle — Show Prior Day (History) (ON = today + yesterday; OFF = today only).

Improved: Lines draw as short right-padded stubs that move with the chart; labels are text-only at the right tip (no bubbles), subtle opacity.

Improved: Right Pad (bars) & Label Pad (bars) inputs for precise end-of-chart spacing.

Fix: Ensured horizontal orientation (bar-index coordinates + dynamic x2), no accidental price-axis lines.

Fix: Removed accidental quotes around labels; uses 0000 / 0830 / 0930 / 1330 / C.O cleanly.

Fix: 00:00/08:30/09:30 session triggers hardened (first bar detection); timestamp literal cleanup.

Compliance: Added explicit MPL-2.0 header and attribution to the original open-source work; description updated to explain what/why/how and usage per House Rules.

v1.3.0 — 2025-09-09

Switched to right-padded stubs (no extend.right) and side labels at tip.

Added option to turn off history (today-only mode).

Removed day dividers for a minimalist view.

v1.2.0 — 2025-09-08

Labels made text-only (no label boxes); subtle color; auto-follow right edge.

Added 0930 (NY) anchor with full styling controls; 0830 retained.

v1.1.0 — 2025-09-07

0000 (NY) anchor with style/color/width, and label “0000”.

Per-level inputs for color/line type; internal refactors.

v1.0.0 — 2025-09-06

Initial public release (NY midnight + data/open anchors).

Upgrade notes

If you see long rays, lower Right Pad (bars) (e.g., 2–5).

If labels bunch, bump Label Pad (bars) or vary styles/colors.

C.O has no history by design; it always tracks the current candle’s open.
Nota Keluaran
ICT “00:00 • 08:30 • 09:30 • 13:30 Opens (NY) — Prior-Day History”

Latest Release Notes

Version: v1.4.0 — 2025-09-10
TradingView

What’s New in This Release
Feature / Change Description
13:30 NY Anchor Added a new anchor time (13:30 NY) with full control over display, style, color, width, and label.
TradingView

C.O. (Current TF Open) Anchor New live anchor that tracks the open of the active bar. Stub and label “C.O” shown at the line tip (no quotes). Updates every bar / timeframe change.
TradingView

Display toggle for 00:00 Anchor You can now turn 00:00 anchor on/off independently, like the other anchors (08:30/09:30/13:30).
TradingView

History toggle Option added: show prior-day history (today + yesterday) or today only.
TradingView

Right-padded stubs & side labels Lines end N bars past the latest candle (configurable), not extended full width; labels placed at the tips. Cleaner, less cluttered.
TradingView

Right Pad & Label Pad inputs New inputs to adjust how far the stub extends (right pad) and how far label sits from tip (label pad).
TradingView

Fixes & style touches • Removed unnecessary quotes around anchor labels.
• Ensured lines are horizontal, no weird tilting.
• Cleaned up session detection for anchors.
• MPL-2.0 header / attribution clarified.
TradingView
Summary / Purpose

These updates make the indicator more flexible, visually cleaner, and more useful for intraday reference levels.

The new 13:30 anchor and C.O. help capture more of the afternoon / current timeframe context.

The history toggle + stub/label controls reduce visual clutter and let you keep just what’s relevant.
Nota Keluaran
ICT “00:00 • 08:30 • 09:30 • 13:30 Opens (NY) — Prior-Day History”

Latest Release Notes — v1.5.0 (2025-09-11)

✨ New Features

18:00 ET Globex Reset

All “current” opens (00:00, 08:30, 09:30, 13:30, and C.O.) now freeze at 18:00 ET (New York time) and immediately become historical stubs.

A fresh set of lines starts for the new Globex day.

This matches how traders reset bias at the Globex open.

C.O. (Current Candle Open) Anchor

Plots the open of the active bar with short right-padded stub.

Label: C.O. Updates every bar.

Resets at 18:00 ET with the rest of the anchors.

13:30 NY Anchor

Added to cover futures/pit-session context.

Full styling controls (color, line style, width, label).

🛠 Improvements

Right-pad & Label-pad controls for cleaner visuals.

History toggle: show only today, or today + prior day.

Cleaner labels (no quotes, better padding).

Session detection tightened (less chance of stray lines).

General cleanup & bug fixes.

✅ Purpose: The reset at 18:00 ET makes the opens more consistent with how ICT frames a trading “day.” No more waiting for each anchor’s next occurrence to go historical — they all flip to history at the new Globex open.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.