OPEN-SOURCE SCRIPT
已更新

Opening Range Breakout

414
## 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?
版本注释
.
版本注释
.
版本注释
.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。