OPEN-SOURCE SCRIPT
ORB 369 - Opening Range Breakout

💡 The Core Concept: Why 3-6-9?
The strategy is rooted in the "Market Open Volatility" principle. The first 15 minutes (9:30–9:45 AM EST) represent the period where institutional orders are processed and "price discovery" is most aggressive.
The Range: We define the 15-minute high and low as the "Battlefield."
The 369 Logic: This script focuses on the 3rd 5-minute candle of the session (completing the 15m range) and monitors the subsequent 5m and 15m cycles for a definitive trend shift.
🛠️ How It Works
The script utilizes Pine Script v6 high-precision time-tracking and state-handling to ensure accuracy even on historical data.
1. Dynamic Session Anchoring
Unlike static indicators, this script uses America/New_York timezone anchoring. It identifies the Opening Range (OR) regardless of your local time, ensuring you are aligned with the NYSE floor traders.
2. Supply & Demand Detection
The script doesn't just look at the high/low; it analyzes the micro-structure within that 15-minute window.
It identifies unmitigated zones (areas where price moved so fast it left "imbalances").
If a breakout occurs but price immediately hits an internal S/D zone, it warns the trader of a potential "Look Above and Fail" scenario.
3. Breakout Confirmation (5m Logic)
A common mistake is entering on a "wick." This script uses Closing Logic:
Bullish Signal: A 5-minute candle must close entirely above the 15m High.
Bearish Signal: A 5-minute candle must close entirely below the 15m Low.
The script then repaints the candle body (defaulting to Blue/Red) to provide an instant visual cue that the "Breakout is Confirmed."
📈 How to Use It
Wait for the Box: At 9:45 AM EST, the script will automatically lock in the High, Low, and Midpoint (Mean) of the range.
Monitor the Midpoint: The Midpoint acts as the "Line in the Sand." If a breakout occurs but price stays near the Midpoint, the trend is weak. If price stays in the upper half of the range, the Bullish bias is stronger.
The Entry: Wait for the Candle Color Change. A blue candle above the range suggests a long entry; a red candle below suggests a short.
Supply/Demand Zones: If the script highlights a "Demand Zone" at the bottom of the range and price bounces off it before breaking the top, this provides a "double-confluence" setup.
⚙️ Technical Features
Customizable Aesthetics: Use the Settings menu to change the breakout colors (Green/Blue/Red) to match your personal chart theme.
Smart Tooltips: Hover over the inputs in the settings to see detailed explanations of what each parameter does.
Alert Ready: Built-in alerts for "Bullish Breakout" and "Bearish Breakout" that can be sent directly to your phone or desktop via TradingView.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Niko Picasso 369
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Niko Picasso 369
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.