what is "uninit reason 0"?
What a useless comment.
The documentation is useless solving this question.
What a useless comment.
The documentation is useless solving this question.
Did you try clicking on the link on the webpage?
- docs.mql4.com
The link provided absolutely answers the question.
You are reading it backwards. Reason code 0 is not calling anything. The EA, in one of its functions, called the ExpertRemove() function.
Upon return, the terminal has called OnDeinit and will remove the EA upon return. That is English.
Scripts run once and then exit. No ExpertRemove() required. Code is working as written.
If you don't want “run once and exit”, then code an EA, not a script. “There is nothing to solve,” PICNIC.
i tried to open an order using script but got this error "uninit reason 0".
what is it?
how to fix it?
please help.