Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Pearson correlation indicator

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:

MetaTrader Experts, Indicators, Scripts and Libraries

where:

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

MetaTrader Experts, Indicators, Scripts and Libraries

897

Best MetaTrader Indicators + Profitable Expert Advisors