Tag: Backtest vs Live

  • How to Backtest a Forex EA with Dukascopy Data: A Step-by-Step Guide

    Practical Guides · 10 min read

    The quality of a backtest is only as good as the data it runs on. MetaTrader’s built-in historical data is convenient but frequently has gaps, incorrect prices, and quality issues — especially for periods before 2015.

    Dukascopy provides free, institutional-quality tick data for all major forex pairs going back to 2003 in some cases. Using this data produces backtests that are significantly more reliable than those run on broker-provided data alone.

    This guide covers the complete process from download to verified backtest result.


    Step 1: Download JForex Data from Dukascopy

    Go to dukascopy.com and navigate to the Historical Data Feed section. No account is required for free data access. Select your pair (e.g., EURUSD), set the date range for the full period you want to backtest, and choose Ticks as the data type. Download as CSV or the Dukascopy native format.

    For a full 13-year backtest from 2010 to 2023, expect to download multiple files — Dukascopy typically limits individual downloads to 1-3 months of tick data. You will need to merge these files before importing.

    Step 2: Use Tick Data Suite or Birt’s CSV2FXT

    MetaTrader cannot directly import Dukascopy’s raw CSV format. You need a conversion tool to create the correct file format.

    Two common options:

    • Tick Data Suite (TDS) — a paid tool (~$97 one-time) that automates the entire import process and enables “Every Tick Based on Real Ticks” modeling quality. The gold standard for serious backtesting.
    • Birt’s CSV2FXT — a free tool that converts Dukascopy CSV files to FXT format importable by MetaTrader. More manual setup but zero cost.

    Step 3: Import to MetaTrader History Center

    In MT4, go to Tools > History Center. Select your pair and timeframe. Click Import and select the converted file. MetaTrader will validate and import the data — this can take several minutes for large tick files.

    After import, go to Charts > Open Chart for the pair and scroll back through history to verify the data appears correctly and without gaps.

    Step 4: Run the Strategy Tester

    Open the Strategy Tester (Ctrl+R). Select your EA, the symbol, and the date range. Under Model, choose “Every Tick Based on Real Ticks” if using TDS, or “Every Tick” if using imported data without TDS.

    Set your spread manually to a realistic value for the period — use the historical average spread from your broker for the pair, not zero or a minimal value. For EURUSD, 1.0 pip is a reasonable average across a full period including news events.

    Step 5: Interpret the Results

    The backtest report will show the quality percentage — look for above 90%. Below 90% indicates data gaps or modeling issues that reduce reliability. The report also shows profit factor, drawdown, and total trades — compare these against any published backtests from the developer to verify consistency.

    Why This Matters

    A backtest run on broker data at zero spread with 70% modeling quality is not a useful evaluation tool. A backtest run on Dukascopy tick data at realistic spread with 99% modeling quality is the closest simulation to live trading conditions available to retail traders. The difference between these two tests, on the same EA, can be dramatic.

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    Chronos Algo — 13-Year Backtest Available on MQL5 →
  • Backtest vs Live Results: Why Forex EAs Diverge (And How to Spot It)

    EA Buyer’s Guide · Series B, Part 2 · 9 min read

    Every EA developer publishes a backtest. Many of those backtests look excellent — high returns, low drawdown, decades of data. Yet a significant portion of those same EAs fail to replicate that performance in live markets.

    This is not always fraud. It is often the result of specific, well-documented gaps between simulation and reality. Understanding those gaps is how you evaluate whether a backtest is meaningful or misleading.


    Gap 1: Overfitting (Curve Fitting)

    Overfitting is the most common and most dangerous problem in EA backtesting. It occurs when a developer optimizes their strategy parameters so precisely to historical data that the EA performs perfectly in the past but has no predictive power for the future.

    A simple example: if you test 10,000 parameter combinations on the same historical dataset, statistical chance alone guarantees that some combinations will produce extraordinary backtest results. Those results are not a signal — they are noise that happens to match the specific data tested.

    Red Flag: Too-Perfect Backtests

    Backtests showing 90%+ win rates, near-zero drawdown, and consistent monthly returns across all years are almost always overfit. Real market edges have losing periods. If the backtest looks too good, it probably is.

    Gap 2: Spread Discrepancy

    Most backtests use a fixed spread — a single number applied to every bar in the test. Live markets have variable spreads that widen significantly during news events, session transitions, and low-liquidity periods.

    For an EA that trades frequently, even a 0.3 pip difference between backtest spread and live spread compounds into meaningful performance drag. For scalping EAs that target 5-10 pip profits, a backtest at 0.5 pips versus live at 1.5 pips can turn a profitable system into a losing one.

    Gap 3: Slippage and Execution

    Backtests execute at the exact price the strategy requests. Live markets do not. Orders fill at the next available price, which during fast-moving markets can differ meaningfully from the target entry.

    For strategies with tight entry logic — entering on a specific candle close price, for instance — even 1-2 pip slippage per trade changes the character of the results.

    Gap 4: Historical Data Quality

    MetaTrader’s built-in historical data has gaps, errors, and inconsistencies — particularly for older periods. A backtest using broker-provided data from 2010 may contain price spikes, missing candles, and incorrect OHLC values that artificially improve or distort results.

    High-quality backtests use independently sourced tick data from providers like Dukascopy or Tick Data Suite. The quality percentage displayed in the backtest report should be above 90% for results to be reliable.

    Gap 5: Market Regime Change

    Markets change over time. A strategy optimized for the low-volatility, range-bound conditions of 2014-2017 may struggle during the high-volatility, trending conditions of 2022. A strategy built on EURUSD behavior before algorithmic trading dominated the market will behave differently now that 70%+ of forex volume is automated.

    This is not a flaw in backtesting — it is a fundamental reality. Strategies need to be robust to regime changes, not just optimized for a specific historical period.

    How to Evaluate a Backtest Honestly

    Backtest Evaluation Framework

    • Length: 10+ years preferred. Covers multiple market regimes.
    • Modeling: Every Tick or Every Tick Based on Real Ticks. Quality above 90%.
    • Spread: Realistic for the broker you plan to use. EURUSD: minimum 1.0 pip.
    • Out-of-sample period: The best backtests hold out 20-30% of historical data that was never used in optimization. Strong performance on out-of-sample data is a genuine signal.
    • Drawdown profile: Are losing periods consistent with the strategy logic, or do they appear randomly?
    • Correlation with live: Does the developer have live results that show similar patterns to the backtest?

    The Right Way to Use Backtests

    A backtest should be treated as a hypothesis, not a guarantee. It tells you: this strategy has an edge in historical data, assuming conditions similar to the past continue.

    Live results tell you whether that hypothesis holds up when the EA faces real spreads, real slippage, and real market conditions it has never seen before.

    The combination of a well-constructed backtest and verified live results gives you the highest confidence available in EA selection. Either one alone is insufficient.


    Next in the EA Buyer’s Guide Series

    Part 3: How to Verify EA Performance on Myfxbook — a step-by-step walkthrough of every metric on a Myfxbook verified account page.

    Publishing May 19, 2026

    Try It on a Demo Account First

    All BotFXPro EAs include a free MQL5 demo. Run it in Strategy Tester before committing to live.

    View Chronos Algo Live Results →