MACD (Moving Average Convergence/Divergence) is a classical trading indicator used in technical analysis from late 1970s.
It is supposed to reveal changes in the strength, direction, momentum, and duration of a trend currencies price (also stocks, commodities etc).
The New MACD indicator is an advanced model of the standard MACD indicator. You may use the New MACD absolutely the same way as classical.
The main difference is that New MACD is working faster (in case of similar input parameters).
- InpFastPeriod = 5; - Period for Moving Average #1
- InpSlowPeriod = 14; - Period for Moving Average #2
- maMethod = MODE_SMA; - The smoothing type as an input parameter
- appliedPrice = PRICE_CLOSE; - There are 7 predefined identifiers, used to specify the desired price base for calculations