Dimka-novitsek: Good evening! I'm trying to open five orders - I'm actually learning the peculiarities of the fifth terminal. Well, it's been 40 minutes, I can't see the print message log! If you can, please take a look at it.
swears... 'i' - expression has no effect ordered.mq5 36 27
It's working and that's fine. I don't always see the prints, and it's not very convenient, because it's so good to pull variables in them when debugging!
I declared int i; outside the functions, above it ticks, that it would open orders exactly five! Otherwise it opens many of them. After all, the main thing is that it works.
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.
Good evening! I'm trying to open five orders - I'm actually learning the peculiarities of the fifth terminal. Well, it's been 40 minutes, I can't see the print message log! If you can, please take a look at it.
There's half of it lost...
What's that?
swears... 'i' - expression has no effect ordered.mq5 36 27
It's working and that's fine. I don't always see the prints, and it's not very convenient, because it's so good to pull variables in them when debugging!
Option 1
Variant 2
You missed the starting values altogether.
I also recommend doing a Code Alignment Styler to improve readability.