Mercados ao vivo
    Todos os posts MT5

    Why Your Backtest Looks Amazing—and Your Live Account Doesn’t

    KastleChart Team · 30 nov 2026 · 1 min de leitura
    Why Your Backtest Looks Amazing—and Your Live Account Doesn’t

    Every algorithmic trader has been there. You run a 3-year backtest in MetaTrader 5, the equity curve climbs smoothly from bottom-left to top-right, and you start calculating how fast you can scale up. Then you put the Expert Advisor on a live account, and within two weeks, it bleeds.

    The problem usually isn’t that the broker is out to get you. Most of the time, the backtest simply lived in a cleaner world than the live market.

    1. Fixed Spread vs. Real-World Spread

    During quiet Asian sessions or right before major news like NFP or CPI, spreads widen dramatically. If you backtested with a fixed 10-point spread on XAUUSD, your test never experienced the 40-point spread spikes that trigger stops early or block entries in live trading.

    2. Zero Slippage Assumptions

    In a standard backtest, every market order fills at the exact price you asked for. Live markets don’t work like that. Fast momentum candles cause slippage—sometimes a few points, sometimes much more. For a scalping EA targeting 15–20 pips, even small slippage eats the edge alive.

    3. Over-Optimization (Curve Fitting)

    If you tweaked 12 different input parameters until 2024 and 2025 looked perfect, you didn’t build a robust strategy—you memorized the past. The moment market volatility shifts, an over-fitted EA breaks down.

    How to Close the Gap

    • Always test using Every tick based on real ticks in MT5, not “Open prices only.”
    • Add artificial execution delay (50–150 ms) in the Strategy Tester to simulate real VPS latency.
    • Run out-of-sample testing: optimize on 2023–2024 data, then test those exact settings untouched on 2025–2026 data. If it still holds up, you have something worth forward-testing on a demo or small live account.