Libraries: Z-Score Calculation

 

Z-Score Calculation:

The library helps to organize calculations of Max, Min, universal mean, standard deviation, skew, kurtosis, and Z-score, on the data array.

Author: MetaQuotes Software Corp.

 

Thanks for this file. I have had it incorporated inan indicator which plots the z score as a function of trade history.

I am having an issue with it when changing timeframes on a yen pair. The Expert log says

Z-Score.v1.0 EURJPY,H1: incorrect start position 0 for ArraySort function

and further

Expert record which contains the comment "zero divide in Z_include.mqh".

My coder says that it is the reason why the indicator shows nothing when I change the TF from H1 to H4 or Daily.

Can you fix it?

Reason: