OPEN-SOURCE SCRIPT
Cập nhật ORB Strategy Timo v14

ORB Strategy — Timo v2 [NQ/MNQ/MGC/MCL]
🔷 Opening Range Breakout — Complete Trading System
The most complete ORB indicator for futures traders. Built specifically for NQ, MNQ, MGC and MCL — but works on any instrument and timeframe.
This is not just an ORB box. It's a full trading system combining breakout detection, trend filters, volume confirmation, trap protection and a live multi-timeframe dashboard — all in one script.
⚡ What makes this different
Most ORB indicators just draw a box. This one tells you:
✅ Is the breakout real — or a fake (Trap Detection)
✅ Is the trend aligned — EMA 9/21/50 filter
✅ Is the volume confirming — Volume Spike analysis
✅ Is the setup worth taking — Quality Score 0–100
✅ What are all timeframes doing — MTF Dashboard M1–D1
📦 Features (14 total)
ORB Box & Sessions
Two independent sessions: London Open (03:00–03:15 ET) and NY Open (09:30–09:45 ET)
Session box grows live during the window, freezes at close
Zone remains visible all day until 00:00 ET midnight reset
Both London AND NY zones visible simultaneously after 15:45 CET
ORH / ORL labels at each level
Equilibrium line at 50% of range (style, width, color all adjustable)
All colors independently configurable per session
EMA 9 / 21 / 50
Three exponential moving averages as trend filter
EMA 9 > 21 = bullish → only BUY signals allowed
EMA 9 < 21 = bearish → only SELL signals allowed
EMA± cross markers at every crossover
All colors and widths adjustable
VWAP
Daily volume-weighted average price
Institutional reference level — smart money reference
VP± cross markers at every crossover
Color and width adjustable
BUY / SELL Signals
Signal arrow appears only when ALL active filters confirm simultaneously:
M1 close outside ORB range (breakout)
EMA alignment in breakout direction
Price on correct VWAP side
Optional: M15 / M5 close confirmation
Optional: First signal per session only
Signal Filters (5 total, all individually toggleable)
Filter
Default
Purpose
EMA Alignment
ON
No counter-trend trades
VWAP Side
ON
With institutional flow
M15 Confirmation
OFF
Safer, fewer signals
M5 Confirmation
OFF
Additional confirmation
First Signal Only
ON
Max 1 trade per session
SL / TP Lines
Automatic dotted lines at signal: Entry (white), SL (red), TP (green)
Price labels right side showing exact levels
Fully configurable: ticks, colors, line length
Linear Regression Trend Channel
2x Standard Deviation channel (covers ~95% of price action)
Dynamic midline: green = uptrend, red = downtrend
Channel width (length), colors, fill all adjustable
MTF Dashboard
Live multi-timeframe bias table (position adjustable):
7 timeframes: M1 · M5 · M15 · M30 · H1 · H4 · D1
Green dot = EMA9 > EMA21 (bullish) | Red dot = bearish
Current signal: BUY / SELL / NEUTRAL
Live ORB levels + Volume ratio + Quality Score
Volume Spike
Color-coded histogram (green/red per candle, gold on spike)
Configurable spike threshold (default: 1.5x average)
Vol label at signal: "VOL SPIKE 2.3x CONFIRMED" or "Vol 0.8x (no spike)"
MA length adjustable
ORB Quality Score (0–100)
Rates the ORB range before you trade:
70–100: SETUP GOOD → Range is ideal, take the trade
40–69: SETUP OK → Acceptable, trade carefully
0–39: SETUP WEAK → Too small or too large, wait
Based on ATR(14) ratio — label appears right after ORB close
Red background warning when score < 40
Trap Detection
Identifies fake breakouts automatically:
BULL TRAP: Price breaks above ORH but returns within X bars → buyers trapped
BEAR TRAP: Price breaks below ORL but returns within X bars → sellers trapped
Label + background highlight on detection
Bars threshold adjustable (default: 3)
Dedicated alert condition
ORB Statistics Box
Daily trade tracker (resets at configurable hour ET):
Trades / Wins / Losses / Win Rate / Simulated P&L / Status
Color coded: green ≥ 60% WR, yellow ≥ 40%, red below
Position adjustable (4 corners)
⚙️ Settings Overview
14 groups in the settings panel:
London Session (times, 4 colors)
NY Open Session (times, 4 colors)
ORB Box & Lines (box, lines, labels, midline, background)
EMA Settings (periods, colors, cross markers)
VWAP Settings (color, width, cross markers)
Signal Arrows (colors, size: Tiny/Small/Normal/Large)
Signal Filter (5 toggles)
SL / TP (ticks, colors, length)
Trend Channel (length, colors, fill)
MTF Dashboard (position, signal name)
Volume Spike (MA length, threshold, colors)
ORB Quality Score (ATR length, min/max range %, colors)
Trap Detection (bars threshold, colors, alert toggle)
ORB Statistics Box (position, reset hour)
📐 Recommended Setup
Setting
Value
Timeframe
M1 (entry)
London ET
03:00–03:15
NY Open ET
09:30–09:45
TV Timezone
America/New_York
EMA Filter
ON
VWAP Filter
ON
M15/M5 Filter
OFF (optional)
SL Ticks NQ
40 = $200
TP Ticks NQ
80 = $400
SL Ticks MNQ
40 = $60
TP Ticks MNQ
80 = $120
🔔 Alerts (9 total)
ORB BUY Signal
ORB SELL Signal
EMA Cross UP / DOWN (in session)
VWAP Cross UP / DOWN (in session)
ORB Range Set (window closed, ready for breakout)
BULL TRAP detected
BEAR TRAP detected
📋 Tags
ORB opening range breakout NQ MNQ MGC MCL futures prop firm Topstep IQ Capital session EMA VWAP breakout trap detection volume multi timeframe dashboard quality score linear regression
Built for prop firm traders on NQ/MNQ. Respects IQ Capital Position Loss (0.5% = $250/trade) and Topstep Trailing Drawdown rules by design.
This indicator is for informational purposes only. Past performance does not guarantee future results. Always trade with proper risk management.
🔷 Opening Range Breakout — Complete Trading System
The most complete ORB indicator for futures traders. Built specifically for NQ, MNQ, MGC and MCL — but works on any instrument and timeframe.
This is not just an ORB box. It's a full trading system combining breakout detection, trend filters, volume confirmation, trap protection and a live multi-timeframe dashboard — all in one script.
⚡ What makes this different
Most ORB indicators just draw a box. This one tells you:
✅ Is the breakout real — or a fake (Trap Detection)
✅ Is the trend aligned — EMA 9/21/50 filter
✅ Is the volume confirming — Volume Spike analysis
✅ Is the setup worth taking — Quality Score 0–100
✅ What are all timeframes doing — MTF Dashboard M1–D1
📦 Features (14 total)
ORB Box & Sessions
Two independent sessions: London Open (03:00–03:15 ET) and NY Open (09:30–09:45 ET)
Session box grows live during the window, freezes at close
Zone remains visible all day until 00:00 ET midnight reset
Both London AND NY zones visible simultaneously after 15:45 CET
ORH / ORL labels at each level
Equilibrium line at 50% of range (style, width, color all adjustable)
All colors independently configurable per session
EMA 9 / 21 / 50
Three exponential moving averages as trend filter
EMA 9 > 21 = bullish → only BUY signals allowed
EMA 9 < 21 = bearish → only SELL signals allowed
EMA± cross markers at every crossover
All colors and widths adjustable
VWAP
Daily volume-weighted average price
Institutional reference level — smart money reference
VP± cross markers at every crossover
Color and width adjustable
BUY / SELL Signals
Signal arrow appears only when ALL active filters confirm simultaneously:
M1 close outside ORB range (breakout)
EMA alignment in breakout direction
Price on correct VWAP side
Optional: M15 / M5 close confirmation
Optional: First signal per session only
Signal Filters (5 total, all individually toggleable)
Filter
Default
Purpose
EMA Alignment
ON
No counter-trend trades
VWAP Side
ON
With institutional flow
M15 Confirmation
OFF
Safer, fewer signals
M5 Confirmation
OFF
Additional confirmation
First Signal Only
ON
Max 1 trade per session
SL / TP Lines
Automatic dotted lines at signal: Entry (white), SL (red), TP (green)
Price labels right side showing exact levels
Fully configurable: ticks, colors, line length
Linear Regression Trend Channel
2x Standard Deviation channel (covers ~95% of price action)
Dynamic midline: green = uptrend, red = downtrend
Channel width (length), colors, fill all adjustable
MTF Dashboard
Live multi-timeframe bias table (position adjustable):
7 timeframes: M1 · M5 · M15 · M30 · H1 · H4 · D1
Green dot = EMA9 > EMA21 (bullish) | Red dot = bearish
Current signal: BUY / SELL / NEUTRAL
Live ORB levels + Volume ratio + Quality Score
Volume Spike
Color-coded histogram (green/red per candle, gold on spike)
Configurable spike threshold (default: 1.5x average)
Vol label at signal: "VOL SPIKE 2.3x CONFIRMED" or "Vol 0.8x (no spike)"
MA length adjustable
ORB Quality Score (0–100)
Rates the ORB range before you trade:
70–100: SETUP GOOD → Range is ideal, take the trade
40–69: SETUP OK → Acceptable, trade carefully
0–39: SETUP WEAK → Too small or too large, wait
Based on ATR(14) ratio — label appears right after ORB close
Red background warning when score < 40
Trap Detection
Identifies fake breakouts automatically:
BULL TRAP: Price breaks above ORH but returns within X bars → buyers trapped
BEAR TRAP: Price breaks below ORL but returns within X bars → sellers trapped
Label + background highlight on detection
Bars threshold adjustable (default: 3)
Dedicated alert condition
ORB Statistics Box
Daily trade tracker (resets at configurable hour ET):
Trades / Wins / Losses / Win Rate / Simulated P&L / Status
Color coded: green ≥ 60% WR, yellow ≥ 40%, red below
Position adjustable (4 corners)
⚙️ Settings Overview
14 groups in the settings panel:
London Session (times, 4 colors)
NY Open Session (times, 4 colors)
ORB Box & Lines (box, lines, labels, midline, background)
EMA Settings (periods, colors, cross markers)
VWAP Settings (color, width, cross markers)
Signal Arrows (colors, size: Tiny/Small/Normal/Large)
Signal Filter (5 toggles)
SL / TP (ticks, colors, length)
Trend Channel (length, colors, fill)
MTF Dashboard (position, signal name)
Volume Spike (MA length, threshold, colors)
ORB Quality Score (ATR length, min/max range %, colors)
Trap Detection (bars threshold, colors, alert toggle)
ORB Statistics Box (position, reset hour)
📐 Recommended Setup
Setting
Value
Timeframe
M1 (entry)
London ET
03:00–03:15
NY Open ET
09:30–09:45
TV Timezone
America/New_York
EMA Filter
ON
VWAP Filter
ON
M15/M5 Filter
OFF (optional)
SL Ticks NQ
40 = $200
TP Ticks NQ
80 = $400
SL Ticks MNQ
40 = $60
TP Ticks MNQ
80 = $120
🔔 Alerts (9 total)
ORB BUY Signal
ORB SELL Signal
EMA Cross UP / DOWN (in session)
VWAP Cross UP / DOWN (in session)
ORB Range Set (window closed, ready for breakout)
BULL TRAP detected
BEAR TRAP detected
📋 Tags
ORB opening range breakout NQ MNQ MGC MCL futures prop firm Topstep IQ Capital session EMA VWAP breakout trap detection volume multi timeframe dashboard quality score linear regression
Built for prop firm traders on NQ/MNQ. Respects IQ Capital Position Loss (0.5% = $250/trade) and Topstep Trailing Drawdown rules by design.
This indicator is for informational purposes only. Past performance does not guarantee future results. Always trade with proper risk management.
Phát hành các Ghi chú
Update FinalePhát hành các Ghi chú
update 21.06Phát hành các Ghi chú
Update 02.07 bugsPhát hành các Ghi chú
Update ...Phát hành các Ghi chú
update 08.07Phát hành các Ghi chú
update 10.07Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.