Draw oscillators for the past

Hi all.

I wonder how to draw any indicates from the past date. For something like as follow

tending = (current day - 10 days)

Just to see how the tools worked for a specific day in the past. I cant see anything I can revert the price char to past and analyse the price for any given instrument.

Could anyone help shed light please?

Many thanks