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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.