MetaQuotes Language 4 (MQL 4) is a new built-in language for programming trading strategies. This…