MACD finished. cleaning code in progress