OPEN-SOURCE SCRIPT
Güncellendi 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.
Sürüm Notları
Customizable ORB Box – Updated Version 🚀This version adds two highly requested features:
Custom Session ORB 🕒
Define your own session window (e.g., Asia, London, New York).
ORB box is built for the exact session you choose.
Great for traders who follow multiple markets across different timezones.
Show Only Current ORB Option 👀
Toggle to hide all past ORBs and keep only today’s/current session box visible.
Keeps your chart clean and focused.
✅ Existing First Candle ORB and Custom Timeframe ORB modes are still available.
✅ Alerts included for breakouts above/below ORB High/Low.
✅ Box colors & borders are fully customizable.
This makes the ORB Box much more flexible for intraday and session-based trading strategies.
Sürüm Notları
This indicator plots the Open Range Breakout (ORB) levels using three flexible modes:🔹 First Candle Mode – Uses the first bar of the day as the ORB range.
🔹 Custom Timeframe Mode – Uses any higher timeframe candle (e.g., 15m, 30m, 1h) as the ORB range. By default, this is non-repainting (waits for the higher timeframe bar to close). You can optionally allow real-time updates, but this may repaint.
🔹 Custom Session Mode – Define your own trading session (start & end time). The box is drawn based on that session’s high/low.
✨ Key Features
Three ORB calculation modes in one script
Session-aware logic (works across markets and time zones)
Optional setting to allow real-time higher timeframe ORB (may repaint)
Option to display only the latest ORB or keep all historical boxes
Built-in alert conditions for breakout above/below ORB range
⚠️ Notes
Higher timeframe ORB (Custom TF) is non-repainting by default.
Enabling “Allow realtime ORB for higher TF” makes the box update live, but can repaint when the HTF candle closes.
Always test alerts and behavior on your symbol/timeframe before using in live trading.
Sürüm Notları
📢 Customizable ORB Box – New VersionThis updated version of Customizable ORB Box adds major flexibility while keeping the indicator lightweight and user-friendly.
🔹 What’s New?
Three modes to define your ORB:
• First Candle Mode – Create the ORB box from the first candle of the day/session.
• Custom Timeframe Mode – Choose any timeframe (1m, 5m, 15m, 1h, etc.) for ORB calculation.
• Custom Session Mode – Define your own session start and end time with 5-minute precision.
High / Low / Mid Levels with Values – Plotted with labels for quick reference.
"Show Only Current ORB" Option – Clean chart view by showing only today’s box & levels.
Breakout Alerts – Trigger alerts on price crossing above High or below Low.
Improved Visuals – Numeric labels (no background), dashed mid-line, consistent coloring.
This makes it a powerful tool for intraday traders who rely on Opening Range Breakouts for their strategy.
Sürüm Notları
Customizable ORB BoxVisualize and track Opening Range Breakouts (ORB) with full customization. Supports three modes: First Candle, Custom Timeframe, and Custom Session. Features include:
Dynamic boxes with live High, Low, and Mid tracking.
Customizable midline (style and color) and numeric labels (color, font size, position).
Real-time updates for live ORB expansion.
Optional “Show Only Current ORB” for a clean chart.
Alerts when price breaks above ORB High or below ORB Low.
Designed for clarity, flexibility, and precise breakout monitoring.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.