IncWPROnArray – library MetaTrader 5

An example of using the CWPROnArray class
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: int aPeriod is indicator period. The Solve() method with the following parameters is called in the OnCalculate() function: const int aRatesTotal is the … Read more