IncMomentumOnArray – library MetaTrader 5
CMomentumOnArray class is designed for calculation of Momentum values on indicator buffers. Usage: Init() method with the following parameters is called in the OnInit() function: int aPeriod – indicator period. Solve() method with the following parameters is called in the OnCalculate() function: const int aRatesTotal is a rates_total variable from the OnCalculate() function parameters; const … Read more