IncVidyaOnArray – library MetaTrader 5

An example of using the CVidyaOnArray class
The CVidyaOnArray class is intended for calculation of VIDYA (Variable Index Dynamic Average) on an indicator buffer. Usage: The Init() method with the following parameters is called in the OnInit() function of the indicator: int aCMOPeriod is period of the CMO oscillator; int aMAPeriod is indicator period. The Solve() method with the following parameters is … Read more