Pearson correlation indicator – indicator MetaTrader 5

Pearson correlation indicator shows the correlation between symbols.

Input parameters:

  • Symbol               – Name of the second symbol, used for calculation of correlation;
  • Period                – Period;
  • Price                  – Applied price;
  • Min correlation  – Gradient color for weak correlation;
  • Max correlation – Gradient color for strong correlation.

Formula:

Pearson correlation  MetaTrader 5

where:

  • xi and yi – time series;
  • n – number of data;
  • σx and σy – standard deviations.

Pearson correlation indicator MetaTrader 5


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks