OPEN-SOURCE SCRIPT
Cập nhật ORB 30 Alerts (ATH)

Overview
ATH ORB 30m automates the Opening Range Breakout (ORB) process across multiple global sessions — Tokyo, London, and New York — and delivers clean, consolidated alerts when fresh breakouts occur.
It’s built for traders who track several tickers and want precise, non-repeating signals that reflect genuine momentum shifts, not constant noise.
How it works
The script defines a 30-minute Opening Range (ORB) for each enabled session and plots its high, low, and midpoint levels.
Every 10-minute candle close is evaluated to detect first-time crosses of those range boundaries — upward or downward.
Once a breakout triggers, that side’s alert is disabled until price returns inside the range, where the system automatically re-arms.
Multiple triggers in the same bar are batched into one combined alert, listing all symbols that broke out.
A built-in debug panel and optional chart labels visualize each trigger and re-arm event in real time.
Key features
-Multi-session ORB logic (Tokyo, London, New York)
-10-minute confirmation filter to validate breakouts
-Automatic alert re-arming when price re-enters range
-Combined per-bar alert messages (no duplicates)
-Optional on-chart labels and debug diagnostics
-Optimized for watchlists and multi-symbol scanners
Usage
Designed for day traders and momentum scalpers, this tool highlights early directional strength during market opens.
Add it to your chart, enable your preferred sessions, and set alert conditions for “ORB Breakouts (BUY),” “ORB Breakdowns (SELL),” or "Any alert() function call" You’ll receive one concise message each bar showing exactly which symbols broke out and in which direction.
DISCLAIMER:
This script is for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any security.
Always perform your own due diligence and backtesting before using any trading strategy live.
Trading involves risk; past performance does not guarantee future results.
ATH ORB 30m automates the Opening Range Breakout (ORB) process across multiple global sessions — Tokyo, London, and New York — and delivers clean, consolidated alerts when fresh breakouts occur.
It’s built for traders who track several tickers and want precise, non-repeating signals that reflect genuine momentum shifts, not constant noise.
How it works
The script defines a 30-minute Opening Range (ORB) for each enabled session and plots its high, low, and midpoint levels.
Every 10-minute candle close is evaluated to detect first-time crosses of those range boundaries — upward or downward.
Once a breakout triggers, that side’s alert is disabled until price returns inside the range, where the system automatically re-arms.
Multiple triggers in the same bar are batched into one combined alert, listing all symbols that broke out.
A built-in debug panel and optional chart labels visualize each trigger and re-arm event in real time.
Key features
-Multi-session ORB logic (Tokyo, London, New York)
-10-minute confirmation filter to validate breakouts
-Automatic alert re-arming when price re-enters range
-Combined per-bar alert messages (no duplicates)
-Optional on-chart labels and debug diagnostics
-Optimized for watchlists and multi-symbol scanners
Usage
Designed for day traders and momentum scalpers, this tool highlights early directional strength during market opens.
Add it to your chart, enable your preferred sessions, and set alert conditions for “ORB Breakouts (BUY),” “ORB Breakdowns (SELL),” or "Any alert() function call" You’ll receive one concise message each bar showing exactly which symbols broke out and in which direction.
DISCLAIMER:
This script is for educational and informational purposes only.
It does not constitute financial advice or a recommendation to buy or sell any security.
Always perform your own due diligence and backtesting before using any trading strategy live.
Trading involves risk; past performance does not guarantee future results.
Phát hành các Ghi chú
This update added price labels to the lines representing the ORB levels (High, Low, Midpoint) and Target Prices (TP) as well as cleaned up alert logic.Phát hành các Ghi chú
fix alert bugsPhát hành các Ghi chú
This update tightened alert logic for consistency.Phát hành các Ghi chú
stopped alert list from being cleared early to fix alertsPhát hành các Ghi chú
This update removed the bug that ignored triggered tickers.Phát hành các Ghi chú
This update adjusts the debug window to only show tickers that have broken out of the ORB in the last 10 minutes. Phát hành các Ghi chú
This update was a rebuild of the indicator to fix alerting errors and correct the logic.Phát hành các Ghi chú
This update was made to stop alerts from skipping tickers that trigger the ORB.Phát hành các Ghi chú
This update adjusted line creation to be visible for mobile users.Phát hành các Ghi chú
This update further adjusts the lines for mobile users to see ORB levels.Phát hành các Ghi chú
This updated corrected how the ORB was captured to avoid ghost alerts.Phát hành các Ghi chú
Revert to previous version while trouble shooting.Phát hành các Ghi chú
This update allows for customization of the number of TP lines and labels displayed. It also adjusts buy flags, sell flags, and the debug window for better visibility.Phát hành các Ghi chú
This update aligns the mock alert window with the alerts being sent.Phát hành các Ghi chú
This update corrected the alert logic so that tickers from the watchlist are not skipped.Phát hành các Ghi chú
This update expands the ORB system with configurable opening-range durations and a more robust breakout confirmation engine. The script now supports both 30-minute and 15-minute ORBs, with breakout confirmation automatically adjusted to match (10-minute or 5-minute closes). Drawing now occurs after the ORB is fully captured.The alerting system was reworked to ensure all symbols are captured, even when multiple tickers trigger in different directions within the same confirmation window.
Note: On the 10-minute confirmation timeframe, if a candle closes exactly at the ORB high or low (to the cent), the breakout condition may not finalize until the following candle continues beyond the level. In these cases, the alert may fire on the initial test of the level, while the visual breakout flag appears on the subsequent candle. Usage Note: This indicator is designed to be applied on the confirmation timeframe that matches the selected ORB type.
Use the 10-minute chart for 30-minute ORBs and the 5-minute chart for 15-minute ORBs to ensure proper breakout confirmation, alert timing, and visual alignment.
Phát hành các Ghi chú
This update was bug fix to stop the ORB levels from being anchored earlier than the beginning of the session.Phát hành các Ghi chú
This update restores alerts for multiple tickersPhát hành các Ghi chú
This update tightened alert logic for consistency.Phát hành các Ghi chú
This update clarifies the maximum of 8 symbols per instance in the settings, reflecting TradingView platform request limits.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.