MQL4 Reference Language Basics Syntax

MQL4 Help as One File:

Syntax

As to the syntax, THE MQL4 language for programming trading strategies is very much similar to the C++ programming language, except for some features:

  • no address arithmetic;
  • no goto operator;
  • an anonymous enumeration can't be declared;
  • no multiple inheritance.

See also

Enumerations, Structures and Classes, Inheritance