On this page
A demo account is valuable for checking installation, signals and broker compatibility, but it is not a perfect model of live execution. The important question is not whether every result matches; it is whether the difference can be explained, measured and kept within the strategy’s risk limits.
Why Demo and Live trades diverge
| Factor | Demo environment | Possible Live effect |
|---|---|---|
| Spread | Often smoother or simulated. | Can widen at rollover, news or low liquidity. |
| Slippage | Fills may be simplified. | Requested and executed prices can differ. |
| Liquidity | No real market impact. | Available volume and broker policy can affect price or acceptance. Confirm any partial-execution behavior for this specific account. |
| Commission and swap | May use different account conditions. | Changes net result and overnight cost. |
| Latency | Server route may differ. | Signals reach the trade server later. |
| Trading rules | Demo settings can be more permissive. | Stops Level, volume or order limits may differ. |
Compare behavior before comparing profit
Start with timestamps, symbols, direction, lot size and order comments. If both accounts receive the same signal but fill at different prices, investigate execution. If one account never generates the signal, investigate quote history, spread filters, terminal time, EA settings or licensing.
Diagnose differences in the right order
Verify the setup
Confirm AutoTrading, chart symbol and timeframe, EA status, DLL permissions if required and the licensed account number before comparing strategy behavior.
Compare the incoming market conditions
Record Bid, Ask, spread and broker server time around the expected entry. An EA with a maximum-spread filter can correctly skip a trade that appears on another account.
Read the order result
Check the Experts and Journal tabs for invalid volume, invalid stops, off quotes, requotes, insufficient margin or disabled trading. These messages identify the layer that rejected the action.
Compare enough trades
One fill is not a representative sample. Compare a series of trades across the strategy’s normal sessions and include commissions, swaps and closed as well as open positions.
Move from Demo to Live with controlled risk
Keep the configuration fixed during the comparison. Begin with a position size that makes an unexpected fill or short drawdown financially tolerable. Do not increase risk merely because a short demo period was profitable. Monitor connection uptime, free margin and log errors on the VPS, and pause the EA if execution repeatedly falls outside the planned conditions.
Real funds introduce execution, liquidity and emotional consequences that a simulated balance cannot reproduce.
Set realistic expectations
Small differences in entry price and net profit are normal. Persistent missing trades, opposite directions, repeated server errors or materially different position sizes are not. The objective is to establish whether discrepancies come from setup, data, broker rules or execution before changing the strategy itself.
Match the signal, request and fill separately
Compare records by normalized time, exact symbol, direction, EA version and Inputs. First establish whether both instances detected the same signal. Next compare the requested price and contemporaneous Bid/Ask. Finally compare the actual fill and any rejection code. A trade that was never requested is not a slippage observation.
Hypothetical EURUSD BUY: the requested Ask is 1.10020, demo fills at 1.10020 and live fills at 1.10030. On a five-digit quote where a pip is 0.00010, the live fill has 1 pip of adverse slippage relative to the request. This isolated example does not identify its cause or predict average execution.
Keep missing trades and incomplete evidence visible
Use separate counts for signals, submitted requests, accepted trades, rejected requests and uncertain outcomes. Reconcile timeouts against account history before classifying them. If the EA does not log request prices or contemporaneous quotes, say that precise execution attribution is unavailable; a final profit difference alone cannot separate spread, slippage and changed signals.
Compare a representative sample across the strategy’s normal sessions and holding periods. Demo establishes operational behavior under that demo environment. A cautious live observation supplies different evidence, with real costs and losses; it does not turn demo results into a return forecast.
A missed trade is not automatically an execution failure
Consider an illustrative comparison with the same EA build, completed signal bar and maximum-spread setting. The demo instance sees a spread of 1.2 pips; the live instance sees 2.4 pips. If the documented limit is 2.0 pips, a live skip can be the correct filter decision. There is no live fill from which to measure slippage. Confirm the input units first: on a typical five-digit EURUSD quote, 20 points means 2 pips.
Record the signal time, quotes and filter reason before changing the limit. If those fields were not logged, mark the cause as unconfirmed rather than reconstructing it from profit. Compare accepted trades separately from skipped signals, rejected requests and uncertain outcomes; otherwise the two accounts may be compared using different trade samples.
Use the trading-cost guide to separate spread, commission and swap. If the discrepancy persists across comparable observations, follow live drift monitoring and revalidation before changing the strategy or increasing exposure. These example spreads describe a diagnostic case, not acceptable execution thresholds for every EA.
A comparison can contain different trades on each account
Build the comparison around aligned decision windows before selecting matching fills. The same completed-bar rule can produce a valid signal on one price history and no signal on another. A filter can also accept one quote and reject the other.
The table is an invented example of 20 aligned decision windows with a fixed EA version and settings. It describes diagnostic categories, not a measured demo/live experiment.
| Windows | Demo outcome | Live outcome | Comparison to make |
|---|---|---|---|
| 14 | Requested and filled | Requested and filled | Compare the paired requests, prices and costs. |
| 3 | Requested and filled | Spread filter skipped | Check the rule and contemporaneous quotes; there is no live fill. |
| 1 | Requested and filled | Request explicitly rejected | Investigate the request parameters and returned reason. |
| 1 | No valid signal | Requested and filled | Compare the input price history and signal decision. |
| 1 | No request | No request | Retain the window; neither side supplies a fill. |
Demo has 18 filled orders. Live has 16 requests, with 15 fills and one explicit rejection. Only 14 windows supply paired fills. The live rejection rate in this example is 1/16, or 6.25% of submitted live requests. Dividing by all 20 windows gives a different quantity and should be labelled accordingly.
Use the 14 paired observations to compare execution on shared requests. Use the complete record to explain the difference in trading activity and total account outcome. Reporting only the paired trades hides skips and rejections; treating the complete profit difference as pure slippage mixes several causes.
Freeze the comparison settings before investigating a difference
Keep the EA build, inputs and risk mode fixed while checking a discrepancy. Record changes to account equity, contract size, symbol mapping, server time and available history. The same percentage-risk input can produce different volumes when account equity differs.
Normalize times to a common reference and retain the original server timestamps. Check daylight-saving changes and the broker’s bar boundaries. Two H1 charts can contain different completed candles when their server conventions differ, and an EA may wait for the first eligible tick after a bar boundary.
Do not move a live entry earlier, widen a spread filter or increase deviation merely to make the trade list resemble demo. Such a change creates a different policy. Diagnose the original comparison first, then evaluate any proposed change as a new configuration with its own evidence.
Where the EA does not record candidate decisions or request-time quotes, state that limit. Closed account history can establish accepted trades and their financial result, but it cannot recreate every unlogged signal or prove the exact cause of a missing request.
Write a conclusion that follows from the evidence
A useful conclusion identifies the layer that changed. Examples include a verified volume mismatch, an observed spread-filter skip or an explicitly rejected request. If the cause is unconfirmed, record what is missing and the next observation needed to resolve it.
Include the observation dates, account conditions, number of decision windows, submitted requests, paired fills, unmatched trades and unresolved outcomes. Keep open exposure visible when comparing account equity; a closed-profit total alone can omit a substantial floating loss.
Define review conditions around the system’s needs: recurring order errors, loss of monitoring or trading outside the intended risk settings can require intervention. A pause must also account for existing positions and any EA-managed exits. Disabling new entries and stopping all order management are not always the same operation.
Frequently asked questions
Does a different trade list prove a broker execution problem?
No. First distinguish changed signals, filter skips, rejected requests and different fills. A trade never submitted cannot be attributed to fill slippage.
Should I change settings until live matches demo?
Diagnose the fixed comparison first. Changing inputs creates a new policy and can obscure the original cause. Record and evaluate any later change separately.
Should the comparison include open trades?
Yes, when assessing account exposure or equity. Compare closed results and current open exposure clearly rather than presenting a closed-profit total as the complete account outcome.
Official reference
The official MQL4 OrderSend reference documents requested price, slippage, stop levels and server errors that can affect live order execution.