Algorithmic Trading with MACD in Python