Skip to content
All library documents

Plotting Exported Trading Signals on a MetaTrader 4 Chart

Article MQL5 code base

Summary

The document describes a workflow for displaying a signal provider’s trading history on a MetaTrader 4 chart. First, select a provider and export its trading history to a CSV file. Save the file in MT4’s designated Files folder, open a chart for the currency pair represented in the data, and attach the plotting script to that chart. Enter the CSV filename without its extension so the script can load the history.

A time-shift input moves the plotted graph left or right, allowing the display to be repositioned relative to the chart. This can help a trader inspect a provider’s past activity visually. The document does not explain how the CSV is structured, how trades are mapped to prices or times, or whether the plotted history accounts for execution costs, missing data, or survivorship bias. Plotting past signals alone does not establish that a strategy is profitable or likely to perform well in the future.

Key ideas

  • A signal provider’s trading history can be exported to CSV for chart display.
  • The CSV should correspond to the currency pair open in MetaTrader 4.
  • The plotting script loads the file using its name without the extension.
  • A time-shift setting moves the plotted graph horizontally on the chart.
  • Visualizing past signals does not establish strategy performance or future profitability.

Tags

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