Expert Advisors / MetaQuotes Language

MetaQuotes Language 4 (MQL 4) is a new built-in language for programming trading strategies. This language allows the creation of your own Expert Advisors that render the trade process management automatic and are perfectly suitable for implementing your own trade strategies. You can create your own Custom Indicators, Scripts and Libraries of functions with the help of MQL 4, as well.

A large number of functions necessary for the analysis of the current and last quotations, the basic arithmetic and logic operations are included in MQL4 structure. There are also basic indicators built in and commands of order placement and the control over them.

The MetaEditor 4 IDE (Integrated Development Environment) that highlights different constructions of MQL 4 is used for writing the program code. It helps users to orient in the expert system text quite easily. As an information book for MQL 4 we use MetaQuotes Language Dictionary. A brief guide contains functions divided into categories, operations, reserved words and other language constructions and allows finding the description of every element we use.

Programs written in MetaQuotes Language 4 have different features and purposes: