PROTECTED SOURCE SCRIPT
更新済 Opening Range Gaps [LEG]

📌 Opening Range Gaps [LEG]
Are you tired of indicators that don’t show the correct opening price on CFDs, or that fail to capture the true 09:30 open or the 16:14 on Nasdaq futures?
Or worse… tools that only work on the 1-minute chart?
👉 This script was built to fix that.
🔑 Why this indicator?
Unlike most gap tools, Opening Range Gaps [LEG]:
Works seamlessly on both CFDs and Futures for Nasdaq.
Captures the exact 16:14 close (the CFD session end) and the true 09:30 open using M1 data aggregation, even if you’re on a higher timeframe.
Works reliably on any intraday timeframe — not just the 1-minute chart, but all the way up to the timeframe you set in the Timeframe Limit (default: 30m).
⚙️ Features:
Gap Detection with Precision
Uses the close of the 16:14 bar (last CFD session minute) as the reference.
Captures the specific open at 09:30 (not approximated by session).
Plots the gap as a shaded box with customizable colors.
Quarter Levels Inside the Gap
Automatically divides the gap into 25%, 50%, and 75% levels for precision trading.
Customization
Show/hide vertical session delimitations.
Choose whether to track the reference price throughout the session.
Extend boxes to the right for context.
Keep only the last “n” gaps on your chart (default: 10).
Works Across Timeframes
Thanks to request.security_lower_tf, all logic is based on 1-minute data, so even if you’re on 5m, 15m, or 30m, the gap will always plot with exact levels.
🧭 Use Cases
Spot the true overnight gap between CFD close (16:14) and futures open (09:30).
Track how Nasdaq fills (or fails to fill) gaps during the day.
Use quarter levels for partial fills, rejection points, or continuation setups.
Combine with ICT concepts or price action strategies to identify liquidity-driven moves.
Are you tired of indicators that don’t show the correct opening price on CFDs, or that fail to capture the true 09:30 open or the 16:14 on Nasdaq futures?
Or worse… tools that only work on the 1-minute chart?
👉 This script was built to fix that.
🔑 Why this indicator?
Unlike most gap tools, Opening Range Gaps [LEG]:
Works seamlessly on both CFDs and Futures for Nasdaq.
Captures the exact 16:14 close (the CFD session end) and the true 09:30 open using M1 data aggregation, even if you’re on a higher timeframe.
Works reliably on any intraday timeframe — not just the 1-minute chart, but all the way up to the timeframe you set in the Timeframe Limit (default: 30m).
⚙️ Features:
Gap Detection with Precision
Uses the close of the 16:14 bar (last CFD session minute) as the reference.
Captures the specific open at 09:30 (not approximated by session).
Plots the gap as a shaded box with customizable colors.
Quarter Levels Inside the Gap
Automatically divides the gap into 25%, 50%, and 75% levels for precision trading.
Customization
Show/hide vertical session delimitations.
Choose whether to track the reference price throughout the session.
Extend boxes to the right for context.
Keep only the last “n” gaps on your chart (default: 10).
Works Across Timeframes
Thanks to request.security_lower_tf, all logic is based on 1-minute data, so even if you’re on 5m, 15m, or 30m, the gap will always plot with exact levels.
🧭 Use Cases
Spot the true overnight gap between CFD close (16:14) and futures open (09:30).
Track how Nasdaq fills (or fails to fill) gaps during the day.
Use quarter levels for partial fills, rejection points, or continuation setups.
Combine with ICT concepts or price action strategies to identify liquidity-driven moves.
リリースノート
DOWNGRADE TO PINESCRIPT V5 TO ALLOW SHOW ORG ON SECONDS, I HOPE THIS IS BETTER FOR YOU.リリースノート
last fixリリースノート
Small fix, on the ORG extension保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 しかし、無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
保護スクリプト
このスクリプトのソースコードは非公開で投稿されています。 しかし、無料かつ制限なしでご利用いただけます ― 詳細についてはこちらをご覧ください。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。