Stop EA while not losing variable values
-
My EA is based on "Once per bar" so it stops working exactly at 5:00pm EST Friday . Even though the EA is still running. As soon as it sees the new bar on 5:00pm EST on Sunday it will start making the trading decisions based on my blocks.
I would like to stop the EA making any decisions at 5:00pm EST since the spreads are very high at this time. I cannot just stop the EA since it will lose the values of all my variables that it is using internally.
My questions are:
How do I make the EA not do anything until I want it to? I do not want to use time filter since I don't have a fixed time in mind when I want it to stop working. I just want to be able to manually do this while not losing the values of my variables. -
@yalgaar
Hello
Why you don't use spread filter block ? -
That is not an option!
I still need a way for the variables to not lose its value