User Guide
Complete guide to ORB Revolution Expert Advisor
1. About ORB Revolution EA
ORB Revolution EA is a next-generation MetaTrader 5 Expert Advisor that automates the Opening Range Breakout (ORB) strategy, a proven approach for capturing market momentum after the initial range of the trading session. This EA is engineered for both breakout and reversal trading, offering a suite of advanced features: multi-layered filters (volatility, trend, time, day, news), comprehensive risk management system (daily loss limiter, profit targets, partial TP, trailing stop, breakeven), trade obfuscation, and a real-time performance panel. It is ideal for traders who demand precision, flexibility, and transparency in their automated trading.
2. System Intent
ORB Revolution EA is built to protect capital, respect rules, and execute with discipline. It is not a black box — it is a framework you control. Understanding whether this system aligns with your trading approach is essential before deploying it live.
ALIGNED WITH THIS SYSTEM
- Users who understand and adapt their strategy
- Those seeking repeatable execution, not luck
- Prop firm traders operating under strict rules
- Traders who prioritize drawdown control
MISALIGNED WITH THIS SYSTEM
- Shortcut-seekers chasing fast profits
- No interest in understanding risk
- Grid or martingale dependency
- Black-box expectations
ORB Revolution EA is built to protect capital, respect rules, and execute with discipline.
3. Supported Strategies
Mix and match these features to create a strategy that fits your risk profile and market view:
Classic ORB
Trade breakouts from the morning range, with or without confirmation candle.
ORB with Volatility/Trend Filter
Only trade when the market is volatile or trending.
ORB with News Avoidance
Avoid trading during major news or holidays.
ORB with Risk Management
Enforce daily loss limits and profit targets for prop firm compliance and disciplined trading.
ORB with Partial TP and Trailing
Take profits in stages and lock in gains with trailing stops.
ORB + Reversal
Trade reversals after failed breakouts or wick rejections.
Day/Time-Filtered ORB
Only trade on specific days or during certain hours.
Obfuscated ORB
Hide your trading logic from brokers for added security.
4. Using the Features – Step-by-Step
Initial Setup
- 1. Attach the EA to your desired chart and timeframe
- 2. Configure all input parameters according to your trading plan
- 3. Enable/disable features as needed (breakout, reversal, news filter, etc.)
Range Calculation
The EA calculates the high, low, open, and close between your specified start and end times. This range is visually drawn on the chart (if enabled). All trade logic is based on this range.
Breakout Trades
When price breaks above the range high (for buys) or below the range low (for sells), the EA checks all filters (time, volatility, trend, day, news). If all filters pass, a trade is opened with your specified lot size, SL, and TP. Optional features include partial TP, breakeven, and trailing stop.
Reversal Trades
If enabled, reversal trades are triggered after a breakout, under certain conditions (e.g., failed breakout, wick rejection). All filters are checked before opening a reversal trade. Reversal trades have their own independent risk and management settings.
Filters
- • Volatility Filter: Only allows trades if the range size is within your specified min/max percentage
- • Oscillator Filter: Uses Bollinger Bands to classify market conditions (Neutral, Trend, Strong Trend)
- • Trend Filter: Uses Intraday VWAP or Moving Average to determine trend direction
- • Time/Day Filter: Restricts trading to certain hours or days
- • News Filter: Blocks trading during high-impact news or holidays
Risk Management
- • Daily Loss Limiter: Monitors daily loss and blocks trading if the limit is breached
- • Profit Target System: Stops trading or closes positions when daily or cumulative profit goals are achieved
- • Partial Take Profit: Closes a portion of the position at predefined profit levels
- • Breakeven: Moves SL to entry price after a certain profit is reached
- • Trailing Stop: Dynamically moves SL to lock in profits using range multiples or candle highs/lows
Obfuscation
When enabled, the EA randomizes order prices and execution times, and can hide SL/TP from the broker, making your trading less predictable and more private.
5. ORB Revolution EA — Inputs Guide
This section explains every input in ORB Revolution in plain language, with practical notes on how each setting affects execution. The EA is designed for disciplined, risk-controlled automation. Many parameters use RSM (Range Size Multiples), which means values scale automatically with the session's opening range.
Important Notes
- • RSM (Range Size Multiples) = a multiplier of the calculated opening range size. Example: if the range is 100 points, 0.5 RSM = 50 points.
- • Use different Magic Numbers for different EA instances to avoid trade-management conflicts.
- • If you enable News Filter, ensure the news URL is whitelisted in MT5 (WebRequest allowed URLs).
- • When using Obfuscation (virtual TP/SL), your broker will not "see" the real TP/SL. Make sure your VPS/terminal is stable.
- • For prop-firm style trading, combine: Risk Management System + News Filter + Day/Time Filters.
General EA Settings
- • Magic Number: Unique identifier for the EA's trades. Use a different number for each EA instance to avoid trade conflicts. Example:
20260107 - • Strategy Name: A new concept introduced by ORB Revolution to identify, track, and analyze trading strategies beyond the traditional Magic Number. Example:
ORB_EA - • Log Level: Controls the verbosity of EA logging output in the Experts tab:
- ◦ Errors Only: Only critical errors are logged
- ◦ General Information: Standard operational logs (recommended for most users)
- ◦ Detailed Debug: Comprehensive logging for troubleshooting and validation
- • Show Information Panel: If enabled, displays a real-time dashboard on the chart with strategy status, filters, trades, and performance metrics.
- • Panel Scale: Adjusts the panel display size to match your screen resolution:
- ◦ Standard (1080p): Default size optimized for Full HD displays (recommended for most users)
- ◦ Large (1440p): Increased size for 2K/QHD monitors
- ◦ Extra Large (4K): Maximum size for 4K/UHD displays and ultra-wide monitors
- • Push Notifications: Sends real-time alerts to your MetaTrader mobile app. Two levels are available:
- ◦ Critical — High-priority events only:
- – Trade opened
- – Trade closed (with reason)
- – Daily drawdown limit hit
- – Target profit reached
- ◦ Important — All Critical alerts, plus:
- – Breakeven triggered
- – Partial TP triggered
- – Trailing stop triggered
- – Range is building
- – Range is trading
- – Range closed
- ◦ Critical — High-priority events only:
⚠ Setup Required — MT5 Push Notifications
To receive push notifications on your phone, you must link your MetaQuotes ID (MQID) in MetaTrader 5:
- Open MetaTrader 5 on your mobile device and tap the notification bell icon (top bar) to find your MetaQuotes ID.
- In MT5 on your PC, go to Tools → Options → Notifications.
- Check Enable Push Notifications and enter your MQID in the field provided.
- Click Test to confirm the connection, then OK.
Step 1 — Find your MQID in the mobile app

