How to find crossovers that has already happened?

How to find out the crossovers that has already happened in that day?.For eg in Pi Scanner you can write your script to generate alerts if the 5 day ema crosses the 20 day ema and an alert will be generated when the next buy signal comes.But, for me i want to know the crossover that has happened in the past two days for a stock.How is it possible to do so in Zerodha?