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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน