fixed macd auto sell bug