I am using pandas and mplfinance to work with a stock market data set. How can I compare the current index to the previous(x) indexes?
For example I want to find a di