OPEN-SOURCE SCRIPT
ORB Scalp setup by Unenbat

Description
ORB Scalp Setup by Unenbat is a precise breakout scalping tool that identifies short-term price ranges at the transition between hourly sessions.
📌 Core Features:
Draws a dynamic box using the price range from the last 3 minutes of the previous hour and the first 3 minutes of the new hour (total 5m59s range).
Automatically plots:
Box representing the selected range.
Opening Price Line at the start of the hour.
TP Lines (Take Profit) above and below the box at customizable distances.
BE Lines (Break-Even) above and below the box at customizable distances.
Box and line lengths are user-defined (default: 60 minutes).
Works across historical data (up to the last 100 days).
Fully customizable visuals (colors, offsets, visibility toggles).
🎯 How to Use:
Ideal for scalp traders using breakout strategies.
Enter trades when price breaks above or below the box range.
Use TP and BE lines as clear reference levels for exits or trailing stop logic.
⚙️ Custom Settings:
Enable/disable each component (box, open line, TP line, BE line).
Set your own offset in pips for TP/BE lines.
Adjust the box duration to match your trading style.
Modify start and end times of the range as needed.
ORB Scalp Setup by Unenbat is a precise breakout scalping tool that identifies short-term price ranges at the transition between hourly sessions.
📌 Core Features:
Draws a dynamic box using the price range from the last 3 minutes of the previous hour and the first 3 minutes of the new hour (total 5m59s range).
Automatically plots:
Box representing the selected range.
Opening Price Line at the start of the hour.
TP Lines (Take Profit) above and below the box at customizable distances.
BE Lines (Break-Even) above and below the box at customizable distances.
Box and line lengths are user-defined (default: 60 minutes).
Works across historical data (up to the last 100 days).
Fully customizable visuals (colors, offsets, visibility toggles).
🎯 How to Use:
Ideal for scalp traders using breakout strategies.
Enter trades when price breaks above or below the box range.
Use TP and BE lines as clear reference levels for exits or trailing stop logic.
⚙️ Custom Settings:
Enable/disable each component (box, open line, TP line, BE line).
Set your own offset in pips for TP/BE lines.
Adjust the box duration to match your trading style.
Modify start and end times of the range as needed.
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.