Create MACDTradingEngine.r