cTrader

AlgoWay Blog

Guides, manuals and platform references.

Core
JSON & Alerts
MT5 / Expert Advisors
Errors
Integrations
Other Publications
AlgoWay Strategy Lab

MT5 Forward Testing: Historical Holdout or Live Data?

AlgoWay trading automation

The word “forward” does two jobs in trading conversations. It can mean watching a strategy operate on incoming prices. In the MT5 Strategy Tester's Forward setting, it means checking selected parameters on a later part of the historical date range. The tester is not waiting for tomorrow's market.

This matters when evaluating automated trading. A historical holdout asks whether settings survive different data. An operational trial asks whether the intended workflow behaves correctly as new events arrive. If your planned workflow is TradingView to MT5, use the AlgoWay connection and test-alert guide for the connection step. Keep that trial separate from the evidence produced by a Strategy Tester report.

Which dates does Forward reserve?

MetaQuotes' Strategy Testing documentation explains that Forward splits the selected Date interval into an earlier backtesting part and a later checking part. The available choices include half, one third, one quarter and a custom forward start date. The fraction specifies the part reserved for the forward test, not the part used for fitting.

Here is a hypothetical custom split, chosen to make the boundary unambiguous:

Setting or phaseExamplePurpose
Total Date interval2025-01-01 to 2026-01-01The historical window available to the experiment.
Custom Forward start2025-10-01The boundary between selection and checking.
Earlier periodJanuary through September 2025Optimize inputs on earlier observations.
Later periodOctober through December 2025Check selected inputs on later observations.

MT5 includes the test start date and excludes the end date, according to the optimization documentation. That is why an end date of 2026-01-01 covers the preceding December rather than adding January 1. Save the actual boundaries with the report; “a year with a forward test” is not precise enough to reproduce it.

What happens after optimization?

MT5 optimizes on the earlier segment, then runs selected results on the later one. MetaQuotes documents selection of the best 10% of complete-search passes or 25% of genetic-search passes, with a minimum-selection rule of 256 passes; if fewer than 256 total passes exist, all participate. Forward results therefore need not represent every tested input combination in a large search.

Compare the same parameter set across the two periods. Do not accidentally compare the best earlier row with a different later winner and describe that as one stable strategy. Keep the inputs attached to each result, alongside trade count, profit, drawdown and the length of the period.

The custom example above reserves three months after nine months of research. Equal raw profit is not a sensible automatic requirement for unequal periods. Nor does a positive three-month total explain much if it came from two trades. Look at the distribution of outcomes and the amount of evidence behind the result before drawing a conclusion.

The holdout can become part of the fitting process

Suppose a moving-average strategy disappoints in the later period. You inspect those trades, change the entry filter, and rerun the same dates until the result improves. That may be useful development, but those dates have now influenced the design. Calling them untouched validation data would conceal how the choice was made.

A practical research discipline is to write down the selection rule before opening the holdout results. Record changes made afterward. If the strategy is revised using the later period, seek a further untouched period for the next check rather than relabeling the familiar one. This is a methodological recommendation, not an MT5 switch that prevents you from looking.

Keep data quality as a separate question. The MT5 real-ticks versus generated-ticks guide explains why the simulation's input can change results. A clean date split cannot repair an unsuitable price model, and a better price model cannot undo repeated selection on the same dates.

What a separate demo trial should record

For a trial on incoming market data, freeze the strategy version and settings, then record expected actions before comparing them with observed account events. A useful operational record includes signal time, intended side and size, requested protection, resulting order status, and the eventual position state. Remove account identifiers before sharing it.

Investigate missing actions, repeated actions and mismatched quantities independently of profit. A winning trade can still expose an execution mistake. Conversely, a correctly executed losing trade is not evidence that the connection malfunctioned.

A demo trial does not establish that live fills will match it, and a historical Forward result is not a promise of future returns. The useful conclusion is narrower: you can identify which dates selected the settings, which dates checked them, and which separate observations tested the operational workflow. Those are three different pieces of evidence worth keeping under their proper names.

Last updated: October 12, 2026