IncMACDOnArray – library MetaTrader 5

Example of use of CMACDOnArray class
CMACDOnArray class is designed for calculation of MACD (Moving Average Convergence/Divergence, MACD) values on indicator buffers. Usage: Init() method with the following parameters is called in the OnInit() function: int aFastPeriod – fast МА period; int aSlowPeriod – slow МА period; int aSignalPeriod – signal line period; ENUM_MA_METHOD aFastMethod – fast МА method; ENUM_MA_METHOD aSlowMetod … Read more