Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.05.30 15:05

Pearson correlation indicator - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 43

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.


Pearson correlation  MetaTrader 5


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

Pearson correlation indicator MetaTrader 5

Translated from Russian by MetaQuotes Software Corp.
Original code:

Size Highs And Lows Size Highs And Lows

The indicator shows the size of Highs and Lows and their values over the specified period.

IncGUI_ColorInput IncGUI_ColorInput

Graphic control for color selection.

Sampler Sampler

The indicator calculates perfect market entry signals, which can be used for neural network training.

sSortTest sSortTest

Comparative study of sorting algorithms.