IncStdDevOnArray – library MetaTrader 5
CStdDevOnArray class is designed for calculation of Standard Deviation (StdDev) on indicator buffers. Usage: Init() method with the following parameters is called in the OnInit() function: int aPeriod – indicator period; ENUM_MA_METHOD aMethod – MA method. Solve() method with the following parameters is called in the OnCalculate() function: const int aRatesTotal is a rates_total variable … Read more