OPEN-SOURCE SCRIPT
تم تحديثه Opening Range Breakout

## Opening Range Breakout (ORB) — 8:30–8:45 CT
**What it does**
Marks the first 15-minute candle after the CME open (8:30–8:45 America/Chicago), locks that high and low as the opening range, then fires a single, no-repaint signal the moment price breaks the range for the first time. One trade idea per session — no spam, no flicker.
**How it works**
- Builds the range live from 8:30, locks it permanently at 8:45.
- **BUY** on the first break above the range high. **SELL** on the first break below the range low.
- If both sides break on the same bar, direction is resolved by where price closed relative to the range midpoint.
- Signal latches after firing — it will not repeat or repaint for the rest of the session.
**The one knob**
`Signal on wick break` — OFF (default) waits for a confirmed bar close before signaling (cleaner, fewer fakeouts). ON triggers the instant a wick pierces the range (faster, more noise).
**Built for**
NQ / MNQ index futures on the 8:30 CT open. Run it on a **1m–15m chart** — it warns you if the timeframe is too large for the range to build correctly.
**Alerts**
Two ready conditions: *OR Breakout — BUY* and *OR Breakout — SELL*, wired to the same latched logic as the on-chart labels.
---
Want a shorter punchline version for a TradingView title card, or a longer one with the trading logic spelled out for your Discord?
**What it does**
Marks the first 15-minute candle after the CME open (8:30–8:45 America/Chicago), locks that high and low as the opening range, then fires a single, no-repaint signal the moment price breaks the range for the first time. One trade idea per session — no spam, no flicker.
**How it works**
- Builds the range live from 8:30, locks it permanently at 8:45.
- **BUY** on the first break above the range high. **SELL** on the first break below the range low.
- If both sides break on the same bar, direction is resolved by where price closed relative to the range midpoint.
- Signal latches after firing — it will not repeat or repaint for the rest of the session.
**The one knob**
`Signal on wick break` — OFF (default) waits for a confirmed bar close before signaling (cleaner, fewer fakeouts). ON triggers the instant a wick pierces the range (faster, more noise).
**Built for**
NQ / MNQ index futures on the 8:30 CT open. Run it on a **1m–15m chart** — it warns you if the timeframe is too large for the range to build correctly.
**Alerts**
Two ready conditions: *OR Breakout — BUY* and *OR Breakout — SELL*, wired to the same latched logic as the on-chart labels.
---
Want a shorter punchline version for a TradingView title card, or a longer one with the trading logic spelled out for your Discord?
ملاحظات الأخبار
.ملاحظات الأخبار
.ملاحظات الأخبار
.نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.