add macd threshold