OPEN-SOURCE SCRIPT
已更新 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.
版本注释
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.版本注释
fix alert bugs版本注释
This update tightened alert logic for consistency.版本注释
stopped alert list from being cleared early to fix alerts版本注释
This update removed the bug that ignored triggered tickers.版本注释
This update adjusts the debug window to only show tickers that have broken out of the ORB in the last 10 minutes. 版本注释
This update was a rebuild of the indicator to fix alerting errors and correct the logic.版本注释
This update was made to stop alerts from skipping tickers that trigger the ORB.版本注释
This update adjusted line creation to be visible for mobile users.版本注释
This update further adjusts the lines for mobile users to see ORB levels.版本注释
This updated corrected how the ORB was captured to avoid ghost alerts.版本注释
Revert to previous version while trouble shooting.版本注释
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.版本注释
This update aligns the mock alert window with the alerts being sent.版本注释
This update corrected the alert logic so that tickers from the watchlist are not skipped.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。