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
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.