MetaTrader 4 Help
Shutdown

Shutdown

Normally, a script shuts down by itself. But it can be removed manually. At that, it must be deinitialized first and then rolled out from the memory. To remove a script from the chart, one has to execute the chart contest menu "Remove Script" command or attach another script to the chart. Besides, a script will be removed from the chart after symbol or timeframe has been changed.

Attention:

  • all scripts will be removed after terminal has been shut down;
  • removing of script from the "Navigator" window will not shut down the MQL4 program of the same name imposed in the chart.