Can I stop variables reseting?

 

I have noticed that when I change time frames (same from H1 to H4) all the global variables are reset to the value that was give to them when they are defined, is it possible to stop this resetting?


Thanks, Steve