Global variables only persist for 4 weeks?!

 

Just found a reference to this in MQL doc:

"Global variables are available within four weeks since their last call from experts or manual modifying."

I take this to mean that, if you create a global variable, whether in code from an EA, or manually, if there are no modications or access to it, the global variable gets deleted?

Really? Why was MQL designed this way?

 

It's mql's way of garbage collection.

Why do you need a variable which got never read/wrote in 4 week's?

If you need a more longer lifetime, store the variable in a file on the disk

Reason: