In MQL4, it is expected to explicitly specify the types of variables at their declaration. The data type of a variable is declared at the first mention of the name of this variable, at its initialization. When it is mentioned for the second and all subsequent times, its type is not specified anymore. In the course of program execution, the value of the variable can change, but its type and name remain unchanged. The type of a variable can be declared in single lines or operators.