OPEN-SOURCE SCRIPT
Customizable ORB Box

Customizable ORB Box
📘 Description
A powerful and flexible Opening Range Breakout (ORB) visualization tool designed for intraday traders. This indicator plots the opening range using either the first candle or a user-defined custom timeframe, and updates in real time.
🔧 Key Features
First Candle Mode – Plots the high/low range of the first candle of each new trading day.
Custom Timeframe Mode – Builds the ORB box live over a chosen duration (e.g., 5, 15, 30 minutes) and finalizes it after the timeframe completes.
Dynamic Box Colors – Bullish and bearish color themes based on range closure direction.
Multi-Day Plotting – Displays ORB boxes across all days, not just today.
Alerts Included – Triggers when price breaks above or below the ORB range.
No repainting – Stable and historical-friendly behavior.
🕒 ETH Compatibility
This indicator respects your TradingView chart settings:
✅ If ETH is enabled, ORB begins with the first ETH candle.
✅ If ETH is disabled, ORB begins with Regular Trading Hours (RTH).
Tip: Control this via the chart’s ⚙️ “Session” settings for your instrument.
💡 How to Use
Use First Candle Mode for classic ORB strategy setups (quick early structure).
Use Custom Timeframe Mode on smaller timeframes (e.g., 3min) for dynamic range-building.
Combine with volume, VWAP, trendlines, or price action for breakout confirmation.
📘 Description
A powerful and flexible Opening Range Breakout (ORB) visualization tool designed for intraday traders. This indicator plots the opening range using either the first candle or a user-defined custom timeframe, and updates in real time.
🔧 Key Features
First Candle Mode – Plots the high/low range of the first candle of each new trading day.
Custom Timeframe Mode – Builds the ORB box live over a chosen duration (e.g., 5, 15, 30 minutes) and finalizes it after the timeframe completes.
Dynamic Box Colors – Bullish and bearish color themes based on range closure direction.
Multi-Day Plotting – Displays ORB boxes across all days, not just today.
Alerts Included – Triggers when price breaks above or below the ORB range.
No repainting – Stable and historical-friendly behavior.
🕒 ETH Compatibility
This indicator respects your TradingView chart settings:
✅ If ETH is enabled, ORB begins with the first ETH candle.
✅ If ETH is disabled, ORB begins with Regular Trading Hours (RTH).
Tip: Control this via the chart’s ⚙️ “Session” settings for your instrument.
💡 How to Use
Use First Candle Mode for classic ORB strategy setups (quick early structure).
Use Custom Timeframe Mode on smaller timeframes (e.g., 3min) for dynamic range-building.
Combine with volume, VWAP, trendlines, or price action for breakout confirmation.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。