how to calculate MACD crossover price of last bar?