Using MetaTrader 5 Tester Data for MetaTrader 4 Backtests
Summary
The document describes a workflow for obtaining minute-level OHLC data for use in MetaTrader 4 backtesting when a broker’s MT4 history is limited. It proposes running an Expert Advisor test in MetaTrader 5 with the M1 timeframe and the one-minute OHLC modeling option, then locating the generated history file in the tester folder and copying it into MT4’s history directory. A period-conversion script can then transform the minute data into higher timeframes.
The stated motivation is that brokers may offer a longer history in MT5 than in MT4; the page gives an example of several years in MT5 versus only a few months in MT4. It does not identify the tool itself in detail, demonstrate the transfer, or report any backtest findings. Data coverage and fidelity depend on the broker and tester configuration, and the workflow’s generated history should be checked for completeness and consistency before using it to evaluate a strategy.
Key ideas
- The workflow uses the MT5 tester to generate minute OHLC history for later use in MT4.
- The generated history file is copied into MT4’s history directory.
- A period-conversion script can produce higher-timeframe bars from the minute series.
- Available history depends on the broker, and the document provides no validation of the transferred data.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.