added MACD, automated trades