MT5/mql5 reported and confirmed bugs. - page 12

 

Terminal Bug:

How to reproduce:

Terminal open, only Toolbox showing.

Press F4-Key, all other Keys now are "disabled"

How to return to working keys: Use Mouse - Now keys work again.

EDIT:

MetaEditor is already open in background. Window flashes, but input focus is on terminal.
 

Wrong documentation about enum types and their usage:

Refering to this entry:

https://www.mql5.com/en/docs/basis/types/integer/enumeration


It states, there is no anonymous enum type supported in MQL5. - This is wrong.

The compiler is happily accepting following code, and it works exactly as you would expect it to do:

enum
{
        ALPHA = 1,
        BETA = 2
};


Further more, the enum type is actually not 4 bytes, but only 31 bits in size, as EnumToString is unable to resolve the Enum type if the sign bit is set.

Documentation on MQL5: Language Basics / Data Types / Integer Types / Enumerations
Documentation on MQL5: Language Basics / Data Types / Integer Types / Enumerations
  • www.mql5.com
Data of the enum type belong to a certain limited set of data. Defining the enumeration type: The list of values is a list of identifiers of named...