Scrolling Back In Time, but my indicator will not. Why?

 
I have an indicator that picks up data starting from the M5 time frame and works all the way to monthly. I am able to max out chart data, but My indicator only goes so far.

I need to get this fixed bc the data the indicator provides relys on previous candle data

Is there a code that I need to insert? some new DLL? 
Reason: