Script is a program written in MetaQuotes Language 4 (MQL 4) and intended for a single performing of any actions. A script can fulfil both analytical and trading functions. Unlike experts, scripts are executed on request, not by ticks. In other words, where an expert works almost continuously, a script, having completed the function once, stops functioning by itself.
Working with scripts means:
Launching of a Script
To launch a script, one has to attach it to the chart. The script algorithm will be launched immediately after that.
Deletion of a Script
The script completes its working after it has been deleted from the chart.