Skip to content
All library documents

Comparing Two Currency Charts with a Synchronized Indicator

Article MQL5 code base

Summary

The indicator overlays a selected symbol’s price bars in a separate window beneath the chart where it is launched. The displayed symbol can be chosen through an input parameter, and multiple copies can be configured to examine different instruments within one charting workspace. Bars are synchronized to the time intervals of the host chart, which allows traders to compare price movements visually.

The page presents the tool as useful for pairs or spread trading and gives an example comparing AUD/USD with NZD/USD. Visual comparison may help traders assess whether two instruments move together, but the document does not describe a statistical correlation calculation, spread construction, entry or exit rules, or risk controls. It supplies no performance evidence, so the indicator is a charting aid rather than a validated trading method.

Key ideas

  • The indicator displays a selected symbol’s bars alongside the host chart for visual comparison.
  • Displayed bars are synchronized to the time bars of the chart running the indicator.
  • Multiple indicator copies can show different symbols in one workspace.
  • The tool is aimed at visual comparison for pairs or spread trading, but no quantitative method or performance evidence is given.

Tags

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