Skip to content
All library documents

Accelerating MT5 Expert Advisor Tests with Saved Tick Data

Article MQL5 code base

Summary

The document describes a library that lets an MT5 strategy run in the tester’s mathematical mode. Its workflow first runs an Expert Advisor to save tick data, then uses that data in a later test. The article shows example logs for both stages and says the mathematical-mode run was faster and used little memory in the illustrated comparison.

This is a testing technique rather than a trading strategy. The claimed speed and memory benefits are based on the author’s example, with no broad benchmark results or details about how performance changes across strategies and datasets. The setup also depends on a collection of external libraries and requires enabling DLL use. The document does not explain how to validate that mathematical-mode results match the usual tester’s execution or how the method handles differences in trading conditions, so users should treat the example as a testing workflow whose output needs independent verification.

Key ideas

  • The library enables an Expert Advisor to run in MT5 tester mathematical mode.
  • Save tick data in an initial test pass before running the mathematical-mode test.
  • The example logs report faster testing and low memory use, but do not establish general performance gains.
  • The setup depends on external libraries and enabling DLL use.
  • Compare results with conventional tests to assess whether the mode represents the strategy accurately.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.