FX BASICS / COLUMN

How to Read an EA Backtest: MT5 Report Fields and Red Flags

How to read an EA backtest with the official MT5 help: profit factor, drawdown, recovery factor, tick modes, spreads and overfitting, plus a 10-point checklist.

You found an EA with a smooth, rising backtest on its sales page, and you are not sure how far to trust it.

Look at three things before the profit figure: the test settings, the maximum drawdown and the number of trades. MetaQuotes publishes how it measures price data quality and drawdown in its official help (checked 30 October 2026).

By the end you can read an MT5 test report yourself and use a 10-point checklist to spot results that only look good.

Conclusion: check settings, drawdown and trade count first

Illustration of a magnifier over a test report, checking settings, drawdown and trades
  • Settings: read the period, tick mode, spread, commission and delay first
  • Data: use History Quality to check the price data for gaps
  • Drawdown: size the account on the largest fall including open losses (Equity Drawdown Maximal)
  • Trades: with few trades, one big win moves every figure
  • Gap: compare the optimised period with a separate forward period

Look at profit factor and recovery factor only after these five. A backtest shows how an EA would have traded on past prices. It does not promise future results.

What an EA backtest is: the MT5 Strategy Tester

MetaTrader 5 official help page for the Strategy Tester
Source: MetaQuotes official website (captured 30 October 2026)

The MT5 Strategy Tester runs an EA (Expert Advisor, an automated trading program) on historical price data. The official help treats testing and optimisation separately.

MT5 official help: Strategy Tester and Strategy Optimisation (checked 30 October 2026)
FunctionOfficial descriptionWhat to watch
TestingOne run with fixed parametersOne set of settings, so easy to verify
OptimisationMany runs with different parameter sets to pick the bestThe chosen set tends to fit the past
Forward testingSplits the period and tests the chosen set on the later partShows results outside the optimised period
Visual modeReplays the trades on a chartShows how positions are built

The tester reads symbol history from the platform and downloads only the missing part from the trade server. The same EA can therefore give different results with different brokers.

Market EAs come with a free demo

Every MQL5 Market product has a free demo version that runs in the Strategy Tester (official help). You can test it on your own MT5 before buying.

How EAs work, running them on a VPS (virtual server) and when to stop them are covered in our beginner guide.

Before you start with EAs: how they work, where they run and when to stop

Check it on screen: report fields and formulas

Sample MT5 test report from the official help with five numbered places to check

When a test ends, the Results tab shows a detailed report. The image above is the sample in the MT5 official help. Read the five numbered places from top to bottom.

MT5 official help: Test Report (checked 30 October 2026). The net profit formula is as written in MQL5 official article 1486
FieldMeaning or formula
History QualityShare of correct 1-minute data (%)
Total Net ProfitResult of all trades (gross profit minus gross loss)
Profit FactorGross profit divided by gross loss; 1 means equal
Expected PayoffAverage profit or loss per trade
Recovery FactorProfit divided by maximum drawdown
Sharpe RatioReturn divided by its standard deviation (risk-free rate set to 0)
Profit TradesNumber and share of winning trades
Match fields by their English names

Translated versions of the platform may label fields differently from the help pages. Matching by the English field name avoids mix-ups.

Three drawdown types, each for balance and equity

MT5 official help: Test Report (checked 30 October 2026)
TypeOfficial definition
AbsoluteInitial deposit minus the lowest value below it
MaximalLargest fall in money from a high to the next low (% in brackets)
RelativeLargest percentage fall from a high to the next low

Balance counts closed trades only. Equity includes open profit and loss. The longer an EA holds positions, the wider the gap, so size your account on Equity Drawdown Maximal.

Official guide to the Sharpe Ratio

MT5 official help: Sharpe Ratio in the Test Report (checked 30 October 2026)
ValueOfficial reading
Below 0The strategy is unprofitable (bad)
0 to below 1.0Risk is not rewarded (uncertain)
1.0 or moreRisk is rewarded and results may follow (good)
3.0 or moreVery low chance of a loss on each trade (very good)

