The CWPROnArray class is intended for calculation of Williams' Percent Range (%R) on indicator buffers.
Additionally, the Test_WPROnArray.mq5 indicator demonstrating how to use of CIchimokuOnArray class is included.
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.