Script

What are scripts for ?

 the script - user program written in a programming language Meta Quotes Languagewhich allows you to automatically execute a programmed action in the MetaTrader trading terminal.

What is a script

What functions do scripts perform?

The mql scripts can perform the following functions:

  • Informational - providing a variety of trading information (on the trading account, on the currency pair, time candles etc.)
  • Trading - execution of trading operations (placing an order with a specified stop-loss level, closing a certain type of positions, etc.).
  • Visual - performing operations with price charts of currency pairs (creating screenshots, drawing trend lines and levels, creating non-standard timeframes, etc.).

How do scripts differ from advisors?

Unlike other types of programs written in MQL (Expert Advisors and indicators), scripts perform an action only once. After the script executes the function embedded in its algorithm, its work is automatically terminated.

Useful articles on the topic

Leave a Reply

Back to top button