The CCHOOnArray class is intended for calculation of the Chaikin Volatility indicator (CHV) on indicator buffers.
Usage:
The Init() method with the following parameters is called in the OnInit() function of the indicator:
The Solve() method with the following parameters is called in the OnCalculate() function:
Additional methods:
The Test_CHVOnArray.mq5 file is an indicator demonstrating how to use the CCHVOnArray class. The IncCHVOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).
Chaikin's volatility indicator calculates the spread between the maximum and minimum prices. It judges the value of volatility basing on the amplitude between the maximum and the minimum. Unlike Average True Range, Chaikin's indicator doesn't take gaps into account.

Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/671
IncFractalsOnArray
The CFractalsOnArray class is intended for calculation of Fractals on indicator buffers.
IncTrixOnArray
The CTrixOnArray class is intended for calculation of Triple Exponential Average (TRIX) on an indicator buffer.
IncOBVOnArray
The COBVOnArray class is intended for calculation of OBV (On Balance Volume) on indicator buffers.
IncFramaOnArray
The CFramaOnArray class is intended for calulcation of Fractal Adaptive Moving Average (FRAMA) on indicator buffers.