Global Variable
-
Good day Experts
I am working to save variable into PC so that if any crash or update happens, EA recognize last variables
Can anyone help as it is still making variable to ZERO (0) after Mt4 reopening -
You have the right idea, save and read from a terminal(global) variable
-
Hello @jstap
Good dayThanks for your reply.
But EA is not saving data in global terminal. EA is resetting date as soon as I change the chart or restart the terminal.
I want to save +1 in global variable if last trade was not in profit. -
@Safeer992 try doing it on DEINIT or write the variables into a text object with no colour and then it should save when it crashes into the text object.