Skip to main content
QuantsDepot
EAs How we measure FAQ
Log in Sign up Log out Account

EA Backtest vs Forward Test Results

An EA's page usually shows a backtest. A better page also shows what happened after the settings were fixed. This guide explains the difference, how to run a sound backtest in the MetaTrader 5 Strategy Tester, and how to judge whether forward results confirm the backtest or contradict it.

Definitions · Why backtests look better · Run a backtest in MT5 · Compare the two · Verify an EA's claims · How this store reports

Backtest, forward test and forward results

Kind of resultWhat it isMain weakness
BacktestThe EA is run over past price data. The settings may have been chosen on this same data.Settings can be tuned until the past looks good (overfitting), so it can describe the history better than the future.
Out-of-sample testA backtest over a stretch of history that was kept away while the settings were chosen.Still history. If it is looked at many times, it stops being unseen.
Forward testThe EA runs on data that did not exist when its settings were fixed: on a demo account, a live account, or a calculation that follows the market day by day.It takes time to build up. A short forward period proves little.

Only the forward test is protected from tuning, because the settings were already fixed before the data happened. That is why it carries more weight, once it has enough trades.

Why a backtest looks better than real trading

  • Overfitting. With enough inputs to adjust, a strategy can be made to fit the noise of one period. It then fails on new data. The more inputs were tuned, the less a good backtest means.
  • Costs. Spread, commission and swap in the test may be lower than on your account. A test with zero spread can badly flatter an EA that trades often.
  • Execution. Real orders see slippage, requotes and delays that a perfect test does not.
  • Data quality. Modelling from bar data cannot show what happened inside a bar. Real tick data is closer to the market.
  • A favourable period. A test that covers only a calm trend, or only one year, tells you about that period.

How to run a sound backtest in MT5

Open the Strategy Tester with View → Strategy Tester (Ctrl+R) and set it up like this:

  1. Expert. Choose the EA, then the Symbol and Timeframe written on its page.
  2. Date. Pick a long period with different market conditions, not only the latest months.
  3. Modelling. The options are Every tick (the most accurate and slowest), Every tick based on real ticks (real tick data accumulated by your broker; the first run may take a long time while data downloads), 1 minute OHLC and Open prices only. For an EA that trades inside a bar, use the first two. Open prices only suits only EAs that act once per bar, at the bar open.
  4. Execution delay. The options are No delay, Random delay (an approximation of real conditions) and a fixed delay in milliseconds. Random delay is the more honest choice.
  5. Deposit and leverage. Use the account size and leverage you will really trade with.
  6. Forward. The Forward option (No, 1/2, 1/3, 1/4 or Custom date) splits the period in two. The first part is the backtest and the most recent part is the forward test, reported on a separate tab. It is useful when you are optimising settings yourself.
  7. Run with the inputs untouched, then read the report: net profit, profit factor, drawdown and the list of trades, together.

The tester uses your broker's history and your broker's symbol settings. Tests of the same EA on two brokers can differ for that reason alone.

How to compare backtest and forward results

Put the two side by side and compare rates, not totals, because the periods have different lengths:

  • Profit factor (gross profit divided by gross loss). A value close to the backtest is reassuring; a value far below it is a warning.
  • Average profit per trade and win rate. They should be in the same region. A different trade pattern means the EA behaves differently from what was tested.
  • Trade frequency. Trades per month should be similar. A sudden change suggests a different market regime or a different setup.
  • Drawdown. Forward drawdown larger than the backtest's maximum, in a short time, is a warning. See EA drawdown explained.
  • How much forward data you have. A few weeks is not evidence in either direction. Wait for a meaningful number of trades before drawing a conclusion.

A forward result that is much better than the backtest also deserves a second look: it may be a lucky stretch rather than proof.

How to verify an EA's claimed performance

  1. Ask for the trade list, not just a chart, and check that the numbers on the page add up from it.
  2. Find the date the settings were fixed. Results before that date are a backtest; results after it are forward.
  3. Read the conditions: account size, lot, spread, commission and period.
  4. Check whether the numbers come from real-money trading, a demo account or a calculation. All three can be honest if they are labelled.
  5. Run the EA yourself in the Strategy Tester (see above) and see if your result is in the same region.
  6. Treat a long gap between claims and anything you can check as a reason not to buy.

How QuantsDepot reports results

Each EA's settings are fixed before its forward results start and are never changed afterwards. Forward results begin after the end of the data the EA was built on and are extended with every new day of market data. They are calculated, not real-money results: no real orders are placed. Every number is stated for a 10,000 USD account trading a fixed 0.1 lot with trading costs included, and every closed trade, wins and losses, is counted. The MT5 backtest report is embedded at the bottom of each product page. The full conditions are on How we measure.

Results may not come from real-money trading. Past results do not guarantee future results. See the Risk Disclosure.

Next: How to choose an MT5 EA · EA drawdown explained · Compare EAs · All guides

QuantsDepot

Measured MT5 Expert Advisors.

Shop

  • All EAs
  • Free with partner account

About

  • About
  • How we measure
  • FAQ
  • Guides
  • Free tools
  • How to install
  • Troubleshooting
  • Contact
  • List your EA

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Risk Disclosure
  • Affiliate Disclosure
  • Restricted Jurisdictions

Operated by Attempia Ltd.

Trading involves risk. Past and tested results do not guarantee future results. Nothing here is investment advice. We may earn a commission from partner brokers.

MetaTrader 5 is a trademark of MetaQuotes Ltd. QuantsDepot is not affiliated with MetaQuotes.

We use cookies to enhance your experience and analyse site traffic. Read our Cookie Policy.