The client terminal has its own built-in language for programming trading strategies - MetaQuotes Language 5. This is the fifth generation of MQL languages. It allows writing Expert Advisors that automate management of trade processes, as well as implementing one's own trading strategies. Besides, custom indicators, scripts and function libraries can be created in MQL5.

MQL5 Features:

  • The language is object-oriented;
  • MQL5 syntax is similar to that of C++;
  • It contains a large number of functions  necessary for analyzing quotes, managing positions, calling technical indicators, etc.;
  • The language is characterized by high performance;
  • High protection against decompilation: new complex encryption algorithms, file integrity checking and the complexity of the language itself;
  • OpenCL support what allows using video cards for computation in MQL5 applications;
  • It has the integrated development environment MetaEditor that includes a debugger.

The detailed description of all language constructions and functions can be found in MQL5 Userguide. All the necessary information about MQL5 can also be found on the developers' community website at


MetaTrader 5 — a complex trading platform for providing brokerage services on the retail Forex market.

Copyright 2000-2015, MetaQuotes Software Corp.