Skip to content
All library documents

Visualizing MetaTrader 4 Tester Trades on a Chart

Article MQL5 code base

Summary

This utility transfers trades from a MetaTrader 4 strategy tester report onto a price chart, making the behavior of a third-party trading system easier to inspect. It marks long and short entries with configurable symbols and connects entry and exit points using either lines or rectangles.

The display also distinguishes profitable from losing trades with different colors, labels each trade’s result in points, and plots a cumulative profit or loss. These features support visual review of trade timing, outcomes, and the sequence of results. The document describes charting functionality rather than a trading strategy or evidence of performance; it gives no validation method, example results, or guidance on interpreting the plotted trades.

Key ideas

  • The utility maps trades from a MetaTrader 4 tester report onto a chart.
  • Long and short entries use separate, user-configurable symbols.
  • Entry and exit points can be connected with lines or rectangles.
  • Trade results are shown in points, with colors distinguishing wins from losses.
  • A cumulative profit or loss series provides a running view of results.

Tags

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