Libraries: Statistics.mqh Functions

 

Statistics.mqh Functions:

The library that contains various statistical functions including the calculation of an average value, variance, asymmetry, excess, covariation, correlation etc.

Author: QSer29

 
hi there's a mql4 file of this work?thanks
 
Automated-Trading:

Statistical functions statistics.mqh:

Author: QSer29

I apologise, I ran the test script and it gave a correlation value of 1.4.

Shouldn't the correlation be within -1 - 1 ?

It is not clear how to use the result

 
Виктор Астахов:

I apologise, I ran the test script and it gave a correlation value of 1.4.

Shouldn't the correlation be between -1 and 1 ?

It is not clear how to use the result

Of course it's 1 or -1. There's an error in the code somewhere