MetaTrader 4 Help
MetaTrader 4 HelpAuto TradingExpert AdvisorsShutdown

Shutdown

To shut down an expert, one has to remove it from the chart. Expert must have been deinitialized before it is shut down. To remove an expert from the chart, one has to execute the chart context menu "Expert Advisors – Delete" command or attach another expert to the same chart. Besides, the expert can be removed from the chart at profile or template change.

Attention:

  • at client terminal shutdown, all experts are shut down, too;
  • at chart closing, the expert attached to this chart will be shut down;
  • at imposing of another expert, the previous one will be removed after confirmation;
  • deletion of the expert from the "Navigator" window does not shut down the expert of the same name imposed in the chart;
  • disabling of experts in the client terminal settings does not provide complete disabling of experts. This option stops launching of the start() function of each expert, but the init() will continue to execute.