Alexey Viktorov: Why not? If during testing MT4 is connected to the account where the commission is present, then it will definitely take it into account.
Then try the OrderCommission() function during testing and see what it gives you :)
I can't figure out what braces { } are for, when and how to use them, and when they should be used; I'm in the nascent stage and still learning the simplest functions, but I don't want to put these signs just because I need them, I need to understand when and how to use them.
Evgentlt: I cannot understand why curly braces { } when and how to use them, and when to use them; I am at the embryonic stage and am still learning the simplest functions, but I don't want to put these signs just because I need them, I need to understand when and how to use them.
Evgentlt: I can't understand why curly braces { } are needed when and how to use them, and when they should be used; I'm in the nascent stage and am still learning the simplest functions, but I don't want to put these signs just because they are needed, I need to understand when and how to use them.
Why not? If during testing MT4 is connected to the account where the commission is present, then it will definitely take it into account.
Then try the OrderCommission() function during testing and see what it gives you :)
Then try the OrderCommission() function during testing and see what it gives you : )
Commission.
https://www.mql5.com/ru/docs/constants/structures/mqldatetime
Thanks, how to fix this error ?
In the settings.
Commission.
Which will be 0 and not the real commission on the account, the person asks in the tester what the value will be.
I cannot understand why curly braces { } when and how to use them, and when to use them; I am at the embryonic stage and am still learning the simplest functions, but I don't want to put these signs just because I need them, I need to understand when and how to use them.
Maybe this will be enough to understand.
Here's more.
I can't understand why curly braces { } are needed when and how to use them, and when they should be used; I'm in the nascent stage and am still learning the simplest functions, but I don't want to put these signs just because they are needed, I need to understand when and how to use them.
Thanks, how to fix this error ?
In the settings.
I need more code.
Need more code
Whole)
This is how it compiles: