Download MetaTrader 5
To add comments, please log in or register
Do you want to write a technical indicator? Find solution in MQL5 Reference!
Daehoth
34
Daehoth 2016.01.11 06:24 

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
57
stanislass 2016.01.11 10:26  

it seems to me they persistent 1 month.

See doc

Daehoth
34
Daehoth 2016.01.11 12:35  

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
5937
Carl Schreiber 2016.01.11 12:43  
Try to use: GlobalVariablesFlush(); after your deletion.
/
To add comments, please log in or register