IncFractalsOnArray – library MetaTrader 5

An example of using the CFractalsOnArray class
The CFractalsOnArray class is intended for calculation of Fractals on indicator buffers. Usage: Preparation (initialization) is not required. The Solve() method with the following parameters is called in the OnCalculate() function: const int aRatesTotal is the rates_total variable from the OnCalculate() function parameters; const int aPrevCalc is the prev_calculated variable from the OnCalculate() function parameters; … Read more