OPEN-SOURCE SCRIPT
15-Min Opening Range Breakout

STEP-BY-STEP RULES
1. Define the Opening Range (OR)
Mark the high and low of the first 15-minute candle of the session.
This creates your Opening Range.
Example: London session opens at 08:00 GMT. Use the 08:00–08:15 candle.
2. Set Entry Triggers
Buy Breakout: Place a Buy Stop order 1 pip above the Opening Range high.
Sell Breakout: Place a Sell Stop order 1 pip below the Opening Range low.
⚠️ Only one side should be triggered. Cancel the opposite order once one is active.
3. Set Stop Loss (SL)
For Buy trades:
SL = Opening Range Low - 2 pips
For Sell trades:
SL = Opening Range High + 2 pips
This ensures you give the price enough space, while keeping risk controlled.
4. Set Take Profit (TP)
Use either of these two approaches:
✅ Fixed Risk-Reward (Preferred)
Target 1: TP = 2R (i.e., 2 × SL distance)
Target 2 (optional): Leave runner for 3R or trail stop behind minor S/R
✅ Fixed Pip Target (alternative)
TP = +50 pips
SL = -20 pips
Matches your preferred risk model of 20 SL / 50 TP
5. Trade Management
If no breakout occurs within 1 hour, cancel the pending orders. No trade that day.
If trade triggers but fails to move, consider time-based exit after 2 hours.
Optional: Move SL to breakeven once price moves 1R in your favor.
1. Define the Opening Range (OR)
Mark the high and low of the first 15-minute candle of the session.
This creates your Opening Range.
Example: London session opens at 08:00 GMT. Use the 08:00–08:15 candle.
2. Set Entry Triggers
Buy Breakout: Place a Buy Stop order 1 pip above the Opening Range high.
Sell Breakout: Place a Sell Stop order 1 pip below the Opening Range low.
⚠️ Only one side should be triggered. Cancel the opposite order once one is active.
3. Set Stop Loss (SL)
For Buy trades:
SL = Opening Range Low - 2 pips
For Sell trades:
SL = Opening Range High + 2 pips
This ensures you give the price enough space, while keeping risk controlled.
4. Set Take Profit (TP)
Use either of these two approaches:
✅ Fixed Risk-Reward (Preferred)
Target 1: TP = 2R (i.e., 2 × SL distance)
Target 2 (optional): Leave runner for 3R or trail stop behind minor S/R
✅ Fixed Pip Target (alternative)
TP = +50 pips
SL = -20 pips
Matches your preferred risk model of 20 SL / 50 TP
5. Trade Management
If no breakout occurs within 1 hour, cancel the pending orders. No trade that day.
If trade triggers but fails to move, consider time-based exit after 2 hours.
Optional: Move SL to breakeven once price moves 1R in your favor.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.