Skip to content
All library documents

Displaying Multiple Currency Charts in One Indicator Window

Article MQL5 code base

Summary

CurrencyChart is a MetaTrader indicator for showing price charts for several symbols in a single indicator window. The document illustrates attaching the indicator more than once to a chart and setting a different symbol each time. Its example uses an EURUSD five-minute chart as the base and adds EURCHF and USDJPY, resulting in three displayed currency charts. The symbol parameter defaults to EURUSD.

This is a chart-display utility rather than a trading signal or strategy: the text does not describe calculations, entries, exits, or performance evidence. It does state an operational prerequisite: the chart windows for the symbols used by the indicator must already be open. The explanation is brief, so it does not specify how the displayed charts are scaled or aligned, whether their prices are normalized for comparison, or how many symbols the indicator can handle in practice. It is most relevant to traders who want to monitor multiple currency pairs together within MetaTrader.

Key ideas

  • The indicator displays charts for multiple symbols in one window.
  • Each attached instance can be configured with a different symbol.
  • The example combines EURUSD, EURCHF, and USDJPY charts.
  • The symbol charts used by the indicator need to be open.

Tags

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