Below the figures are bar charts of entries and profit by hour, weekday and month. In the hourly chart, Asian, European and American sessions are yellow, green and red.

Reading the official sample: profit at a 10.57% win rate

Official sample report: profit factor 1.12, 10.57% winners, recovery factor 1.47, 29 losses in a row

Here is the official sample, read line by line. The help does not state the symbol, lot size or account currency, so read the amounts in account currency units.

Figures from the sample in the MT5 official help (checked 30 October 2026). Calculations by FX Textbook
FieldSample valueOur check
Initial Deposit5,000.00-
Total Net Profit142.021,310.51 - 1,168.49 = 142.02
Profit Factor1.121,310.51 / 1,168.49 = 1.12
Expected Payoff0.22142.02 / 653 = 0.22
Recovery Factor1.47142.02 / 96.58 = 1.47
Profit Trades69 (10.57%)69 / 653 = 10.57%

Only about one trade in ten won. The test still made money because the average win was 18.99 and the average loss was 2.00. One win paid for about nine and a half losses.

The longest losing streak was 29 trades, costing 58.01, or about 1.2% of the 5,000 deposit. With a low win rate, ask first whether you could sit through a streak that long.

  • Largest fall: balance 93.29 (1.85%), equity 96.58 (1.91%)
  • 653 trades and 1,297 deals
  • History Quality 99% (green band across the period)
A PF above 1 is not the same as efficient

The sample Sharpe Ratio is 0.03, in the uncertain band of the official guide. A PF of 1.12 only shows that the test period made money.

Red flag 1: short periods and few trades

Example: removing the single biggest win from a 20-trade test drops PF from 1.50 to 0.90

A short test may capture only the market phase that happened to suit the EA. With few trades, one big win moves every figure.

Hypothetical figures, calculated by FX Textbook
CaseGross profitGross lossPF
All 20 tradesJPY 150,000JPY 100,0001.50
Without the biggest win of JPY 60,000JPY 90,000JPY 100,0000.90

Removing one trade pushes the PF below 1. The report alone tells you whether the Largest profit trade makes up most of the gross profit.

  • Period: does it include rising, falling and sideways markets?
  • Trades: is the count very low for the length of the test?
  • Concentration: does profit come from a few months or hours (see the bar charts)?
The start date can shift on its own

In the official help, the start date is included and the end date is not. If there is not enough history to build at least 100 bars before the start, the start date moves automatically.

Red flag 2: spread, commission and delay settings

A spread gap of 0.2, 0.5 or 1.0 pips costs JPY 60,000, 150,000 or 300,000 over 300 trades

The MT5 tester takes spreads from historical data instead of modelling them. With real ticks the spread changes within a minute. With generated ticks it is fixed for each bar.

A report made with another broker or account will not match your spread. On USD/JPY, one lot (100,000 units) means JPY 1,000 per pip.

USD/JPY, 1 lot (1 pip = JPY 1,000), calculated by FX Textbook. Trade count is hypothetical
Spread gapPer tradeOver 300 trades
0.2 pipsJPY 200JPY 60,000
0.5 pipsJPY 500JPY 150,000
1.0 pipsJPY 1,000JPY 300,000
Profit in pips leaves costs out

Calculating profit in pips drops swaps and commissions and skips margin control. The official help calls it a rough estimate, not a figure to show as performance.

Include commission and execution delay

If your account charges a round-turn commission, check that it was entered in the advanced settings. There is also an option to apply the connected account's own commissions (Use predefined commissions).

  • No delay: every order fills at the requested price, an ideal case
  • Random delay: 0 to 8 seconds 90% of the time, 9 to 18 seconds 10%
  • Fixed delay: a set number of seconds, or the ping to the broker server

Offshore FX spread comparison: 10 brokers by account, including commission

Red flag 3: tick generation mode and history quality

The four MT5 tick generation modes, what they do and what to watch

The tick generation mode sets how detailed the test is. Coarser modes finish faster but do not reproduce price moves inside each bar.

