OPEN-SOURCE SCRIPT
Orange 30M ORB Indicator

This script is an advanced Opening Range Breakout (ORB) + Retest indicator designed to track institutional-style liquidity behavior across multiple sessions (New York, London, Asia).
At its core, it:
Builds opening ranges (high, low, and 50% midline) for each selected session based on a user-defined time window (e.g., first 30 minutes).
Monitors breakouts above or below those ranges using either candle closes or wicks.
Identifies valid retests of the breakout level using precise criteria:
Wick or proximity-based touch of the level
Controlled penetration into the range
Valid closing behavior relative to the level
Highlights the retest candle (purple by default) and the next confirmation candle (orange) for clear trade visualization.
A key feature of this version:
Once a session’s range is formed, it remains active for retests even after the session ends, allowing setups to develop naturally.
All prior session ranges are automatically reset at the next 9:30 AM New York open, ensuring only the most relevant liquidity zones are used going forward.
Additional capabilities include:
Multi-session tracking (NY, London, Asia)
Customizable retest logic (strict touch or distance-based)
Timeframe filtering for precision entries
Adjustable tolerance levels for wicks and closes
Optional historical plotting and labeling
Built-in alerts for retests and confirmation candles
Overall, this tool is built to help you systematically identify breakout–retest continuation setups with clarity and consistency, aligned with how price interacts with key session liquidity zones.
At its core, it:
Builds opening ranges (high, low, and 50% midline) for each selected session based on a user-defined time window (e.g., first 30 minutes).
Monitors breakouts above or below those ranges using either candle closes or wicks.
Identifies valid retests of the breakout level using precise criteria:
Wick or proximity-based touch of the level
Controlled penetration into the range
Valid closing behavior relative to the level
Highlights the retest candle (purple by default) and the next confirmation candle (orange) for clear trade visualization.
A key feature of this version:
Once a session’s range is formed, it remains active for retests even after the session ends, allowing setups to develop naturally.
All prior session ranges are automatically reset at the next 9:30 AM New York open, ensuring only the most relevant liquidity zones are used going forward.
Additional capabilities include:
Multi-session tracking (NY, London, Asia)
Customizable retest logic (strict touch or distance-based)
Timeframe filtering for precision entries
Adjustable tolerance levels for wicks and closes
Optional historical plotting and labeling
Built-in alerts for retests and confirmation candles
Overall, this tool is built to help you systematically identify breakout–retest continuation setups with clarity and consistency, aligned with how price interacts with key session liquidity zones.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。