Florent #: Thank you @Arda Kayan for the confirmation of the numbers expected. But could you please, execute my little script? I need this confirmation to finish my code. Depending on whether it's my mt5 environment or a bug in the function, I'll adapt my approach.
Only way to make your code be proper is to use the enum constants, not the underlying integer value.
Use a switch statement to resolve your enums to your own integer definition, if you actually have to do it this way.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Thank you @Arda Kayan for the confirmation of the numbers expected.
But could you please, execute my little script?
I need this confirmation to finish my code.
Depending on whether it's my mt5 environment or a bug in the function, I'll adapt my approach.