Skip to content
All library documents

Using Pairwise Currency Correlation to Assess Divergence

Article MQL5 code base

Summary

The document describes a trading indicator that compares two currency pairs. Users choose a second symbol, a correlation method, and a lookback period; the resulting indicator is intended to help assess whether the pairs are moving together or diverging. Traders may use that relationship as one input when making decisions across multiple currency pairs.

The description does not specify the correlation formulas, how readings should be interpreted, or what trade rules follow from divergence or convergence. It provides no examples, performance evidence, or guidance on window selection and changing market relationships. Correlation can describe co-movement over the chosen period, but this text does not establish that it predicts future price changes or supports a standalone strategy.

Key ideas

  • The indicator compares a selected currency pair with a second symbol.
  • Its settings include the comparison symbol, correlation approach, and lookback period.
  • The intended use is to observe divergence or convergence between pairs.
  • The description gives no entry rules, validation results, or treatment of unstable correlations.

Tags

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