IncDemaOnArray – library MetaTrader 5

TestDemaOnArray
The CDemaOnArray class is intended for calculation of DEMA (Double Exponential Moving Average) on an indicator buffer. Usage: The Init() method with the following parameters is called in the OnInit() function of the indicator: int aPeriod is indicator period; ENUM_MA_METHOD aMethod is a method of smoothing. The Solve() method with the following parameters is called … Read more