Opening Range Boxes Indicator
- Indicateurs
-
Angelus Meichel Vana
Independent algorithmic trading developer focused on designing, developing, testing, and optimizing Expert Advisors for MetaTrader 5.
My focus is on systematic trading, multi-timeframe strategies, risk management, execution logic, backtesting, and robust EA architecture. - Version: 5.0
Opening Range Boxes Multi-Session Indicator
Advanced multi-session opening range breakout indicator with automatic timezone detection, dynamic TP/SL projections, and real-time breakout alerts. Supports up to 5 configurable sessions for Forex, Gold, Silver, and Crypto instruments.
Full Description:
Opening Range Boxes Multi-Session Indicator is a comprehensive visual trading tool designed for traders who implement the Opening Range Breakout (ORB) strategy. This indicator automatically identifies, calculates, and visualizes opening range boxes for multiple trading sessions, complete with entry levels, stop-loss references, and take-profit projections based on actual box height.
Key Features
Automatic Timezone Detection
-
Automatically detects broker server timezone
-
Automatic DST (Daylight Saving Time) adjustment
-
Manual timezone offset option available
-
Compatible with brokers worldwide
Multi-Session Architecture
-
Supports up to 5 independent trading sessions
-
Pre-configured for London Opening, New York Pre-Open, and New York Cash Open
-
Fully customizable session names and times
-
Independent settings for each session
Dynamic Take-Profit Projections
-
Automatic TP calculation based on actual box height
-
4 configurable TP levels per session
-
Decimal multiplier support (0.75×, 1.5×, 2.0×, 3.0×)
-
Automatic short-side TP projections
Box Validation System
-
Configurable minimum and maximum pip ranges
-
Visual distinction between valid and invalid boxes
-
Color-coded boxes for quick identification
-
Option to show or hide invalid boxes
Comprehensive Alert System
-
Real-time breakout alerts (Long/Short)
-
Multiple alert types: Popup, Sound, Push Notification, Email
-
One-time alert per event to prevent spam
-
Customizable sound files
Historical Analysis Capability
-
Display up to 200 historical trading days
-
No repaint - completed boxes remain fixed
-
Built-in visual backtesting functionality
-
Clean and organized chart presentation
Multi-Instrument Compatibility
-
Forex pairs (4/5 digit pricing)
-
JPY pairs (2/3 digit pricing)
-
Gold (XAUUSD) with automatic pip adjustment
-
Silver (XAGUSD) support
-
Cryptocurrency pairs
Performance Optimized
-
Fast loading with visual progress indicator
-
Optimized calculation algorithms
-
Efficient chart object management
-
Compatible with all chart timeframes
How It Works
-
Box Formation: The indicator monitors price action during your specified session window (e.g., London 07:00-08:00 GMT)
-
Range Calculation: Calculates the actual highest high and lowest low within the session period
-
Box Validation: Marks the box as VALID if the range falls within your configured minimum and maximum pip parameters
-
Level Projection: Automatically calculates and draws entry levels, stop-loss references, and take-profit targets
-
Breakout Detection: Triggers alerts when price breaks through entry levels
Default Session Configuration
| Session | Time (GMT) | Min Range | Max Range |
|---|---|---|---|
| London Opening | 07:00 - 08:00 | 10 pips | 30 pips |
| NY Pre-Open | 12:30 - 13:30 | 12 pips | 35 pips |
| NY Cash Open | 14:30 - 15:00 | 8 pips | 25 pips |
| Asian Session | Disabled | 5 pips | 20 pips |
| London Close | Disabled | 5 pips | 25 pips |
Input Parameters
Timezone Settings
-
Timezone Mode (Auto-Detect / Manual)
-
Manual Offset Hours (supports fractional)
-
Auto DST Adjustment (Enable/Disable)
Session Presets
-
Forex Sessions (London, New York)
-
Gold Sessions (auto-adjusted pip ranges)
-
Crypto Sessions (24/7 market hours)
-
Custom (fully manual configuration)
Display Settings
-
Historical Days Display (1-200)
-
Show Invalid Boxes (True/False)
-
Levels Extension Hours (0-24)
-
Loading Progress Display
Alert Settings
-
Enable Alerts
-
Alert Mode (None/Popup/Sound/Push/Email/All)
-
Custom Sound File Selection
Per-Session Configuration (×5 Sessions)
-
Enable/Disable Session
-
Session Name
-
Start Time (Hour/Minute)
-
End Time (Hour/Minute)
-
Minimum Box Pips
-
Maximum Box Pips
-
Entry Buffer Pips
-
SL Buffer Pips
-
Show SL (True/False)
-
TP1 Multiplier (0.1 - 10.0)
-
TP2 Multiplier (0.1 - 10.0)
-
TP3 Multiplier (0.1 - 10.0)
-
TP4 Multiplier (0.1 - 10.0)
-
Valid Box Color
-
Invalid Box Color
-
Line Style (Solid/Dash/Dot/Dash-Dot)
-
Line Width (1-5)
-
Alert on Breakout
Optional Features
-
Average Range Display with Lookback Period
-
Percentile Display with Lookback Period
Recommended Settings
Forex Pairs (EURUSD, GBPUSD, USDJPY)
-
Session Preset: FOREX
-
Default parameters optimized for forex volatility
Gold (XAUUSD)
-
Session Preset: GOLD
-
Automatically adjusts pip ranges (50-200 pips typical)
-
Or manually configure higher pip values
Cryptocurrency
-
Session Preset: CRYPTO
-
Sessions adjusted for 24/7 market conditions
Trading Strategy Example
-
Wait for London Opening box to complete (07:00-08:00 GMT)
-
Verify box is VALID (range within configured parameters)
-
Monitor for breakout above Long Entry or below Short Entry
-
Enter position manually based on breakout direction
-
Set take-profit at projected TP levels
-
Place stop-loss at opposite side of box
Why Choose This Indicator?
-
Accurate Timezone Handling: Never worry about broker timezone differences
-
Professional Visual Design: Clean, organized chart display
-
Flexible Configuration: Every parameter customizable
-
Multi-Instrument Ready: Works across Forex, Metals, and Crypto
-
Performance Optimized: Fast loading with minimal resource usage
Requirements
-
MetaTrader 5 platform
-
Any chart timeframe (recommended: H1)
-
Any broker (auto timezone detection included)
Support
For technical support, feature requests, or custom modifications, please contact the author through MQL5 private messaging system.
Tags:
opening range, breakout, session trading, london session, new york session, range box, take profit, stop loss, alert system, timezone, gold trading, forex indicator, crypto trading, multi-session, visual trading
Category:
Indicators → Trend Analysis
