First cut of MACD (not tested yet)