OPEN-SOURCE SCRIPT
Diupdate Jefe ORB

Opening Range Breakout (ORB) Indicator — Description
The Opening Range Breakout (ORB) Indicator automatically plots the high, low, and midpoint of the opening range for any market and any timeframe. This tool is ideal for intraday traders who rely on the initial price discovery window to identify direction, trend bias, liquidity sweeps, and breakout opportunities.
Features include:
Custom Opening Range start and end times
Opening Range High / Low / Mid lines
Optional session shading
Alerts for ORH/ORL breaks
Works across equities, futures, and crypto
This indicator lets traders tailor the ORB to 1m, 5m, 15m, 30m, or custom opening windows depending on their strategy.
How to Set the Time Correctly (IMPORTANT)
TradingView handles time based on two different factors:
The time zone of the chart/exchange
The time zone selected inside the indicator settings
Your ORB will ONLY plot correctly if your input times match the indicator’s chosen timezone—not your computer’s timezone.
Example: Matching NYSE Open While Trading From PST
NYSE opens at 9:30 AM Eastern Time
In Pacific Time (PST), this is 6:30 AM
In UTC, this is 14:30
If your indicator is set to use UTC, you must enter the ORB Start = 14:30 in order for the lines to align with the actual New York session open.
This is why, even though you personally trade in PST, you may need to use 14:30 when your chart or your indicator timezone is UTC.
Best Practice for Correct ORB Time Inputs
Choose your indicator timezone first, then enter the ORB start/end times in THAT zone:
If Indicator Timezone = America/New_York
Enter 09:30 for the ORB start
No conversion needed
If Indicator Timezone = America/Los_Angeles (PST)
Enter 06:30 for the ORB start
Matches NY open automatically
If Indicator Timezone = UTC
Enter 14:30 for the ORB start
This is 9:30 ET converted to UTC
The indicator intentionally allows manual timezone control so traders can align the opening range across global markets without depending on the chart's display timezone.
The Opening Range Breakout (ORB) Indicator automatically plots the high, low, and midpoint of the opening range for any market and any timeframe. This tool is ideal for intraday traders who rely on the initial price discovery window to identify direction, trend bias, liquidity sweeps, and breakout opportunities.
Features include:
Custom Opening Range start and end times
Opening Range High / Low / Mid lines
Optional session shading
Alerts for ORH/ORL breaks
Works across equities, futures, and crypto
This indicator lets traders tailor the ORB to 1m, 5m, 15m, 30m, or custom opening windows depending on their strategy.
How to Set the Time Correctly (IMPORTANT)
TradingView handles time based on two different factors:
The time zone of the chart/exchange
The time zone selected inside the indicator settings
Your ORB will ONLY plot correctly if your input times match the indicator’s chosen timezone—not your computer’s timezone.
Example: Matching NYSE Open While Trading From PST
NYSE opens at 9:30 AM Eastern Time
In Pacific Time (PST), this is 6:30 AM
In UTC, this is 14:30
If your indicator is set to use UTC, you must enter the ORB Start = 14:30 in order for the lines to align with the actual New York session open.
This is why, even though you personally trade in PST, you may need to use 14:30 when your chart or your indicator timezone is UTC.
Best Practice for Correct ORB Time Inputs
Choose your indicator timezone first, then enter the ORB start/end times in THAT zone:
If Indicator Timezone = America/New_York
Enter 09:30 for the ORB start
No conversion needed
If Indicator Timezone = America/Los_Angeles (PST)
Enter 06:30 for the ORB start
Matches NY open automatically
If Indicator Timezone = UTC
Enter 14:30 for the ORB start
This is 9:30 ET converted to UTC
The indicator intentionally allows manual timezone control so traders can align the opening range across global markets without depending on the chart's display timezone.
Catatan Rilis
Opening Range Breakout (ORB) Indicator — DescriptionThe Opening Range Breakout (ORB) Indicator automatically plots the high, low, and midpoint of the opening range for any market and any timeframe. This tool is ideal for intraday traders who rely on the initial price discovery window to identify direction, trend bias, liquidity sweeps, and breakout opportunities.
Features include:
Custom Opening Range start and end times
Opening Range High / Low / Mid lines
Optional session shading
Alerts for ORH/ORL breaks
Works across equities, futures, and crypto
This indicator lets traders tailor the ORB to 1m, 5m, 15m, 30m, or custom opening windows depending on their strategy.
How to Set the Time Correctly (IMPORTANT)
TradingView handles time based on two different factors:
The time zone of the chart/exchange
The time zone selected inside the indicator settings
Your ORB will ONLY plot correctly if your input times match the indicator’s chosen timezone—not your computer’s timezone.
Example: Matching NYSE Open While Trading From PST
NYSE opens at 9:30 AM Eastern Time
In Pacific Time (PST), this is 6:30 AM
In UTC, this is 14:30
If your indicator is set to use UTC, you must enter the ORB Start = 14:30 in order for the lines to align with the actual New York session open.
This is why, even though you personally trade in PST, you may need to use 14:30 when your chart or your indicator timezone is UTC.
Best Practice for Correct ORB Time Inputs
Choose your indicator timezone first, then enter the ORB start/end times in THAT zone:
If Indicator Timezone = America/New_York
Enter 09:30 for the ORB start
No conversion needed
If Indicator Timezone = America/Los_Angeles (PST)
Enter 06:30 for the ORB start
Matches NY open automatically
If Indicator Timezone = UTC
Enter 14:30 for the ORB start
This is 9:30 ET converted to UTC
The indicator intentionally allows manual timezone control so traders can align the opening range across global markets without depending on the chart's display timezone.
Summary
The ORB indicator gives you precise control over session timing by allowing custom timezone and opening-range inputs.
Just remember:
👉 Times must always match the indicator’s timezone setting, not your computer’s timezone.
👉 NY open (9:30 ET) = 06:30 PST = 14:30 UTC, depending on the mode you choose.
👉 Once set correctly, the ORB will always plot the true session highs, lows, and midpoints—regardless of where you trade from.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.