using generated MACD