NY 5m & 15m Orb - Statistics & LTF Candle structureNY Opening Range (Enhanced with LTF) - NQ Futures Only
⚠️ IMPORTANT: NQ FUTURES ONLY
This indicator and ALL statistical probabilities are based on 12 years of historical analysis of NQ (Nasdaq-100 E-mini futures) ONLY. The probabilities, median extensions, and predictions are NOT applicable to ES, stocks, forex, or any other instruments. Use on other instruments at your own risk - the statistics will not be valid.
What This Indicator Does
The NY Opening Range (ORB) indicator tracks and visualizes the first 5 minutes (9:30-9:35 AM ET) and first 15 minutes (9:30-9:45 AM ET) of the New York trading session, providing:
Opening Range Zones - Visual boxes showing the high, low, and midpoint of each timeframe
Statistical Extension Levels - Median price targets based on 12 years of NQ data analysis
Lower Timeframe (LTF) Candles - Displays 1-minute candles from the OR period positioned to the right of current price for detailed structure analysis
Live Statistics Table - Real-time probability calculations that update as conditions are met throughout the session
The indicator helps traders identify high-probability setups by showing where price is statistically likely to move based on:
Opening range direction (bullish/bearish)
Which extreme formed first (high or low)
Whether price has broken the range
Current market structure
Key Features
5-Minute ORB (9:30-9:35 AM ET)
Opening range box with customizable bullish/bearish colors
Midpoint line (optional)
Median extension levels at +0.41% (high) and -0.45% (low)
1-minute LTF candles showing internal structure
Extension probability: 84.9% (upside), 81.0% (downside)
15-Minute ORB (9:30-9:45 AM ET)
Opening range box with customizable bullish/bearish colors
Midpoint line (optional)
Median extension levels at +0.38% (high) and -0.42% (low)
1-minute LTF candles showing internal structure
Extension probability: 77.2% (upside), 73.5% (downside)
Statistics Table
The table displays real-time probabilities for:
Direction: Whether the OR candle was bullish or bearish
Extreme First: Which level (high or low) was touched first during the OR period
Extension ↑/↓: Probability that price will break above the high or below the low
Midpoint Retest: Likelihood of price returning to test the midpoint (varies 71-88% based on conditions)
IB Prediction: Predicted direction of Initial Balance (9:30-10:30 AM, varies 50-74%)
Next Break: Most likely direction of next range break (varies 59-80%)
Session Close: Predicted direction of 4:00 PM cash close (varies 49-74%)
Each statistic shows a status indicator:
🟡 Pending (yellow): Condition hasn't been confirmed yet
🟢 Validated (teal): Condition has been met and confirmed
Configuration & Inputs
5-Minute ORB Settings
Colors:
Bullish Color: Color for bullish OR candles (default: bright green)
Bearish Color: Color for bearish OR candles (default: purple)
Bullish Fill / Bearish Fill: Semi-transparent fill colors for the range box
Range Display:
Range Style: Line style for high/low (Solid/Dashed/Dotted)
Width: Border width (1-10)
Show Midline: Toggle midpoint line visibility
Midline Style & Width: Customization for midpoint line
Median Extensions:
Show Median Extensions: Toggle extension levels
Extension Style & Width: Line customization
Show Extension Labels: Display percentage labels on extension lines
LTF Candles:
Show LTF Candles: Toggle 1-minute candle display
Number of Candles: How many recent candles to show (1-20, default: 5)
Offset: Distance from current bar in bars (default: 5)
Candle Spacing: Space between LTF candles (1-5)
Candle Width: Width of each LTF candle body (1-5)
LTF Bullish/Bearish Colors: Colors for LTF candles
Show LTF High/Low Lines: Display range of LTF candles
LTF Range Style, Width & Color: Customization for LTF range lines
15-Minute ORB Settings
(Same structure as 5-minute, with different defaults for LTF offset: 35 bars, and 15 candles)
Labels & Display
Show High/Low/Mid Labels: Toggle price level labels
Show Prices: Include actual price values in labels
Position: Place labels on Left or Right side of range
Statistics Table
Show Statistics Table: Toggle table visibility
Table Position: 9 position options (Top/Middle/Bottom × Left/Center/Right)
Table Size: Text size (Auto/Tiny/Small/Normal/Large/Huge)
Important Notes About LTF Candles
⚠️ Chart Timeframe Requirements:
LTF candles will NOT render properly if your chart timeframe is higher than the ORB timeframe:
For 5-minute ORB: Use chart timeframe ≤ 5 minutes
For 15-minute ORB: Use chart timeframe ≤ 15 minutes
Recommended chart timeframes: 1-minute, 2-minute, or 5-minute for best LTF candle visualization.
The LTF candles are "frozen" at the end of the OR period and displayed to the right of the orb box for the session. They show the internal 1-minute structure of how the opening range formed, which can be valuable for:
Identifying the order of extreme formation
Seeing liquidity sweeps or stop hunts
Understanding the microstructure of the opening auction
How to Read the Statistics Table
The statistics table uses a conditional probability system based on the 5-minute and 15-minute ORB characteristics:
Initial Conditions (Always Shown)
Direction: Bullish if close ≥ open, Bearish if close < open - Always validated
Extreme First: Which level (high or low) was touched first during the OR period - Validated after OR period ends
Progressive Statistics (Shown When Conditions Met)
Extension ↑/↓: Base probabilities that price will eventually break the high/low
Midpoint Retest: Probability varies based on direction + extreme first combination
IB Prediction: Predicted Initial Balance direction based on ORB pattern
Next Break: Most likely next level to break (high or low) based on current conditions
Session Close: Predicted 4PM close direction - only shown after a breakout occurs
Status Indicators
🟡 Pending: Waiting for condition to occur (you're watching for it)
🟢 Validated: Condition has been confirmed (it happened)
Example Interpretation:
5-MIN ORB
Direction: Bullish
Extreme First: Low First
Extension ↑: 84.9%
Extension ↓: 81.0%
Midpoint Retest: 81.8%
IB Prediction: Bullish 68.7%
Next Break: High 79.9%
Session Close: Bullish 67.1%
This tells you:
The 5-min candle closed bullish
The low was tested before the high during 9:30-9:35
Price has broken below the low (Extension ↓ validated)
Despite breaking the low, there's a 79.9% chance the high breaks next
If the high breaks, there's a 67.1% chance of a bullish cash close
Median Extension Levels Explained
The extension levels are NOT stop loss or take profit targets. They represent the median (50th percentile) price extension observed over 12 years of data when the high or low was breached.
5-Minute ORB:
High Extension: +0.41% above the OR high (median upside extension)
Low Extension: -0.45% below the OR low (median downside extension)
15-Minute ORB:
High Extension: +0.38% above the OR high
Low Extension: -0.42% below the OR low
These levels show where price typically extends to, but:
50% of extensions go further than these levels
50% of extensions don't reach these levels
They are reference points, not guarantees
Disclaimer
These Are Statistics, Not Predictions
All probabilities shown in this indicator are derived from historical analysis of 12 years of NQ futures data. They represent what has happened historically, not what will happen.
Important Limitations:
A 75% probability means it happened 75% of the time historically - but also failed 25% of the time
Past performance does not guarantee future results
Market conditions change; regime changes can invalidate historical patterns
Statistics are based on NQ futures only - not valid for other instruments
Risk Warning:
Do NOT trade based solely on these probabilities
Always use proper risk management and position sizing
These statistics should be ONE input among many in your trading decisions
No indicator, system, or probability can eliminate trading risk
You can lose money even when trading "high probability" setups
Recommended Use:
Use probabilities as confluence with your existing trading strategy
Combine with price action, order flow, and market context
Track the statistics yourself to verify they remain valid
Be aware that widely-known statistical edges tend to diminish over time
Technical Considerations
The indicator uses request.security and request.security_lower_tf which may cause repainting on the last bar
LTF candles are "frozen" after the OR period ends to prevent repainting
All statistics are calculated in real-time but validate only after conditions are fully met
The Initial Balance (9:30-10:30 AM) is used for certain probability calculations
Use at your own risk. Trade responsibly.
อินดิเคเตอร์ Pine Script®






















