Download MetaTrader 5

Global Variables persist after deletion

To add comments, please log in or register
Daehoth
35
Daehoth  

Hi,

 

After build 940, global variables seem to repeat themselves and persist even AFTER deletion and restart of the mt4 platform. 

I seem to have global variables dating back to December of 2015....

anyone else has this problem or know how to resolve this?

stanislass
73
stanislass  

it seems to me they persistent 1 month.

See doc

Daehoth
35
Daehoth  

Oh yes, that's fine.

 But I've deleted them. So they're supposed to stay deleted even after restarting MT4.

But the variables remain despite any attempt to delete them. 

Carl Schreiber
6787
Carl Schreiber  
Try to use: GlobalVariablesFlush(); after your deletion.
To add comments, please log in or register