Skip to content
All library documents

Analyzing and Reusing MetaTrader 5 Single-Pass Tester Cache Data

Article MQL5 code base

Summary

This document explains how MetaTrader 5 strategy tester cache files for individual test runs can be read, saved, and inspected without rerunning the tester. Example scripts convert real account trading history into a tester-compatible file and retrieve the latest cached pass to display its header, summary statistics, inputs, balance, and equity series.

The broader proposal is to build tools that combine cached passes, compare their statistics, clean out unwanted runs, estimate portfolio weights and money management, inspect favorable trading intervals, and evaluate sensitivity to execution settings, latency, commissions, or tick histories. The examples demonstrate data access and charting, but the document does not report empirical findings or validate the proposed analyses. It depends on access to the tester’s cache format and sandboxed cache files, and describes potential tooling rather than a complete workflow for robust strategy evaluation.

Key ideas

  • A single-pass tester cache can preserve data that can be inspected without rerunning the test.\nThe examples retrieve pass metadata and plot balance and equity.\nCombining cached passes could support comparisons, portfolio weighting, and execution sensitivity analysis.\nThe document proposes capabilities but supplies no empirical validation of them.

Tags

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