Adding MACD with controllable MA type.