MT5 official help: Strategy Tester, Real and Generated Ticks, Testing Features (checked 30 October 2026)
ModeOfficial descriptionWhat to watch
Every tick based on real ticksUses real ticks stored by the brokerClose to real conditions; first download is slow
Every tickGenerates all ticks from 1-minute barsGenerated ticks keep a fixed spread per bar
1 minute OHLCUses only the open, high, low and close of each minuteNo moves inside the bar; pending orders and SL/TP fill at the order price
Open prices onlyRuns the EA only at each bar's openThe EA acts only at the open; pending orders and SL/TP fill at the order price

An EA aiming for a few pips is sensitive to moves within a minute. In the two coarse modes, limit, stop and SL/TP orders fill at exactly the price set. If those are the only reports, ask for a rerun on real ticks.

History Quality (Modelling quality in MT4)

MT5 History Quality is the share of correct 1-minute data. Bars with volume 1 but different OHLC values, and gaps in history, count as incorrect data.

  • MT5: lighter green means better quality; red marks stretches at or below 50%
  • MT4: grey is unused history; red means lower timeframe data was missing
  • MT4: testing on Open prices only shows Modelling quality as n/a

MT4 Modelling quality follows the formula in an MQL5 official article. Its largest weight is 0.9, so even pure 1-minute data caps it at 90% (our calculation from the formula).

MT4 vs MT5: the official comparison and EA compatibility

Red flag 4: overfitting and the forward test gap

Illustration of a line fitted tightly to past prices drifting away from prices in the future period

Optimisation tries many parameter sets and keeps the best performers. A set fitted too closely to past prices can fail in another period. This is overfitting, or curve fitting.

The official help offers forward testing as a way to avoid overfitting. It splits the period in two and tests the chosen sets on the newer part.

MT5 official help: Strategy Optimisation (checked 30 October 2026)
Official ruleDetail
Split1/2, 1/3 or 1/4 of the period, or a custom start date
Forward periodAlways the newer, later part
Sets testedTop 10% (complete algorithm) or top 25% (genetic algorithm)
MinimumExtra runs are added if fewer than 256
  • PF or maximum drawdown differs sharply between the two parts
  • A small change in settings wrecks the result
  • The optimised period ends just before the EA went on sale
  • No forward or live account record is shown
Look at the neighbours on the optimisation chart

The optimisation chart shows results by parameter as colour intensity. We read a setting surrounded by similar results as more robust to small changes than a lone peak.

Continue the forward check on a demo account in live market conditions.

Demo accounts: how to open one and how it differs from live

Checklist: 10 things to verify in an EA track record

Checklist of six things to verify when looking at EA results
FX Textbook checklist (field names from MT5 official help, checked 30 October 2026)
CheckIf the answer is no
1. Symbol, timeframe and period are statedFigures without settings cannot be compared
2. The tick mode is knownIf Open prices only, rerun on real ticks
3. History Quality (Modelling quality in MT4) is shownData gaps cannot be checked
4. Spread and commission are close to your accountResults fall by the cost gap
5. Delay is not set to No delayFills were ideal
6. The trade count fits the periodResults may rest on a few trades
7. Equity Drawdown Maximal is shownOpen losses are unknown
8. You checked the longest losing streak and its costYou may stop the EA mid-streak
9. There is a forward or live recordIt may only fit the past
10. The original report or a demo lets you reproduce itAn image alone proves nothing

If any answer is no, do not treat the figure as performance. Match the settings and rerun it. The same applies if the seller will not share the original report.

Grid and martingale designs: watch open losses

Designs that add positions can show a smooth balance line while open losses grow. Check the maximum number of positions and how lots increase as well.

How to run your own backtest in MT5

Five steps to run your own backtest in MT5
  1. 01
    Pick the EA

    Select the EA in the Navigator and click Test. For multi-symbol EAs, show the symbols in Market Watch first.

  2. 02
    Set symbol, timeframe and dates

    Choose the symbol and timeframe you plan to trade and enter the dates. The start date is included and the end date is not.

  3. 03
    Choose ticks and delay

    Pick Every tick based on real ticks, and Random delay or the ping to your broker.

  4. 04
    Enter deposit, leverage and commission

    Use the amount and leverage you plan to trade with, and add commission in the advanced settings if your account charges it.

  5. 05
    Read the Results report

    Go through the checklist in this article. Set the forward period to 1/3 or similar to see the later results too.

