Skip to content
All library documents

Replaying MetaTrader Trade Histories for Visual Analysis

Article MQL5 articles

Summary

This article describes a MetaTrader 5 player for reviewing historical trades visually. It converts tester reports or parsed MetaTrader 4 championship records into a format the player can replay, and explains controls for choosing the time span, symbols, display settings, and playback speed. The charts mark deals and positions separately, with connecting lines and volume labels to clarify how reported deals relate to position levels.

The player can also create per-symbol trade files and synchronized balance data for further analysis. Its tick generator reconstructs price movement from bar data using open, high, low, and close values, with the ordering of the middle points inferred from the candle direction. Replay is approximate: differing quotes, minute-level timestamps, and execution slippage can make simulated results diverge from the original history, sometimes materially. More charts also slow playback. The article presents a visualization and analysis tool rather than a precise tester or a trading strategy, and its balance calculations depend on reconstructed price paths.

Key ideas

  • A MetaTrader report or parsed trade history can serve as input for visual replay.
  • The player can filter the displayed history by time period and selected symbols.
  • Deal and position levels are drawn separately to make their relationship easier to inspect.
  • Bar-based tick reconstruction infers the order of high and low from the candle direction.
  • Replay results can differ from actual trades because of quote, timestamp, and slippage differences.

Tags

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