Mrshahidali420/ORB-Multi-Model-Indicator
Pine Script v6 TradingView indicator: 9 Opening Range Breakout (ORB) models for the NY session with confidence scoring
ORB Multi-Model Indicator
A Pine Script v6 TradingView indicator implementing 7 Opening Range Breakout (ORB) models for the New York session, plus a Combined confidence-scoring mode. Built for discretionary and systematic traders who want multi-model confluence on ORB setups.
Features
- 7 independent ORB models — each with its own OR window, entry TF, and signal logic
- Combined mode — single signal scored by 8 weighted confidence factors; only fires above a minimum score threshold
- Automatic DST handling — NY session detection via IANA timezone (
America/New_York) - Per-model performance dashboard — win rate, streak, score, agreement count, and BEST badge
- 22 alert conditions — one per model direction, plus Combined bull/bear
- Economic event markers — CPI / NFP on Day Bias label (Gold charts)
- OR midline, prime-window highlight — visual aids for the 9:30–10:00 prime window
- OR width filter — optional ATR-based gate to skip low-quality ranges
Models
| # | Name | OR Window | Entry TF | Notes |
|---|---|---|---|---|
| M1 | Classic Crabel | User-configured (5–60 min) | 1-min | Breakout of OR high/low |
| M3 | 5-Min Scalper | First 5 min | 1-min | Tight OR, fast entry |
| M4 | Standard 15-Min | First 15 min | 5-min | Core ORB setup |
| M6 | FVG ORB | First 15 min | 5-min | Requires a Fair Value Gap inside the OR |
| M7 | Gold ORB | 9:30–9:45 EST | 5-min / 15-min | Tuned for XAU/USD |
| M9 | Failed ORB Reversal | Primary OR | 5-min | Counter-consensus reversal |
| M10 | Phase ORB | Phase 1/2/3 state machine | 5-min → 1-min | Breakout → retest → bounce |
M2 (Fisher ACD), M5 (Conservative Retest), and M8 (ICT/Smart Money) were removed after backtesting showed 0–26% win rates across all pairs and timeframes.
Combined Mode
A single signal that fires only when a 15-min OR breakout is confirmed and the confluence score meets the minimum threshold (i_minScore).
Confidence factors (each weighted 0–100):
- Higher-timeframe trend alignment
- RSI momentum
- Relative volume (RVOL)
- VWAP position
- ATR-based volatility
- OR width quality
- Session timing (prime window bonus)
- Multi-model agreement count
Installation
- Open TradingView and go to the Pine Script Editor
- Paste the contents of
ORB_Multi_Model_Indicator.pine - Click Add to chart
- Configure inputs: select Mode (Multi-Model or Combined), enable the models you want, set your reference timeframes
Inputs Overview
| Group | Key Inputs |
|---|---|
| Mode | Multi-Model vs Combined |
| Session | NY session start/end, OR window size |
| Models | Toggle each model on/off |
| Combined | Per-factor weights, minimum score |
| HTF | Higher timeframe for trend filter |
| Visuals | Dashboard, midline, prime window highlight |
| Risk | ATR multiplier for TP/SL levels |
Backtested Performance
See indicator stats - Sheet1.csv for win-rate data across instruments and timeframes used to select the active model set.
Best results observed on:
- AUDUSD — strong across most models
- XAU/USD (Gold) — M7 and Combined mode
- US100 — 1-min charts, M3/M4
Requirements
- TradingView account (free or paid)
- Pine Script v6 (built-in to TradingView editor)
- Recommended chart timeframe: 1-min or 5-min
License
MIT — free to use, modify, and distribute. Attribution appreciated.