A weekly timeframe test loads two extra years of history before the chosen period. The first run downloads data from the broker's server, so it takes time.

A demo check is not the same as live

No real money moves on a demo account, so fills and spreads will not fully match a live account. Finish with a small live account to check costs and fills.

Our conclusion: use backtests differently by situation

Illustration of checking an EA in order: backtest, demo account, then a small live account
Our conclusion

Whatever your situation, do not judge an EA by results that leave out the settings or Equity Drawdown Maximal. Beyond that, the first step depends on where you stand.

FX Textbook conclusion (as of 30 October 2026)
Your situationDo this first
Before buying or receiving an EACheck settings and drawdown, then run the demo on your MT5
You can run testsRerun with real ticks, delay and commission
Already runningSet a stop rule at the tested maximum drawdown

Before sizing an EA account, decide how much of your capital you can afford to lose in a drawdown.

Money management basics: risk per trade and position size

Frequently asked questions

Q. What should I look at first in an EA backtest?

A. Read the settings first: period, tick mode, spread and delay. Then check Equity Drawdown Maximal and the trade count, and only then the profit factor and recovery factor. Starting from profit hides differences in settings.

Q. What profit factor is good?

A. The official help only defines 1 as gross profit equal to gross loss. Above 1, the test made money over that period. A high value means little if there are few trades or it drops in the forward test.

Q. Should I use balance or equity drawdown?

A. Use Equity Drawdown Maximal to size your account. Equity includes open losses, so it shows a deeper fall than balance. In the official sample, balance drawdown was 93.29 and equity drawdown 96.58.

Q. Why does low history or modelling quality matter?

A. Gaps or errors in the price data mean the test may have traded on prices that never existed. In MT5, red marks stretches at or below 50%. In MT4, testing on Open prices only shows Modelling quality as n/a.

Q. What is the difference between a backtest and a forward test?

A. A backtest runs on past prices. A forward test checks the chosen settings on a newer period not used in optimisation. A big gap between the two points to overfitting.

Q. Do MT4 and MT5 reports show the same fields?

A. No. The report fields in the MT4 official help do not include Recovery Factor or Sharpe Ratio. Data quality is called Modelling quality in MT4 and History Quality in MT5.

Q. Can I trust backtest images on a sales page?

A. An image does not show the settings. Ask for the original report, or run the free MQL5 Market demo under the same settings. If neither is possible, do not treat it as performance.

Sources and conditions

Where to confirm the current conditionsThis column was edited on 30 October 2026 from the official sources above and FX Textbook listing data. Trading conditions, offers and applicable terms can change; confirm the current terms in each broker's official client area before you act.
Important risk information

FX Textbook is an independent information site, not a broker or provider of personal investment advice. Forex and CFDs involve risk. You may lose some or all of your invested capital. No trading result is guaranteed.

NEXT STEP

Tested the EA? Compare MT4 and MT5 brokers next.

Compare account types, platforms and costs across our listed brokers, with official sources and check dates.

Compare brokers →

Background reading

AUTOMATED TRADINGWhat to check before using an EA or automated strategyTRADING PLATFORMSMT4 vs MT5: Differences, Which to Choose, Broker Support and How to SwitchFOREX BASICSForex Demo Account: How to Open One, How It Differs from Live, and How to PracticeRISK MANAGEMENTForex money management: how to set risk per trade, lot size and margin level (beginner guide)

More columns

FX BASICS · 30 October 2026FX Stop Loss Rules: How to Set Stop Distance, Lot Size and Stop OrdersFX BASICS · 30 October 2026What Is Currency Intervention? Who Decides, Past Data and FX ImpactFX BASICS · 30 October 2026Forex on Payrolls and FOMC Days: Spreads, Fills, Margin and Stop Outs
← Back to columnsNews & updates →