Please refer to the documentation ... Documentation on MQL5: Common Functions / ExpertRemove
Note
The Expert Advisor is not stopped immediately as you call ExpertRemove(); just a flag to stop the EA operation is set. That is, any next event won't be processed, OnDeinit() will be called and the Expert Advisor will be unloaded and removed from the chart.
- www.mql5.com
Maybe try to read the documentation ?
Please refer to the documentation ... Documentation on MQL5: Common Functions / ExpertRemove
Note
The Expert Advisor is not stopped immediately as you call ExpertRemove(); just a flag to stop the EA operation is set. That is, any next event won't be processed, OnDeinit() will be called and the Expert Advisor will be unloaded and removed from the chart.
Oh right, thanks (picard double facepalm)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everybody, I invite you to run this through the debugger. Maybe I am missing something but look at the code: there is not much left to miss. Maybe I missed it good...