Most traders who fail prop firm challenges do so with an EA they've never tested properly. A backtest that covers six months on OHLC data and shows a smooth equity curve tells you almost nothing useful. The prop firm environment is stricter than live trading: drawdown limits are absolute, there is no margin call safety net, and one bad week ends the challenge.

This guide covers how to run a backtest in MT5 that actually reflects what will happen during a challenge, what numbers to focus on, and how to interpret the results before you pay for a challenge.

Why Data Quality Determines Everything

MT5's built-in tick data is downloaded from your broker's server. The quality varies significantly depending on your broker and how far back the history goes. For prop firm backtesting, you need real tick data, not modelled ticks; the difference matters most for scalping EAs and any strategy that uses tight stop losses or trades around news events.

The Strategy Tester shows a "Quality" percentage at the bottom of the results tab. Anything below 99% means MT5 was generating synthetic ticks to fill gaps in the real tick history. A backtest run at 70% quality can show a dramatically different equity curve than one at 99% because the simulated ticks smooth over spread spikes, requotes, and liquidity gaps that your EA would actually encounter.

There are two practical options for getting high-quality tick data. The first is to use a broker with a long, clean tick history in MT5, Blueberry Funded's MT5 environment uses Blueberry Markets as the underlying broker, which has solid historical data going back several years. The second is to use a tick data provider like TickStory or Dukascopy, which offer free historical tick data exports that can be imported into MT5 via a custom data source.

Always verify the data quality percentage

Before drawing any conclusions from a backtest, check the "Quality" figure in the Strategy Tester results. Run the same test on different brokers' demo accounts to confirm that the results are consistent; large divergences between brokers indicate your EA is sensitive to spread conditions that the backtest may not be capturing accurately.

Strategy Tester Settings That Matter

These are the settings to configure before running any backtest you plan to use for prop firm decision-making.

Setting Recommended value Why
Modelling Every tick based on real ticks Highest accuracy; required for scalping EAs
Date range Minimum 3 years, ideally 10+ Must include at least one high-volatility period (2020, 2022)
Spread Use current (not fixed) Fixed spread hides real execution conditions
Deposit Match the challenge account size Percentage-based drawdown calculations will be accurate
Leverage Match the prop firm's leverage Affects margin calculations for high-frequency or multi-pair EAs

One thing most traders miss: set the deposit to match the actual challenge account size you plan to buy, not a round number. If you're testing for a $50,000 FTMO challenge, set the deposit to $50,000. This ensures that the drawdown percentages in the report correspond directly to the absolute dollar limits in the challenge rules.

Backtest Metrics to Evaluate

The Strategy Tester generates around 30 statistics. Most of them are noise for prop firm purposes. These are the ones that actually matter.

Maximum balance drawdown is the most important number. This is the largest peak-to-trough drop measured on the account balance, expressed as both a dollar amount and a percentage. For a static drawdown prop firm like FTMO, your maximum balance drawdown must never exceed the maximum drawdown limit, not just on average, but in the worst single period across the entire backtest. If the backtest shows a 7% maximum balance drawdown over ten years, you have about 3% of buffer before hitting FTMO's 10% limit. Whether that's enough depends on how fat the distribution of drawdown events is in your strategy's history.

Maximum equity drawdown measures the drop including open trades. This can be significantly higher than balance drawdown for EAs that hold positions for extended periods. For daily drawdown calculations, this is the relevant figure; most firms calculate the daily drawdown limit against the previous day's closing balance or equity, and an open trade can breach that limit even if no position is closed at a loss.

Profit factor is total gross profit divided by total gross loss. A value above 1.5 across a multi-year backtest suggests the strategy has genuine edge. Values below 1.2 on a long backtest indicate the edge is marginal and the EA may fail during the forward-test period even if it looked viable historically.

Recovery factor is net profit divided by maximum drawdown. This tells you how efficiently the EA recovers from its worst periods. A recovery factor below 2 means the EA earns less than twice its worst drawdown, which is an uncomfortable ratio for a prop firm context where you cannot recover from a terminal breach.

Sharpe ratio and Sortino ratio are useful for comparing two versions of the same EA. A higher Sharpe across the same period with the same deposit indicates better risk-adjusted returns. Sortino (which only penalises downside volatility) is more relevant for prop firm use because you care about downside risk more than total volatility.

Mapping Backtest Drawdown to Prop Firm Rules

The critical step that most traders skip is translating the backtest drawdown figures into the specific rules of the firm they are challenging at. Different firms calculate drawdown differently, and a backtest that passes FTMO's rules may fail at a firm using trailing drawdown.

