Home > Blog > How Spread and Slippage Affect EA Profitability — Verified with Real Numbers

SpreadSlippageEAMT5Cost Management

How Spread and Slippage Affect EA Profitability — Verified with Real Numbers

Published: 2026-05-18Read time: about 3 min
This article reflects information as of its publish date. EA performance figures (PF, DD, annual return) change with live trading and re-validation — check the latest on the EA pages. See the latest EA results

How Spread and Slippage Affect EA Profitability — Verified with Real Numbers

Even when a backtest shows strong results, live performance often falls short. One of the most common culprits is trading cost. Spread and slippage are "hidden costs" embedded in every single trade — and they compound over time into a significant drag on annual returns.

What Is Spread?

Spread is the difference between the Ask (buy) price and the Bid (sell) price. Every time an EA enters a trade, it automatically pays this gap.

Example: XAUUSD
Ask (buy price):  2,000.50
Bid (sell price): 2,000.20
Spread = $0.30 = 30 pips  (1 pip = $0.01 on XAUUSD)

XAUUSD Spread Comparison by Broker

BrokerNormal SpreadDuring News EventsNotes
XMTrading (Standard)20–35 pips50–150 pipsStable; bonus offers available
XMTrading (Zero)2–5 pips + commission10–30 pipsNarrow spread but commission applies
Exness (Standard)15–25 pips40–100 pipsFast deposits and withdrawals
Exness (Raw Spread)0–5 pips + commission5–20 pipsMinimum spread available

Scalping EAs are far more sensitive to spread than swing EAs trading on H1 or D1 timeframes, where spread impact is relatively smaller.


Spread Cost in Real Numbers

Scenario: XAUUSD H1, average spread 30 pips ($0.30/lot per trade), 30 trades per month

Lot SizeSpread Cost per TradeMonthly Cost (30 trades)Annual Cost
0.01$0.03$0.90$10.80
0.10$0.30$9.00$108
0.50$1.50$45.00$540
1.00$3.00$90.00$1,080

At 0.10 lots, spread alone costs $108 per year. With a $1,000 account balance, that means spread eats more than 10% of your potential annual return before a single strategy edge is realized.


What Is Slippage?

Slippage is the difference between the price at which an order is placed and the price at which it is actually filled.

Order placed: Market buy at 2,000.00
Actual fill:  2,000.20
Slippage:     +20 pips (adverse)

Conditions That Increase Slippage

  • Immediately after major economic releases: Liquidity temporarily dries up, causing price gaps
  • During rapid market moves: Prices shift faster than your order can be matched
  • When broker servers are under heavy load
  • During low-liquidity periods (e.g., late night)

Why Backtest and Live Results Diverge

MT5 backtests fix spread using the following default behavior:

Strategy Tester default: fixed spread (or the spread at the moment of testing)
Real-world spread:       fluctuates by time of day, news events, and market volatility

Typical performance gap simulation (100 trades/year, avg SL 1000 pips, TP 1500 pips):

Assumed SpreadBT Profit FactorLive PF (at 2× spread)
Fixed 20 pips1.451.30
Fixed 30 pips1.351.15
Fixed 50 pips1.200.95

Setting spread too low in your BT produces optimistic results that do not hold up in live trading.

How to Make BT Spread More Realistic

In MT5 Strategy Tester, you can manually set the spread for your symbol.

Symbol:              XAUUSD
Real average spread: ~30 pips (XMTrading Standard)
BT spread setting:   30–50 pips (set slightly higher for stress-testing)

If PF stays above 1.2 even at elevated spread, the EA is likely to hold up in live conditions.


Configuring MaxSpreadPoints

The EAs on this site include a MaxSpreadPoints parameter.

MaxSpreadPoints = 500
→ If spread exceeds 50 pips (500 Points), no new entries are placed

This prevents your EA from entering during sudden spread spikes — such as those that occur immediately after major economic releases — where fills are likely to be unfavorable.

SymbolNormal SpreadRecommended MaxSpreadPoints
XAUUSD (H1)20–40 pips500–800
EURUSD (H1)5–15 pips200–300
USDJPY (H4)10–30 pips300–500
GBPUSD (M15)10–25 pips150–250

Scalping strategies on GBPUSD M15 are especially sensitive to spread, so tighter settings are particularly important.


Practical Steps to Reduce Slippage

1. Prefer Limit Orders Over Market Orders

Market orders fill instantly at the current Ask/Bid, but slippage can be severe during volatile moves. That said, most EAs rely on market orders for simplicity.

2. Configure the Slippage Parameter

MT5's OrderSend function supports a slippage tolerance setting. The EAs on this site default to Slippage = 30 (30 pips) — if actual slippage exceeds this, the order is rejected rather than filled at an unfavorable price.

3. Avoid Low-Liquidity Periods

  • Early morning hours (server time 00:00–02:00) have reduced liquidity
  • The 30 minutes before and after major economic releases tend to see wider spreads
  • See the UseNewsFilter setting for automatic avoidance

4. Choose an ECN/STP Broker

ECN-type accounts such as Exness Raw Spread or XMTrading ZERO offer tighter spreads at the cost of per-trade commissions. For high-frequency EAs, calculate the all-in cost (spread + commission) before deciding which account type to use.


Summary

Spread and slippage are per-trade costs that directly affect an EA's long-term results.

  • BT spread settings are often lower than real-world conditions — always re-verify with a realistic spread
  • Use MaxSpreadPoints to prevent entries during sudden spread spikes
  • The more frequently an EA trades, the more critical broker selection and spread management become

Many mysteries around EA performance gaps can be explained by spread settings alone. Start by checking your BT spread configuration.


FAQ

Q: Which is better for EAs — XMTrading Standard or Zero?

It depends on your trading frequency. Swing EAs that trade 10–30 times per month often do better on Standard, where there are no per-trade commissions. Scalping EAs trading 100+ times per month may find that Zero's narrow spread plus commission is cheaper overall. Calculate the total annual commission for each account type using your expected trade frequency before deciding.

Q: How do I check the current spread in MT5?

In MT5: right-click a symbol → "Specification" → look at the "Spread" field. Alternatively, watch the difference between the Bid and Ask shown in the Market Watch panel. Real-time spread fluctuates continuously.

Q: Can slippage be eliminated through settings?

No. As long as you use market orders, slippage depends on market liquidity. Setting the slippage tolerance too tight can cause orders to be rejected outright — especially immediately after major news releases.

Q: What spread should I use in my backtests?

Check the real average spread for your broker, then run your BT at 1.5–2× that value. The logic: "if the strategy stays profitable at double the spread, it should hold up in live trading."

Q: Where can I find Exness's spread information?

Visit the Exness website (exness.com) and navigate to the "Trading Instruments" or "Trading Conditions" page, where you can find typical spread ranges by symbol. Note that the values shown are indicative — actual spreads vary with market conditions.


5-Day Email Course (Free)

Get one email a day covering the essentials of FX automated trading, how to read backtests correctly, and tips for choosing a broker.

* Privacy strictly protected. You can unsubscribe at any time.

Comments & questions