OPEN-SOURCE SCRIPT
已更新 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.
版本注释
- 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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。