CCHOOnArray class is designed for calculation of Chaikin Oscillator (CHO) values on indicator buffers.
Init() method with the following parameters is called in the OnInit() function:
Solve() method with the following parameters is called in the OnCalculate() function:
Test_CHOOnArray.mq5 is a sample indicator showing CCHOOnArray class application. IncCHOOnArray file must be placed to MQL5\Include\IncOnArray of the terminal data folder (IncOnArray folder must be created).
Chaikin's Oscillator (CHO) is the difference of moving averages of Accumulation/Distribution.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/670
The indicator shows the first, second and third quartiles of the sample.XMA-XN
The fan of hundred XMA moving averages with the possibility to change the number of lines on a chart and select a smoothing method out of ten possible versions.