OPEN-SOURCE SCRIPT
Aggiornato 10 Min ORB - Asia / London / NY

Tracks the opening range of the first 10 minutes (adjustable) for the Asia, London, and New York sessions independently — built for futures traders (MES/ES) who want to watch for breakouts or rejections across all three major sessions, not just the US open.
How it works
For each session, the indicator marks the high and low of the opening range using accurate lower-timeframe data (default 1-minute), so the range is precise regardless of what timeframe your chart is set to. Once the opening window closes, it draws a box around the range and extends the high/low lines forward so you can watch price interact with them for the rest of the session.
Signals
Breakout: flags the first candle to close beyond the range high or low (one signal per side, per session, per day)
Rejection: flags any candle that wicks through the high or low but closes back inside the range
Labels are tagged by session ("Asia", "London", "NY") so you can tell at a glance which window produced the signal. Alerts are built in for all six conditions (breakout up/down and can be extended for rejections per session).
Customizable
Enable/disable each session independently
Set custom start times and timezone for each session
Adjust ORB length (default 10 minutes)
Full control over colors, line width, midline, and how many days of history to keep on the chart
Notes
Default session start times: Asia 19:00 ET, London 03:00 ET, New York 09:30 ET — adjust to match your own trading windows.
This is a visual/analytical tool, not a standalone strategy — it's intended to support discretionary trade decisions around opening range breakouts and rejections, not to generate automatic buy/sell signals. Always backtest and manage risk according to your own plan.
How it works
For each session, the indicator marks the high and low of the opening range using accurate lower-timeframe data (default 1-minute), so the range is precise regardless of what timeframe your chart is set to. Once the opening window closes, it draws a box around the range and extends the high/low lines forward so you can watch price interact with them for the rest of the session.
Signals
Breakout: flags the first candle to close beyond the range high or low (one signal per side, per session, per day)
Rejection: flags any candle that wicks through the high or low but closes back inside the range
Labels are tagged by session ("Asia", "London", "NY") so you can tell at a glance which window produced the signal. Alerts are built in for all six conditions (breakout up/down and can be extended for rejections per session).
Customizable
Enable/disable each session independently
Set custom start times and timezone for each session
Adjust ORB length (default 10 minutes)
Full control over colors, line width, midline, and how many days of history to keep on the chart
Notes
Default session start times: Asia 19:00 ET, London 03:00 ET, New York 09:30 ET — adjust to match your own trading windows.
This is a visual/analytical tool, not a standalone strategy — it's intended to support discretionary trade decisions around opening range breakouts and rejections, not to generate automatic buy/sell signals. Always backtest and manage risk according to your own plan.
Note di rilascio
- Now tracks Asia, London, and New York sessions — not just one opening range. Each session gets its own 10-minute box you can toggle on/off.
- Added optional full-session high/low levels — see the overall high/low for the whole session, not just the first 10 minutes, updating live as it happens.
- Price labels now follow along as the day goes on, instead of getting stuck back at the start and scrolling out of view.
- Lines don't run forever anymore — they extend a set distance and then stop, so the chart doesn't stretch out endlessly.
- Chart auto-scaling is cleaner — reduced clutter so hitting "auto fit" doesn't squish your price action.
- Updated to the newest Pine Script version for continued compatibility.
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.