Step 2 — Enter MQID in MT5 desktop Options

Why this matters
Traditionally, Expert Advisors rely solely on a Magic Number to differentiate trades. While technically effective, this approach has a major practical limitation: traders rarely remember which Magic Number belongs to which strategy. Over time—especially when running multiple EAs, presets, or optimizations—tracking the performance of a specific strategy becomes confusing and error-prone.
To solve this, ORB Revolution introduces the concept of a human-readable Strategy Name. Instead of remembering whether your strategy was assigned Magic Number 1021 or 2045, you simply name it something meaningful—such as "NASDAQ ORB", "London ORB Conservative", or "US Open Reversal".
By using the same Strategy Name consistently:
- • The EA can automatically retrieve historical trades linked to that strategy
- • Performance metrics are aggregated and displayed in the panel
- • You gain clear long-term visibility over a strategy's behavior and results
- • Strategy tracking remains intact even if the Magic Number changes
You may forget whether a strategy used Magic Number 1, 17, or 4096 — but you will never forget that you named it "NASDAQ ORB".
In short, Strategy Name transforms the EA from a trade executor into a strategy-aware system, making analysis, optimization, and long-term tracking significantly clearer and more intuitive.
Panel Components Explained
The information panel is a powerful real-time dashboard that provides comprehensive visibility into your strategy's performance, current market conditions, and filter status—all directly on your chart. Enable it in General EA Settings and adjust the scale to match your screen resolution.

