Download MetaTrader 5

Service Desk exchange ...

To add comments, please log in or register
ydrol
590
ydrol  

I logged a request (suggestion) that they mention the ExpertRemove function on the program running page. As it might be useful to others. The reply from ServiceDesk ...

 

Support Team 2015.06.18 12:30

Hello,  

Expert can't be removed from chart from MQL code.

 

 Why is it often so painful talking to these people ? ....  ExpertRemove description ...

 "The function stops an Expert Advisor and unloads it from a chart." 

honest_knave
Moderator
2318
honest_knave  

Oh dear! Then I guess something else must be removing the Expert in my code...

MQL4 documentation is shocking 

whroeder1
16105
whroeder1  
ydrol: As it might be useful to others.
That's why I wrote Alphabetic Index of MQL4 Functions (600+) - MQL4 forum
ydrol
590
ydrol  

That index is indeed very handy, and thanks for your efforts here, though I think the onus is on MQ to provide complete documentation. ExpertRemove should IMO get a mention in the Program Running page which has the following section:

 

Expert Advisors are unloaded in the following cases:

  • when detaching an Expert Advisor from a chart;
  • if a new Expert Advisor is attached to a chart, if another Expert Advisor has been attached already, this Expert Advisor is unloaded.
  • terminal shutdown (if the Expert Advisor was attached to a chart);
  • loading of a template, if an Expert Advisor is attached to the chart;
  • close of a chart, to which the Expert Advisor is attached.
  • change of a profile, if the Expert Advisor is attached to one of charts of the changed profile;
  • change of the account to which the terminal is connected (if the Expert Advisor was attached to the chart before the authorization of the terminal on the server.
To add comments, please log in or register