MQL4 Reference Language Basics Data Types Integer Types
Integer TypesIn MQL4 integers are represented by eleven types. Some types can be used together with other ones, if required by the program logic, but in this case it's necessary to remember the rules of typecasting. The table below lists the characteristics of each type. Besides, the last column features a type in C++ corresponding to each type.
Integer type values can also be presented as numeric constants, color literals, date-time literals, character constants and enumerations. See also Conversion Functions, Numeric Type Constants |