OPEN-SOURCE SCRIPT
NY 9:30-9:35 High/Low Range

📘 Script Description
This script automatically identifies and plots the high and low of the 5-minute candle formed between 9:30 AM and 9:35 AM New York time, which corresponds to the opening of the U.S. equity market.
The goal is to provide a clear reference level for intraday volatility, directional bias, and breakout levels.
🔍 Function Overview
■ 1. Detects the 9:30–9:35 NY Time Candle
The script converts chart timestamps into New York session time and automatically captures the 5-minute candle that forms between:
NY 9:30:00 → NY 9:35:00
■ 2. Automatically Draws Horizontal Lines
After identifying the high and low of this candle, the script draws:
High line → Red
Low line → Blue
Lines start exactly at the 9:30 timestamp
Lines extend 3 hours into the future (until NY 12:30)
Lines do not extend beyond 3 hours (prevents unwanted diagonal lines or lines from previous days)
■ 3. Label Display at NY 20:00
The script places a label at New York 20:00, marking:
“9:30 High” for the high line
“9:30 Low” for the low line
This allows you to instantly identify the key reference levels at the end of the trading day.
■ 4. Auto-Removal at NY 20:00
At NY 20:00, both the lines and the labels are automatically deleted.
No old lines remain on the chart, ensuring clarity and accuracy for each new trading day.
🎯 Purpose and Use Cases
This script is highly useful for:
Determining intraday direction after the NY open
Tracking volatility spikes at the U.S. equity market open
Identifying breakout levels
Using high/low as dynamic support and resistance throughout the day
Understanding market context during economic events or high-impact sessions
The 9:30–9:35 range is one of the most watched price zones in global markets, often serving as the day’s initial liquidity sweep.
📝 Key Features
Accurate New York time conversion
Clean horizontal lines (no previous-day diagonal lines)
Labels positioned clearly at NY 20:00
No unnecessary visuals—simple and effective
Lightweight script with minimal chart impact
This script automatically identifies and plots the high and low of the 5-minute candle formed between 9:30 AM and 9:35 AM New York time, which corresponds to the opening of the U.S. equity market.
The goal is to provide a clear reference level for intraday volatility, directional bias, and breakout levels.
🔍 Function Overview
■ 1. Detects the 9:30–9:35 NY Time Candle
The script converts chart timestamps into New York session time and automatically captures the 5-minute candle that forms between:
NY 9:30:00 → NY 9:35:00
■ 2. Automatically Draws Horizontal Lines
After identifying the high and low of this candle, the script draws:
High line → Red
Low line → Blue
Lines start exactly at the 9:30 timestamp
Lines extend 3 hours into the future (until NY 12:30)
Lines do not extend beyond 3 hours (prevents unwanted diagonal lines or lines from previous days)
■ 3. Label Display at NY 20:00
The script places a label at New York 20:00, marking:
“9:30 High” for the high line
“9:30 Low” for the low line
This allows you to instantly identify the key reference levels at the end of the trading day.
■ 4. Auto-Removal at NY 20:00
At NY 20:00, both the lines and the labels are automatically deleted.
No old lines remain on the chart, ensuring clarity and accuracy for each new trading day.
🎯 Purpose and Use Cases
This script is highly useful for:
Determining intraday direction after the NY open
Tracking volatility spikes at the U.S. equity market open
Identifying breakout levels
Using high/low as dynamic support and resistance throughout the day
Understanding market context during economic events or high-impact sessions
The 9:30–9:35 range is one of the most watched price zones in global markets, often serving as the day’s initial liquidity sweep.
📝 Key Features
Accurate New York time conversion
Clean horizontal lines (no previous-day diagonal lines)
Labels positioned clearly at NY 20:00
No unnecessary visuals—simple and effective
Lightweight script with minimal chart impact
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.