OPEN-SOURCE SCRIPT
Telah dikemas kini Open Range Breakout

Open Range Breakout (ORB)
The Open Range Breakout (ORB) is a classic intraday strategy used across stocks, indices, FX and futures. It focuses on how price behaves during the first minutes of a major session, when liquidity and volatility are highest.
This indicator fully automates the ORB process with session detection, box drawing, breakout & retest logic, and final Buy/Sell signals.
Multi-Session Support
Choose between the three most important global opens:
Asia (Tokyo) – JPY pairs, Asian indices, gold, crypto
London – FX majors, European indices, strong volatility
New York – US indices, USD pairs, gold, oil, highest volume
The Opening Range is calculated only during the selected session.
ORB Range (5 / 15 / 30 min)
The indicator builds the ORB High/Low from the first X minutes of the session, draws the box, and waits for price action once the range is complete.
How It Works
ORB Window → High/Low of the opening minutes are recorded.
Breakout → Price closes above/below the ORB → “BREAKOUT” label.
Retest → Price returns to the ORB box → “RETEST” label.
Confirmation Levels Freeze → Upper/lower structure set.
Final Signal
Close above frozen upper level → BUY
Close below frozen lower level → SELL
This filters out false breakouts and provides structured continuation signals.
Alerts
Includes built-in alert conditions for:
ORB BUY Signal
ORB SELL Signal
Alerts trigger exactly when the Buy or Sell label appears.
Works On
Stocks & indices
Forex
Futures
The Open Range Breakout (ORB) is a classic intraday strategy used across stocks, indices, FX and futures. It focuses on how price behaves during the first minutes of a major session, when liquidity and volatility are highest.
This indicator fully automates the ORB process with session detection, box drawing, breakout & retest logic, and final Buy/Sell signals.
Multi-Session Support
Choose between the three most important global opens:
Asia (Tokyo) – JPY pairs, Asian indices, gold, crypto
London – FX majors, European indices, strong volatility
New York – US indices, USD pairs, gold, oil, highest volume
The Opening Range is calculated only during the selected session.
ORB Range (5 / 15 / 30 min)
The indicator builds the ORB High/Low from the first X minutes of the session, draws the box, and waits for price action once the range is complete.
How It Works
ORB Window → High/Low of the opening minutes are recorded.
Breakout → Price closes above/below the ORB → “BREAKOUT” label.
Retest → Price returns to the ORB box → “RETEST” label.
Confirmation Levels Freeze → Upper/lower structure set.
Final Signal
Close above frozen upper level → BUY
Close below frozen lower level → SELL
This filters out false breakouts and provides structured continuation signals.
Alerts
Includes built-in alert conditions for:
ORB BUY Signal
ORB SELL Signal
Alerts trigger exactly when the Buy or Sell label appears.
Works On
Stocks & indices
Forex
Futures
Nota Keluaran
bugsSkrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.