I'm trying out a strategy where I make use of various indicators to check for overbought and oversold conditions.

My Code is intended to run each day and employs OHLC values and indicator values for the past 3 days.

I have used a rolling window for this purpose.

The data I seem to get in the logs doesnt seem to agree with the actual available data and Low and Close values are always very close.

Can someone please help me out