You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Answer the original question.
I'm having some miracles over here...
I mean, check it out for yourself?
I'm coming to the conclusion that a CF hanging for a while before the button is pressed does not allow the EA to be connected later.
Put any MB in deinit, load and unload EA.
1. If you answer OK quickly, it remains possible to reconnect the EA.
2. If you wait a while, the EA will not join.
I almost lost my mind when I understood it...
I told you in the first post - deinit runs for 2.5 seconds.
The box delays the process, and the EA is forcibly shut down. After that it does not work (it just found out)
By the way, it works in the script ;)
Let it work as long as you like, but why (or why) do we need the difficulty of connecting the next EA afterwards?
Is it supposed to be like this, or is it a flaw? Maybe the developers can tell us...
but so far they rarely (or little?) read this forum...
deinit runs for 2.5 seconds - should the user respond that quickly? =)
You can write to a file what needs to be done, and then the script will read it, display MessageBox and, depending on the response, do something about it.
stringo,
I don't really get it. What does looping have to do with deinit durations?
If the script completes its work, then it runs deinit and no one is watching it from above and no timeout is checked