For static drawdown firms like FTMO and FundedNext, the rule is straightforward: your account equity must never fall more than the maximum drawdown percentage below the starting balance. Take the maximum equity drawdown from your backtest and compare it to the challenge's maximum drawdown limit. Add a minimum 2% safety margin; prop firm execution conditions are not the same as backtest conditions.

For trailing drawdown firms like The5ers or Alpha Capital, the calculation is more complex because the drawdown limit moves up as your balance increases. An EA that peaks early and then pulls back can breach the trailing limit even if its absolute drawdown percentage looks fine. To simulate this properly, you need to track the trailing high-water mark throughout the backtest and calculate the drawdown from that moving level, not from the starting balance.

For daily drawdown limits, examine the Strategy Tester's trade-by-trade results and identify any single calendar day where the cumulative loss on closed and open positions exceeded the daily limit. Most EAs that pass the overall maximum drawdown test still fail on the daily drawdown in specific periods, particularly around major news events or gap openings.

Forward Testing and Walk-Forward Analysis

A backtest run on all available historical data is an in-sample test: the EA's parameters were chosen, consciously or unconsciously, to work on that data. Before paying for a challenge, you need out-of-sample evidence that the strategy works on data it has never seen.

The simplest approach is a manual walk-forward: split your available data into two periods, optimize on the first 70%, then run a single unoptimised backtest on the remaining 30%. If the out-of-sample period shows a significant drop in performance, lower profit factor, higher drawdown, more losing months: the EA is likely overfit.

MT5's built-in optimiser includes a forward period setting that automates this process. Set forward testing to 25% or 30% of the date range, run the optimisation, and compare the forward results to the in-sample results. A robust EA should show similar profit factor and drawdown characteristics across both periods, though never identical.

For EAs you are seriously considering running on a live challenge, run a minimum of four to six weeks on a live demo account at the same lot sizes you plan to use for the challenge. Demo accounts are not identical to live accounts but they expose real spread conditions, weekend gaps, and news volatility that the Strategy Tester cannot perfectly replicate.

Common Backtesting Mistakes

Mistake

Testing on OHLC data or 1-minute bars

OHLC and M1 bar testing is fast but unreliable for any EA that uses stop losses tighter than 20 pips or trades around specific price levels within a bar. The Strategy Tester cannot determine the order that high and low occurred within a bar, so it makes assumptions that favour the EA. Real tick data eliminates this problem.

Mistake

Using fixed spread in the backtest

Real spreads widen significantly during news releases, at market open on Mondays, and during low-liquidity periods. A scalping EA backtested at a fixed 1-pip spread will produce very different results from one tested with variable spreads. Always use current (variable) spread in the tester settings.

Mistake

Ignoring the worst calendar year

It is not enough to look at the average annual drawdown. Find the single worst calendar year in the backtest and determine whether an EA running that year would have breached the challenge's drawdown limits. A 10-year backtest where nine years show 4% drawdown and one year shows 12% drawdown is an EA that fails one in ten challenge attempts from drawdown alone.

Watch out

Optimising for the challenge period length

Some traders optimise their EA specifically to perform well over 30 or 60 days, the typical challenge duration. This produces excellent backtest results for short windows but an EA with no long-term edge. Always backtest over at least three years before evaluating short-period performance windows.

Pre-Challenge Checklist

Before purchasing a challenge

  • Backtest run on real tick data (99% quality or above)
  • Date range covers at least 3 years, including a major volatility event
  • Variable spread used, not fixed
  • Deposit set to match the challenge account size
  • Maximum equity drawdown is at least 2% below the firm's maximum drawdown limit
  • Maximum daily equity drawdown is at least 1% below the firm's daily drawdown limit
  • Out-of-sample forward test shows consistent performance with in-sample period
  • Minimum 4 weeks of live demo testing completed at challenge lot sizes
  • News filter configured and tested if the firm has a news restriction
  • EA does not use HFT, latency arbitrage, or tick scalping
  • Worst single calendar year in backtest does not breach challenge limits

The firms with the most permissive EA rules in 2026 are generally the ones where backtesting discipline matters most, because they allow riskier strategy types like martingale and grid. Running a martingale EA on a trailing drawdown account without understanding how the drawdown calculation works is one of the most reliable ways to lose your challenge fee. Verify the drawdown calculation method for any firm before running a compounding position-size strategy on their challenge.

Ready to find the right firm for your backtested EA?

Compare EA-Friendly Prop Firms →

For guidance on configuring your EA's risk parameters to stay within challenge limits, see our article on how to pass a prop firm challenge with an EA. For a breakdown of how static and trailing drawdown differ in practice, see static vs trailing drawdown for EA traders.

Sources