The CWPROnArray class is intended for calculation of Williams' Percent Range (%R) 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_WPROnArray.mq5 file is an indicator demonstrating how to use the CWPROnArray class. The IncWPROnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).
Williams’ Percent Range Technical Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold. Williams’ %R is very similar to the Stochastic Oscillator. The only difference is that %R has an upside down scale and the Stochastic Oscillator has internal smoothing.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/648
IncBullsBearsOnArray
CBullsBearsOnArray class is designed for calculation of Bulls Power and Bears Power values on indicator buffers. The example of use of the class is provided.
Fine_Fractals_MTF
The indicator creates fractals from another larger timeframe on a current chart based on Fine_Fractals indicator data.
IncForceOnArray
The CForceOnArray class is intended for calculation of Force Index on indicator buffers.
IncVidyaOnArray
The CVidyaOnArray class is intended for calculation of VIDYA (Variable Index Dynamic Average) on an indicator buffer.