add macd index for later use, the position print peak