Components Overview
Strategy Information
Displays your strategy name, EA version, and current trading session details including range start/end times.
Range Data
Shows the current opening range's high, low, open, and close values, along with the calculated range size. This is the foundation for all breakout and reversal calculations.
Active Trades Section
Displays all open positions (breakout and reversal) with entry price, stop loss, take profit, current profit/loss, and trade direction. Each trade shows real-time P&L updates.
Filter Status Indicators
Visual indicators (green = pass, red = blocked) for all active filters:
- • Time Filter: Shows if current time is within allowed trading window
- • Volatility Filter: Indicates if range size meets volatility requirements
- • Oscillator Filter: Shows oscillator condition status based on Bollinger Bands
- • Trend Filter: Shows trend alignment status based on VWAP or Moving Average
- • Day Filter: Confirms if today is an allowed trading day
- • News Filter: Alerts when news events block trading
Risk Management Status
Displays current daily loss percentage, profit target progress, distance to limits, and time until daily reset. Shows breach status, remaining protection buffer, and profit target achievement.
Performance Table (Top 5 Strategies)
Ranks your top-performing strategies based on the Strategy Name parameter. Shows:
- • Total profit/loss per strategy
- • Win rate percentage
- • Total number of trades executed
- • Average profit per trade
This allows you to compare multiple strategies running simultaneously and identify which configurations perform best.
Alerts & Notifications
Real-time warnings for upcoming news events, daily loss approaching limit, profit targets nearly reached, filter blocks, and session time changes.
Pro Tip
The panel is designed to be your central command center. Keep it visible during live trading to monitor filter status, track daily loss and profit targets in real-time, and compare strategy performance—all without switching windows or opening trade history.
Range Settings
The EA builds an Opening Range between the start and end time. The highest high and lowest low in that window define the range, and the EA uses it to compute breakout/reversal levels and risk distances.
📘 Helper Text
RSM means Range Size Multiples - values scale automatically with the session's opening range size.
- • Range Start Hours (0-23) / Minutes (0-59): Time when the EA starts calculating the opening range. Example:
10:30 - • Range End Hours (0-23) / Minutes (0-59): Time when the range calculation ends. The high/low between start and end define the range. Example:
15:45 - • Range Close Hours (0-23) / Minutes (0-59): Time when all trades are closed and the range is reset for the next session. Example:
20:00 - • Close trades at Range Close Time: If enabled, all open trades are automatically closed at the session close time (hard session cut-off). Useful for intraday strategies.
- • Shift Mode: Controls how the shift from range extremum is calculated. Options:
- ▸ Disabled: No shift applied - entries trigger exactly at range high/low.
- ▸ Points: Shift measured in fixed points (standard MT5 points).
- ▸ Range Size Multiples (RSM): Shift scales automatically based on the range size. More adaptive to market volatility.
- • Shift from Range Extremum (Points or RSM): Adds a buffer to breakout levels. The value interpretation depends on the Shift Mode:
- ▸ When Points mode: Value is in fixed points. Example:
10= 10 points buffer. - ▸ When RSM mode: Value is a multiplier of the range size. Example:
0.1= 10% of range size. - ▸ Higher values = fewer triggers (less sensitive). Lower values = more triggers (more sensitive). Set to
0for immediate breakout.
- ▸ When Points mode: Value is in fixed points. Example:
- • Draw Range: If enabled, the EA draws the calculated range on the chart for visual reference.
- • Range Color: The color used for the range box/lines on the chart. Example:
DodgerBlue
General Trade Settings
Top-level controls for trade direction, strategy enablement, and volatility measurement.
- • Allow Buy Trades: Enable or disable buy (long) direction independently. Useful for directional bias or one-way strategies.
- • Allow Sell Trades: Enable or disable sell (short) direction independently. Useful for directional bias or one-way strategies.
- • ATR Period (for volatility filters): ATR period used by volatility filters to measure market movement intensity. Example:
3for short-term volatility assessment. - • Deactivate Breakout: If enabled, breakout trades are completely disabled for the session. Only reversal trades (if enabled) will be taken.
- • Deactivate Reversal: If enabled, reversal trades are completely disabled for the session. Only breakout trades (if enabled) will be taken.
- • Deactivate Reversal when Breakout closes in profit: If enabled, reversal is not allowed if the breakout trade ended profitably. This prevents "flipping" direction after a successful breakout move.
- • Use Candle Close SL (BO + RE): When enabled, the hard stop loss becomes a virtual SL. The EA monitors the SL level but does not close the trade on a price touch — it only exits when a candle closes beyond the SL level. This prevents premature stop-outs from wicks and intra-candle spikes, and applies to both Breakout and Reversal trades. Example:
false= standard hard SL. - • CC SL: Candle Timeframe: The timeframe used to determine candle closes when Use Candle Close SL is active. Choose a timeframe that matches your holding period — a smaller timeframe reacts faster, while a larger one gives the trade more room on wicks. Example:
5 Minutes. Only relevant when Use Candle Close SL is enabled. - • Max Risk % of Balance per trade (0 = disabled): A safety cap for small accounts trading high-margin instruments (e.g., Gold, BTC). When the EA calculates position size using % risk and the minimum allowed lot (e.g.,
0.01) still results in an actual risk that exceeds this threshold, the trade is skipped rather than entered with oversized risk. Example: a 1% risk target on a $1,000 account with a 5,000-point Gold SL may produce a $50 exposure (5%) at minimum lot — setting this to3.0would skip such trades. Set to0to disable.
Entry Engine Settings
Controls how and when the EA pulls the trigger on a valid setup — entry type, candle confirmation, distance filters, and retest precision.
- • Entry Type: Selects the entry mode — Breakout (immediate cross of range boundary), Retest (wait for price to pull back to the boundary after breaking), or both.
- • Candle Close Confirmation: If enabled, an entry triggers only after a candle closes beyond the range boundary. If disabled, entries fire immediately on breakout. Example:
falsefor immediate execution. - • Confirmation Candle Timeframe: Timeframe used for the confirmation candle (e.g., M5, M15). Only relevant when Candle Close Confirmation is enabled.
- • Max Candle Close Distance in RSM (0 = disabled): Maximum allowed distance between the candle close and the range boundary at entry time, measured in Range Size Multiples. Set to
0to disable and allow entries at any distance. - • Retest: Validation Level in RSM: Minimum distance price must travel beyond the range before the retest entry arms. Prevents triggering on shallow probes. Example:
0.5= price must move at least half the range size beyond the boundary. - • Retest: Entry Offset in RSM: Adjusts the exact entry price relative to the range boundary for retest trades.
0.0= enter at the range edge;0.5= enter at mid-range.
Breakout Trade Settings (BO)
Breakout logic trades the range expansion beyond the opening range boundary. BO parameters affect sizing, entry eligibility, and how the position is managed.
Independent Risk Configuration
IMPORTANT: Breakout (BO) and Reversal (RE) trades have completely independent risk settings. Each strategy type calculates position size separately based on its own Volume Type and risk parameters. Pay close attention when configuring both—if you set BO to 1% risk and RE to 1% risk, you could have 2% total account risk if both trade simultaneously.
Position Sizing (Risk Per Position)
- • BO: Volume Type: Defines how risk per position is calculated. Options include:
- ◦ Fixed Lot: Always trade a fixed lot size regardless of account balance or stop loss distance
- ◦ % Risk: Risk a percentage of your account equity on each trade (recommended for most traders)
- ◦ Fixed Money Risk: Risk a fixed dollar/currency amount per trade
- • BO: Volume / Risk / Money Value: The numeric value used for the selected sizing method. Examples:
0.01lots,1% risk,100$ risk.
Stops & Targets (RSM-based)
- • BO: SL Mode: Selects how the stop loss is calculated. Two options:
- ◦ Stop Loss in RSM: Fixed distance from entry as a multiple of the range size (e.g., 0.5 = half the range away).
- ◦ Stop Loss by Structure: SL is placed at the last valid swing point (high/low) — dynamic and market-context aware.
- • BO: SL in RSM (if RSM mode): The RSM distance used for the stop loss when SL Mode is set to Stop Loss in RSM. Example:
1.0= SL is one full range size from entry. Ignored when Structure mode is active. - • BO: Structure Left / Right Bars: (Structure mode only) Number of bars required on each side of a swing point to consider it valid. Higher values produce fewer but more significant swing points.
- • BO: SL Offset in Points: A fixed offset added to the calculated SL price, expressed in points. Use this to push the stop a few points beyond the structural level or RSM distance to account for spread and slippage. Example:
0= no offset. - • BO: Max SL Mode: Defines what the EA does when the calculated SL distance exceeds the configured maximum. Three options:
- ◦ Disabled: No maximum SL cap — the EA always uses the full calculated SL regardless of size.
- ◦ Skip Trade: If the SL exceeds the maximum, the trade is skipped entirely.
- ◦ Adjust SL: If the SL exceeds the maximum, it is clamped to the max value and the trade is taken with the reduced SL.
- • BO: Max SL in RSM (used when mode != Disabled): The maximum allowed SL distance as a multiple of the range size. Only evaluated when Max SL Mode is set to Skip Trade or Adjust SL. Example:
2.0= SL cannot exceed twice the range size. - • BO: Take Profit in RSM (0 = No TP): Take profit distance as a multiple of the range size. Use 0 to disable fixed TP.
Time Filter (Optional Gate)
- • BO: Use Time Filter: Restrict breakout entries to a specific time window.
- • BO: Not Before Hour / Minute: Earliest time breakout entries are allowed.
- • BO: Not After Hour / Minute: Latest time breakout entries are allowed.
Volatility Filter
- • BO: Use Volatility Filter: Trade only if volatility conditions are met.
- • BO: Volatility Action: Defines whether to trade when volatility is above, below, or within a target range.
- • BO: Volatility Condition: The exact rule applied (e.g., Range > max, Range < min, min < Range < max).
- • BO: Min / Max Range %: Minimum and maximum allowed range size as a % of the reference (commonly ATR-based).
Oscillator Filter
- • BO: Use Oscillator Filter: Trade only if the oscillator filter passes.
- • BO: Oscillator Action: Include or exclude certain market conditions.
- • BO: Oscillator Condition: Choose the market condition — Neutral (within Deviation 1), Trend (between Deviation 1 and 2), or Strong Trend (outside Deviation 2).
- • BO: Timeframe: Timeframe used for the Bollinger oscillator reading.
- • BO: Period: Bollinger Band length (based on EMA).
- • BO: Deviation 1 / 2: Bollinger Band deviations describing market conditions — Neutral = within Deviation 1, Trend = between Deviation 1 and 2, Strong Trend = outside Deviation 2.
Trend Filter
- • BO: Use Trend Filter: Choose between using Intraday VWAP or Moving Average as the trend filter.
- • BO: VWAP Start Hour: Hour to anchor the intraday VWAP.
- • BO: VWAP Start Minute: Minute to anchor the intraday VWAP.
- • BO: MA Period: Length of the Moving Average.
- • BO: MA Timeframe: Timeframe of the Moving Average.
- • BO: MA Type: Moving Average type (SMA, EMA, WMA, etc.).
- • BO: Logic: Normal logic (Buy Above / Sell Below) or Reverse Logic (Sell Above / Buy Below).
Breakeven
- • BO: Use Breakeven: If enabled, the EA moves SL to breakeven once profit reaches the trigger threshold.
- • BO: BE Trigger in RSM: Profit distance (in RSM) required to trigger breakeven.
- • BO: BE Guard in RSM: Extra distance added beyond breakeven for safety, measured in Range Size Multiples. Covers commission and slippage to prevent premature stop-outs.
Trailing Stop
- • BO: Use Trailing Stop: Enables trailing stop management.
- • BO: Trail Trigger in RSM: Profit distance required to start trailing.
- • BO: Trail Step Mode: Trailing method: by range size step (SD) or by candle high/low.
- • BO: Trail Step in RSM: Trailing step size (when using SD/range mode).
- • BO: Candle Lookback: Number of candles used for trailing (candle mode).
- • BO: Candle Timeframe: Timeframe used for trailing (candle mode).
- • BO: Trail only when SL in profit: If enabled, trailing starts only after the SL is already in profit.
Partial Take Profit
- • BO: Use Partial Take Profit: Enables partial position closes at pre-defined levels.
- • BO: TP1 Enabled / Trigger / Close %: Enable TP1, set trigger (RSM), and define the percentage to close.
- • BO: TP2 Enabled / Trigger / Close %: Enable TP2, set trigger (RSM), and define the percentage to close.
Practical Tip (Breakout)
If you want fewer trades and cleaner conditions, use Trade on Candle Close + a stricter Volatility Filter. If you want more responsive entries, use immediate mode but consider adding a larger Shift from Range Extremum.
Reversal Trade Settings (RE)
Reversal logic attempts to trade a rejection/rotation after an extension beyond the range. The RE parameter set is identical to the Breakout (BO) configuration — every group (Position Sizing, SL Mode, Stops & Targets, Time Filter, Volatility Filter, Oscillator Filter, Trend Filter, Breakeven, Trailing Stop, Partial TP) exists for RE with the exact same behaviour. Simply substitute RE: for BO: on every parameter name and refer to the Breakout Trade Settings section above for full descriptions.
Independent Risk Configuration
IMPORTANT: BO and RE risk settings are completely independent. Each calculates its own position size. If both are set to 1% risk and fire simultaneously, total account exposure is 2%.
Practical Tip (Reversal)
If you trade both BO and RE, consider enabling Deactivate Reversal when Breakout closes in profitin the General Trade Settings to reduce overtrading and prevent "flip-flopping" behavior.
News Filter Settings
The news filter blocks trading around economic events. It can also take pre-news actions to reduce exposure. Want to backtest with news filtering? See the News Backtesting section below.
⚙️ MT5 WebRequest Configuration Required
For the news filter to work, you must whitelist the Investing.com news feed URL in MetaTrader 5:
- In MT5, go to Tools → Options → Expert Advisors
- Check "Allow WebRequest for listed URLs"
- Add this URL:
https://sslecal2.investing.com/ - Click OK and restart MT5
Event Filtering
- Currencies (USD,EUR,...) — Comma-separated list of currencies to watch (e.g.,
USD,EUR). Only events affecting these currencies are considered relevant. Holiday detection also uses this list — only holidays associated with the selected currencies are blocked. - Don't trade on Holidays (auto-detect) — Blocks trading on holidays detected for the currencies you have selected. Holiday detection is currency-specific: if you trade USD pairs only, only USD market holidays are blocked.
Day-Level Blocking
- All-Day keywords (comma-separated) — Keywords used exclusively by the day-level block (Don't trade all day on News). An event must match one of these keywords to trigger the all-day block. Example:
CPI,FOMC,Payrolls. Leave blank to match all events for the selected currencies. - Trade only days with news events — When ON, the EA only trades on days where at least one qualifying event exists (matched by All-Day keywords and currencies). All other days are blocked.
- Don't trade all day on News — Blocks the entire trading day whenever a qualifying event (matching All-Day keywords and currencies) is scheduled, regardless of event time.
Time-Window Restriction
- Use Window Restriction on News — Instead of blocking the whole day, blocks only a configurable time window around each qualifying event. Evaluated after holiday and all-day checks.
- Window-only block keywords (comma-separated) — A separate keyword list used exclusively by the window restriction. Only events matching these keywords trigger the time window block. Example:
PPI. This lets you apply a tight window block for certain events while using a different (or no) keyword list for the all-day block. - Stop trading before news in minutes — How many minutes before the event the window block starts. Only active when Use Window Restriction on News is ON.
- Start trading after news in minutes — How many minutes after the event trading resumes. Only active when Use Window Restriction on News is ON.
Pre-News Action
- Take action before news — When ON, the EA performs an action on open trades a set number of minutes before each news event fires.
- Action before X minutes — How many minutes before the event the action is triggered. Requires Take action before news to be ON.
- Action on Open Trades — What to do with open trades before news (e.g., close all, close winners, move to break-even, keep all trades).
News Filter — Decision Matrix
The EA evaluates filters in priority order: Holidays › All-Day Block › Window Block › News-Only Gate. The table below maps every setting combination to its exact outcome.
| Avoid Holidays | All Day No Trade | Use Window | Trade Only News | Day Condition | Time Condition | Result |
|---|---|---|---|---|---|---|
| OFF | OFF | OFF | OFF | any | any | ✅ PASS |
| ON | — | — | — | Holiday | — | ❌ BLOCKED |
| — | ON | — | — | High impact news today | — | ❌ BLOCKED |
| ON | ON | — | — | Holiday | — | ❌ BLOCKED |
| ON | ON | — | — | High impact news, not holiday | — | ❌ BLOCKED |
| any | any | ON | — | No day block | Inside window | ❌ BLOCKED |
| any | any | ON | — | No day block | Outside window | ✅ PASS |
| — | — | — | ON | No qualifying news | — | ❌ BLOCKED |
| — | — | — | ON | Has qualifying news | — | ✅ PASS |
| ON | — | — | ON | Holiday | — | ❌ BLOCKED |
| ON | — | — | ON | Not holiday, has news | — | ✅ PASS |
| ON | — | — | ON | Not holiday, no news | — | ❌ BLOCKED |
| — | ON | — | ON | High impact news today | — | ✅ PASS * |
| any | any | ON | ON | Has news, no day block | Inside window | ❌ BLOCKED |
| any | any | ON | ON | Has news, no day block | Outside window | ✅ PASS |
* Trade Only News ON overrides All Day No Tradewhen a qualifying news event exists on that day — the news itself satisfies the "only news days" gate.
How to Backtest News?
The EA now supports backtesting of news-driven strategies by replaying a historical news feed from your own Backtest.csv file.
To enable this feature, simply place Backtest.csvinto MetaTrader 5's common files folder before launching your backtests:
- In MetaTrader 5, go to File → Open Data Folder.
- In the Explorer window that opens (e.g.
…\AppData\Roaming\MetaQuotes\Terminal\<InstanceID>\MQL5\Files), click the "Up" button or navigate back to the Terminal folder. - Open the Common subfolder (full path example:
C:\Users\<YourUser>\AppData\Roaming\MetaQuotes\Terminal\Common\Files). - Copy Backtest.csv into that Common folder.
- Restart the Strategy Tester (or reload the EA) so it picks up the new news feed.
Note: The CSV is updated every end of month, and contains data from 2020 and forward.
Days Filter Settings
- • Use Day Control: Enable/disable day-based trading rules.
- • Trade Monday–Sunday?: Choose which weekdays the EA is allowed to trade.
Obfuscation Settings (Optional)
Obfuscation is an advanced option that can randomize execution and hide levels. Use carefully and only if you understand the operational implications.
- • Enable Trade Obfuscation: If enabled, hides trade details and randomizes execution.
- • Min / Max Price Offset (points): Randomizes entry/exit prices within this points range.
- • Min / Max Time Delay (ms): Randomizes order execution timing.
- • Hide TP/SL (use virtual levels): Conceals stop loss/take profit from the broker (EA manages them virtually).
Operational Note
If you enable virtual TP/SL, keep the EA running continuously (VPS recommended). If the terminal is offline, virtual protection cannot be enforced.
⚠️ Backtesting with Obfuscation — Unreliable Results
Backtest results with obfuscation enabled are not reliable and should not be used to evaluate strategy performance. The Strategy Tester feeds time in second-level intervals, whereas obfuscation's time delay logic operates in milliseconds in live conditions — this mismatch means execution randomisation behaves very differently during a backtest than it does on a live or demo account.
Recommendation: Disable obfuscation when running backtests. To validate obfuscation behaviour, attach the EA to a chart on a demo account and observe live execution in real-time.
Risk Management System (Optional)
The Risk Management System provides comprehensive safety for strict risk regimes, including prop-firm challenge rules and funded account requirements. It offers two independent protection mechanisms: Daily Loss Limiter and Profit Target System. When either threshold is hit, trading is blocked and optional actions may be executed.
Multi-EA Risk Management Coordination
IMPORTANT: Only ONEORB Revolution EA instance should have Risk Management enabled on your account. This designated "master" EA monitors the entire account and coordinates protection across all ORB Revolution EAs using global variables.
How it works:
- • The EA with Risk Management enabled acts as the master controller
- • All other ORB Revolution EAs should have Risk Management disabled
- • When the master EA detects a breach (daily loss or profit target), it sets global variables
- • All ORB Revolution EAs on the account read these global variables and respect the breach
- • This ensures account-wide protection even with multiple EAs/charts running simultaneously
Best Practice: Enable Risk Management on your primary chart/symbol only. Disable it on all other ORB Revolution instances. The master EA will protect your entire account regardless of which EA opens trades.
Alert When Multiple EAs Enabled

MT5 will show this warning if Risk Management is enabled on multiple ORB Revolution instances
Daily Loss Limiter Settings
- • Enable Drawdown Limiter: If enabled, blocks trading after the daily loss threshold is reached.
- • Daily Loss Calculation Mode: Defines how daily loss is measured. Choose based on your prop firm's rules:
- ◦ % of Initial Balance (FundedNext style): Daily limit always X% of initial balance. Tracking resets each day from that day's starting equity.
- ◦ % of Day Start Balance: Limit calculated as X% of today's starting balance.
- ◦ % of Day Start Equity: Limit calculated as X% of today's starting equity (includes floating P&L at rollover).
- ◦ % of Highest(Balance, Equity) at rollover (FTMO, The5ers style): Limit from the higher of balance or equity at day start.
- ◦ % Track equity drop from day start (simple): Monitors equity drop from day start. Reference stays fixed all day.
- ◦ % Track equity drop from high watermark (trailing daily): Monitors equity drop from the highest point reached during the day. Reference updates as you make profit—stricter protection for intraday profits.
- ◦ Fixed Money Value: Absolute dollar amount (e.g., $500/day). Simple and predictable.
- • Daily Loss (%) / Money Value: Maximum allowed daily loss before trading is blocked. Enter percentage or dollar amount depending on mode.
- • Include Floating P&L (Daily Loss): If enabled, includes unrealized profit/loss from open trades in the loss calculation. Recommended for stricter prop firm compliance.
- • Daily Reset Mode: Defines when the limiter resets:
- ◦ Reset on daily bar open (broker time)
- ◦ Reset at specific time (configurable timezone)
- ◦ Reset at specific UTC time
- • Rollover Hour / Minute: Time when the daily limiter resets (0-23 hours, 0-59 minutes).
- • Timezone Offset (Hours): Adjusts calculations to your local or broker's timezone. Critical for accurate daily resets.
- • Safety Buffer (%): Early warning buffer. When you reach (100% - buffer%) of your limit, new trades are blocked but positions remain open. Example: 10% buffer blocks trades at 90% of limit.
- • Action on Daily Loss Breach: What happens when the limit is hit:
- ◦ Do Nothing (only blocks new trades)
- ◦ Close All Trades
- ◦ Close & Disable EA
- ◦ Alert Only
- • Pause Until Next Day After Breach: If enabled, blocks all trading until the next daily reset after a breach occurs.
Profit Target System Settings
- • Profit Target Mode: Defines when profit targets are evaluated:
- ◦ Cumulative: Fixed $ from initial: Total profit from initial balance (e.g., "Make $1,000 total"). Does NOT reset daily. Requires manual reset after passing the challenge.
- ◦ Cumulative: % of initial balance: Total profit as % of initial balance (e.g., "Make 8% total"). For multi-phase challenges.
- ◦ Daily: Fixed $ earned today: Profit goal resets each day (e.g., "$500/day target"). Resets at rollover automatically.
- ◦ Daily: % of day start balance: Daily profit as % of today's starting balance (e.g., "2%/day target"). Resets at rollover automatically.
- ◦ Disabled: Profit target system is off.
- • Profit Target Value (% or $): Target amount. Enter percentage or dollar amount depending on mode.
- • Include Floating P&L (Profit): If enabled, includes unrealized profit from open trades when calculating profit earned. If disabled, only counts closed trade profit.
- • Action on Profit Target Hit: What happens when the profit goal is reached:
- ◦ Do Nothing (only blocks new trades - default)
- ◦ Close All Trades (locks in profit)
- ◦ Close & Disable EA
- ◦ Alert Only
Note: Cumulative Profit Targets
For cumulative profit targets (challenges), trades remain blocked until you manually reset by deleting all global variables: Tools → Options → Expert Advisors → Delete All Global Variables.
Additional Settings
- • Magic Filter (0 = all trades): Apply the risk management system to specific magic numbers only. Set to 0 to apply globally to all trades on the account (recommended for multi-EA setups).
- • Enable Debug Logs: Logs all daily loss and profit target events for later review. Useful for troubleshooting and compliance verification.
Pre-Rollover Sweep
Designed specifically for prop firm traders. Consider this scenario: on a $100K account with a 5% daily drawdown limit, you close $11K in profit during the day but still have an open trade sitting at −$7K. Your net equity is +$4K — you're safe. However, at the daily rollover the prop firm's system resets: your new starting balance is $111K (previous balance + $11K closed profit), and the open −$7K trade is now counted as today's drawdown immediately — putting you at 6.3% drawdown from the very first moment of the new day and failing the challenge before a single new trade is placed.
The Pre-Rollover Sweep solves this by checking for losing open trades at a configurable time before the daily rollover. You can choose to be warned so you can act manually, or let the EA close all losing trades automatically to protect your day-start drawdown baseline.
Example
Account: $100K · Daily limit: 5% ($5,000) · Closed P&L today: +$11K · Open trade: −$7K
At rollover, new balance = $111K and the −$7K drawdown is 6.3% → instant breach.
With Pre-Rollover Sweep at 23:30 (30 min before midnight rollover), the EA detects the open losing trade, fires a push notification and/or closes it automatically — protecting the challenge.
- • Pre-Rollover Sweep: Action: What the EA does when losing open trades are detected before rollover. Three options:
- ◦ Disabled: Feature is off — no sweep is performed.
- ◦ Warn only (log + push notification): Sends a push notification and logs a warning so you can review and act manually. The trades are left open.
- ◦ Close all losing trades: Automatically closes all open trades that are currently in a loss at the sweep time, protecting your next-day starting drawdown baseline.
- • Pre-Rollover Sweep: Check Hour (0-23): The hour at which the sweep check fires (broker/server time). Set this to a point before your prop firm's daily rollover. Example:
23for a 23:30 sweep before a midnight rollover. - • Pre-Rollover Sweep: Check Minute (0-59): The minute of the hour for the sweep check. Example:
30combined with hour 23 = sweep at 23:30.
Recommended Settings
For Prop Firm Challenges (FTMO, FundedNext, The5ers)
Daily Loss Settings:
- • Enable Drawdown Limiter: Yes
- • Daily Loss Mode: % of Highest(Balance, Equity) at rollover (FTMO/The5ers) or % of Initial Balance (FundedNext)
- • Daily Loss (%): 5% (or per your firm's rules)
- • Include Floating P&L (Daily Loss): Yes (stricter protection)
- • Daily Reset Mode: Reset at specific time
- • Rollover Hour/Minute: 00:00 (or your firm's server reset time)
- • Timezone Offset: Match your broker's server timezone
- • Safety Buffer (%): 10% (blocks trades at 90% of limit)
- • Action on Breach: Close All Trades
- • Pause Until Next Day: Yes
Profit Target Settings (Challenge Phase):
- • Profit Target Mode: Cumulative: % of initial balance or Cumulative: Fixed $
- • Profit Target Value: 8% (Phase 1) or 5% (Phase 2) - adjust per firm
- • Include Floating P&L (Profit): No (most firms count closed trades only)
- • Action on Profit Target Hit: Do Nothing (let current trades finish)
Profit Target Settings (Funded Account):
- • Profit Target Mode: Daily: Fixed $ (e.g., $500/day goal)
- • Profit Target Value: Set your daily target
- • Include Floating P&L (Profit): Yes or No (your preference)
- • Action on Profit Target Hit: Close All Trades (lock in daily profit)
For Conservative Personal Trading
Daily Loss Settings:
- • Daily Loss Mode: % Track equity drop from high watermark (protects intraday profits)
- • Daily Loss (%): 3-5%
- • Include Floating P&L (Daily Loss): Yes
- • Safety Buffer (%): 20%
- • Action on Breach: Close All Trades
Profit Target Settings:
- • Profit Target Mode: Daily: % of day start balance
- • Profit Target Value: 2%/day
- • Include Floating P&L (Profit): Yes
- • Action on Profit Target Hit: Close All Trades (take profit and stop)
Important Notes
- • Reset Behavior: Daily Loss Limiter ALWAYS resets at rollover. Daily Profit Targets reset automatically at rollover. Cumulative Profit Targets do NOT reset automatically—must be manually reset after challenge completion.
- • Multi-EA Coordination: Only ONE ORB Revolution EA should have Risk Management enabled per account (see warning above). The system uses global variables to coordinate across all EAs. When the master EA detects a breach, ALL ORB Revolution EAs respect the limit automatically.
- • Manual Reset (Cumulative Targets): After passing a challenge: Go to Tools → Options → Expert Advisors → Delete All Global Variables, then restart your EAs.
- • Close Reasons: When positions are closed by the risk management system:
- ◦ "EA DD": Daily Drawdown breach
- ◦ "EA DP": Daily Profit target hit
- ◦ "EA CP": Cumulative Profit target hit (challenge passed)
- • Testing Your Settings: Enable Debug Logs during initial setup. Test with small amounts to verify reset behavior. Confirm timezone offset matches your broker's server time.
