MQL4 Reserved Words

Reserved words in MQL4 have predefined meanings and cannot be used as identifiers for other purposes.

Data Types

  • bool
  • char
  • class
  • color
  • datetime
  • double
  • enum
  • float
  • int
  • long
  • short
  • string
  • struct
  • uchar
  • uint
  • ulong
  • ushort
  • void
  • Access Specificators

  • const
  • private
  • protected
  • public
  • virtual
  • Memory Classes

  • extern
  • input
  • static
  • Operators

  • break
  • case
  • continue
  • default
  • delete
  • do
  • dynamic_cast
  • else
  • for
  • if
  • new
  • operator
  • return
  • sizeof
  • switch
  • while
  • Other

  • #define
  • #import
  • #include
  • #property
  • false
  • strict
  • template
  • this
  • true
  • typename