Indicator question

 

I recently downloaded a custom indicator from this site and once I applied it to my charts, I noticed that if I change the time frame or even close and reopen my platform, all the previously drawn bars in the indicator disappear! Is there something missing from the code that would cause this? I need this data from the indicator so I can do some analytics. Any thoughts/suggestions or help would be much appreciated! Here is the indicator:https://www.mql5.com/en/code/8558

Thank you! Daniel

 

This indicator works by ticks and doesn't use history bars. If you need to see history, you have to find another indicator.

Reason: