MT5 EA Not Profitable Live? 7 Backtest-to-Live Checks
Contents (9)
- 1. Your Broker's Spread Is Higher Than Your Backtest Assumed
- 2. Wrong Symbol Name
- 3. Your EA Is Over-Optimized (Curve-Fitted)
- 4. Slippage Is Eating Your Edge
- 5. You're Running It on the Wrong Timeframe or Session
- 6. Your VPS or PC Keeps Going Offline
- 7. The Market Regime Changed
- Diagnosis Table: Cause × How to Check × Fix
- A 15-Minute First Pass
- What to Record Going Forward
- Test a Free MT5 EA Without Opening a Broker Account
Contents
- 1. Your Broker's Spread Is Higher Than Your Backtest Assumed
- 2. Wrong Symbol Name
- 3. Your EA Is Over-Optimized (Curve-Fitted)
- 4. Slippage Is Eating Your Edge
- 5. You're Running It on the Wrong Timeframe or Session
- 6. Your VPS or PC Keeps Going Offline
- 7. The Market Regime Changed
- Diagnosis Table: Cause × How to Check × Fix
- A 15-Minute First Pass
- What to Record Going Forward
- Test a Free MT5 EA Without Opening a Broker Account
MT5 EA Not Profitable Live? 7 Backtest-to-Live Checks
Your EA passed a 5-year backtest with a profit factor of 1.6. You ran it on a demo account for two weeks — looked fine. You switched to live, and three weeks later you're down 8%.
This is one of the most common experiences among algorithmic traders. The good news: most causes are diagnosable and fixable. Here are the seven most frequent culprits.
1. Your Broker's Spread Is Higher Than Your Backtest Assumed
The problem: MT5 Strategy Tester uses historical spread data from the server you select. If you backtested on XM MT5 server but you're trading live on a different broker — or even a different account type on the same broker — the actual spread you're paying may be 2× to 4× higher.
For XAUUSD, typical spreads range from 1.5 pips (RAW/ECN accounts) to 6+ pips (standard accounts during off-hours). A gold EA with a 20-pip average win needs to overcome the spread on every trade. At 5-pip spread, that's 25% of the profit gone before the trade closes.
The fix: In MT5 Market Watch, enable the Spread column and compare quoted spread near entries with your backtest's assumptions, including commissions. The difference between a requested and a filled order price is slippage, not a reliable measurement of the bid–ask spread. If trading costs are materially higher, retest with the actual broker conditions on demo or reconsider the strategy. Do not raise MaxSpread just to accept more expensive trades: that can worsen losses.
Recommended Broker Comparison →
🎁 Download Free EA📧 Free 8-email course + subscriber-only pack of 13 MT5 indicators
* Privacy strictly protected. You can unsubscribe at any time.
2. Wrong Symbol Name
The problem: This sounds trivial but it causes real losses. XM Trading lists gold as GOLD, not XAUUSD. If you attach an EA coded for XAUUSD to a GOLD chart, or vice versa, the EA may misbehave — entering on the wrong instrument, calculating lot sizes incorrectly, or throwing errors.
The fix: Always verify the exact symbol name on your broker's Market Watch. For XM: use GOLD. For Exness, HFM, IC Markets: use XAUUSD. Hard-code a symbol check in your EA's OnInit() if possible.
3. Your EA Is Over-Optimized (Curve-Fitted)
The problem: If your backtest profit factor is above 2.5 and your parameter set was found through a broad optimization grid, there's a good chance the EA is curve-fitted to historical data. It "learned" the specific quirks of the 2019–2024 gold market rather than a genuine trading edge.
A telltale sign: the EA performs brilliantly on the optimization period but falls apart on data it hasn't seen before.
The fix: Always do out-of-sample (OOS) validation. Split your historical data — optimize on 60%, then test the same parameters on the remaining 40% without touching them. If performance collapses on the OOS period, the strategy is not robust.
At fxea365.com, every EA must pass OOS validation before publication. A profit factor of 1.4–1.6 with consistent OOS results is worth far more than a curve-fitted 3.0.
4. Slippage Is Eating Your Edge
The problem: In backtesting, orders fill at the exact bar open or signal price. In live trading, your order competes with thousands of others. During news events or illiquid hours, slippage of 5–20 points on XAUUSD is normal.
For a scalping EA targeting 15-pip moves, consistent 10-point slippage cuts your edge by more than half.
The fix: Set a MaxSlippage parameter in your EA (our EAs default to 20 points). Avoid trading during major economic releases (NFP, CPI, FOMC). Use a VPS located near your broker's server to minimize network latency.
5. You're Running It on the Wrong Timeframe or Session
The problem: Most gold EAs are tuned for specific market sessions. An H1 trend-following EA designed around the London-New York overlap (13:00–17:00 UTC) will behave very differently during the quiet Asian session where gold barely moves.
If you're running an EA during the wrong session, it may over-trade in choppy conditions or miss the moves it was designed for.
The fix: Check when your EA generates most of its historical trades using the MT5 Strategy Tester "Entries by hours" chart. Match your live trading hours to those patterns. Use a time filter if your EA doesn't already have one.
6. Your VPS or PC Keeps Going Offline
The problem: MT5 EAs only trade when the terminal is running and connected. If your home PC sleeps, loses internet, or restarts during an update, your EA misses trades — or worse, stays in an open position without the ability to exit.
The fix: Use a VPS (Virtual Private Server) that runs 24/7. For gold trading, you need a VPS in the same region as your broker's server — ideally within 10ms ping. Many brokers (including XM and Exness) offer free or subsidized VPS if your trading volume meets a threshold.
See our VPS setup guide for recommended providers.
7. The Market Regime Changed
The problem: No EA works in all market conditions forever. A trend-following EA built on 2020–2024 gold data saw one of the strongest gold bull markets in history. If the market transitions to a range-bound regime, a trend EA will churn through losses.
This isn't a bug — it's a structural limitation of any strategy. Even the best discretionary traders underperform when their edge is out of phase with the market.
The fix: Monitor your EA's drawdown versus its historical max. If it exceeds 1.5× the historical max drawdown, pause trading and investigate. Don't let a regime change turn a 10% drawdown into a 40% one.
Diagnosis Table: Cause × How to Check × Fix
Work through the rows in order. Each check produces a number you can compare against your backtest, so you are not guessing which cause applies. Rows 1–3 take minutes and explain most "works in the tester, loses live" cases; rows 4–7 need a few weeks of live or demo history.
| # | Cause | Where to look in MT5 | What to measure | It is the cause if… | Fix |
|---|---|---|---|---|---|
| 1 | Wrong symbol or contract spec | Market Watch → right-click symbol → Specification | Symbol name, contract size, digits, minimum lot, stop level | Any value differs from the symbol used in the backtest (for example GOLD vs XAUUSD, or a suffix such as XAUUSDm) | Attach the EA to the exact symbol; re-run the backtest on that symbol |
| 2 | Terminal offline | Journal and Experts tabs; VPS uptime log | Gaps between consecutive log timestamps during market hours | Any gap longer than one bar of the EA's timeframe while a signal or open position existed | Move to a VPS; disable sleep and automatic restarts |
| 3 | Spread higher than assumed | Market Watch → Columns → Spread; EA log at entry | Average spread at entry over 20+ live trades vs the spread set in the tester | Live average is more than about 1.5× the backtest spread | Re-run the backtest with the live spread. If PF falls below 1.2, change account type or stop — do not just raise MaxSpread |
| 4 | Slippage | History tab → add the order's requested price next to the deal price | Mean absolute difference between requested and filled price, in points | Mean slippage exceeds 10% of the EA's average winning trade in points | Lower latency (VPS near the broker), avoid releases (NFP, CPI, FOMC), set a slippage limit |
| 5 | Wrong session | Tester report → "Entries by hours" vs live History grouped by hour | Share of live trades opened in hours where the backtest shows few or losing entries | More than about 20% of live trades fall outside the backtest's active hours (check the server-time offset first) | Correct the server-time offset or add a time filter |
| 6 | Over-optimization | Strategy Tester: same parameters on a period not used for optimization | Out-of-sample PF and max drawdown vs in-sample | Out-of-sample PF below 1.0, or below about 70% of in-sample PF, or drawdown more than double | Fewer parameters, wider plateaus, re-validate out of sample; do not re-optimize on the failed period |
| 7 | Market regime change | Live equity curve vs backtest year-by-year results | Current drawdown vs historical max drawdown; current losing streak vs historical max | Drawdown exceeds 1.5× historical max, or the losing streak exceeds the backtest maximum | Pause, re-test on the most recent 12 months, resume only if the numbers still hold |
The thresholds (1.5×, 10%, 20%, 70%) are working rules of thumb, not statistical laws. With fewer than about 30 live trades, differences between live and backtest results are often just noise — a short losing run does not by itself prove any row above.
A 15-Minute First Pass
- Symbol and spec (row 1). Open Specification for the chart the EA is attached to and compare it line by line with the symbol in your backtest report header.
- Uptime (row 2). Scroll the Experts tab for the past week and look for timestamp gaps.
- Spread (row 3). Note the Market Watch spread now, then compare it with the "Spread" value in your backtest report. If your tester run used "Current" spread, the report reflects whatever the spread was at the moment you pressed Start — re-run with a fixed value equal to your measured live average.
If all three pass, export the live History as a report (right-click → Report) and work through rows 4–7 against the numbers.
What to Record Going Forward
A diagnosis is only as good as the log behind it. Have the EA (or a simple journal) record for every trade: requested price, filled price, spread at entry, server time, and lot size. With those five fields you can fill in rows 3, 4, and 5 of the table directly instead of estimating.
Test a Free MT5 EA Without Opening a Broker Account
For a demo-only comparison, the Donchian Trend Engine on the official MQL5 Market is free for MT5 / USDJPY H1. This MQL5 Market edition does not require opening a broker account through FXEA365; an MQL5 login may be required. It is not a gold (XAUUSD) EA. A backtest is not a verified live record and losses are possible.
Read the strategy settings, historical test conditions and limitations before testing. Other EA downloads from FXEA365 may require a registered partner account. The EA ranking compares primarily paid Market products and is not a free-product ranking.
Related
2026-05-22
XAUUSD (Gold) EAs for MT5 in 2026: Current Lineup Compared
2026-05-22
How to Forward Test an MT5 EA Before Going Live
2026-11-14
Aurum AI mt5 Review: PF 0.87, 95.7% DD over 11.5 Years
2026-11-14
Gold House MT5 Review: PF 2.93, 1.1% DD over 11.5 Years
📧 Free 8-email course + subscriber-only pack of 13 MT5 indicators
* Privacy strictly protected. You can unsubscribe at any time.
Have a question about EAs or FX?
You can post it on the Nattzy trading forum (free sign-up). Questions beyond this article are welcome too — EA settings, choosing a broker and more.
Ask on Nattzy ↗