Enormous GlobalVariableSet() Lag

 

Hy Everybody,

i am setting a global variable in an Indicator and getting it in a Expert Advisor and then set it back immediately. However, it seems that the variable takes up to 20 tick cycles to be setted although i get the timestamp returned from the GlobalVariableSet() function! How comes? Is there a lag in setting or getting a global variable?

beeing desprate i thank you for any help ;-)

haemse

 
i don't know if there is or not, but, u should know that GlobalVariable is not reliable use File functions instead
 
I never had problem with globals. If they're slow then saving to file is going to be even worse. file-functions are also unreliable in crashes.
Reason: