Beginning macd unit