IncATROnArray – library MetaTrader 5

Example of use of CATROnArray class
CATROnArray is designed for calculation of ATR (Average True Range) values on indicator buffers. Usage: Init() method with the following parameters is called in the OnInit() indicator function: int aPeriod – indicator period. ENUM_MA_METHOD aMethod – smoothing method. Solve() method with the following parameters is called in the OnCalculate() indicator function: const int aRatesTotal is … Read more