PROTECTED SOURCE SCRIPT

NY Key Open Lines (UTC-4 - Toggleable + Custom)

14
📌 Indicator Name:
NY Key Open Lines (UTC-4 - Toggleable + Custom)

🧾 Purpose:
This indicator draws horizontal lines on your chart at specific key time opens (based on New York time, UTC-4). These lines represent significant institutional or session-based times such as:

Midnight (00:00)

Economic news releases (08:30)

NYSE open (09:30)

Post-opening volatility shifts (10:30)

Daily candle open (18:00)

A custom time defined by the user

Each line is drawn at the opening price of the bar at the specified time.

🧩 Main Features:
✅ Toggle each line ON or OFF individually using checkboxes

✅ Custom time support: enter any time in "HH:MM" format (UTC-4) to draw a custom line

✅ Custom label toggle: choose whether to display the custom line’s label

✅ Fully customizable: line length, color, thickness, and label font size can all be adjusted

✅ Written in Pine Script v5, compatible with modern TradingView standards

⏱️ Default Time Lines Drawn:
Time (UTC-4) Label Typical Use
00:00 "00:00" Start of day for SMT/daily analysis models
08:30 "08:30" Economic news drops (e.g., CPI, NFP)
09:30 "09:30" NYSE open
10:30 "10:30" Liquidity shift period
18:00 "18:00" Daily candle open (used by most brokers)
HH:MM Custom User-defined institutional time

🛠️ How the Custom Time Works:
You input a time string like "13:45", and the script splits it into hour and minute, then draws a dotted horizontal line at the bar that starts at 13:45 New York time (UTC-4).

If Show Custom Label is checked, a label will be displayed with the custom time (e.g., "13:45").

🎯 Who is this for?
This tool is ideal for:

ICT / SMT / Smart Money traders

News-based and session traders

Anyone using New York time as a reference

Traders who want visual structure around specific times of day

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.