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...
 

TextSetFont not raising any error on "crappy" input:





 

Ellipse disappearing when scrolling:

Before disappearing/scrolling:


After scrolling one tick to the left:


EDIT:

After investigation, it shows as soon as the price-scale on the right of the chart is changed, it disappears. It does reappear when the scale is the same as it when first drawn.

 
Dominik Egert #:

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.
This bug has been fixed.
 
Spelling error in predefined constant:


Elliotwave is spelled: Elliottwave, with two "TT" s.
 
MetaTrader 5 Platform build 5326: Improvements and fixes
MetaTrader 5 Platform build 5326: Improvements and fixes
  • 2025.10.09
  • www.mql5.com
On Friday, October 3, 2025, an updated version of the MetaTrader 5 desktop platform will be released...
 

Found a signature documentation bug:

https://www.mql5.com/en/docs/files/FileReadStruct


uint  FileReadStruct(
   int          file_handle,        // file handle
   const void&  struct_object,      // target structure to which the contents are read
   int          size=-1             // structure size in bytes
   );

This is the documented signature of this function. - How is a function going to write to a const struct reference??? - It's not a const pointer, not a const reference to a volatile/writeable struct either. - This I consider to be a documentation flaw/bug.

Documentation on MQL5: FileReadStruct / File Functions
Documentation on MQL5: FileReadStruct / File Functions
  • www.mql5.com
The function reads contents into a structure passed as a parameter from a binary-file, starting with the current position of the file pointer...