OPEN-SOURCE SCRIPT
ORB Breakout - 30min (MNQ/GC)

**ORB Breakout — 30min (MNQ/GC)**
Identifies high-probability breakout setups during the first 2 hours of the regular NYSE session, optimized for futures traders (MNQ, GC).
**Triggers when ALL 4 conditions are met simultaneously:**
- ✅ Price closes above the 30-minute Opening Range High (9:30–10:00 AM EST)
- ✅ Current bar volume is ≥ 1.5× the average volume of the opening range bars
- ✅ Price is above VWAP
- ✅ Time is before 11:30 AM EST (within the first 2 hours of session)
**Visuals:**
- Dashed orange horizontal line marking the ORB High
- Green triangle marker on the breakout bar
- Light green background highlight while all conditions are active
- VWAP plotted for reference
- Live debug table (top-right) showing the status of each condition in real time
**Alerts:**
- Built-in alert condition fires once on the first bar where all conditions are met — set to *Once Per Bar Close* for confirmation entries.
**Settings are fully adjustable:** ORB window times, session end time, volume multiplier, and all visual colors can be customized via the indicator settings panel.
Identifies high-probability breakout setups during the first 2 hours of the regular NYSE session, optimized for futures traders (MNQ, GC).
**Triggers when ALL 4 conditions are met simultaneously:**
- ✅ Price closes above the 30-minute Opening Range High (9:30–10:00 AM EST)
- ✅ Current bar volume is ≥ 1.5× the average volume of the opening range bars
- ✅ Price is above VWAP
- ✅ Time is before 11:30 AM EST (within the first 2 hours of session)
**Visuals:**
- Dashed orange horizontal line marking the ORB High
- Green triangle marker on the breakout bar
- Light green background highlight while all conditions are active
- VWAP plotted for reference
- Live debug table (top-right) showing the status of each condition in real time
**Alerts:**
- Built-in alert condition fires once on the first bar where all conditions are met — set to *Once Per Bar Close* for confirmation entries.
**Settings are fully adjustable:** ORB window times, session end time, volume multiplier, and all visual colors can be customized via the indicator settings panel.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.