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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。