Even funnier is that the commission is divided into two trades, entry and exit. Accordingly, in order to correctly determine the commission, we have to go through ENUM_DEAL_ENTRY.
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.
Share your expert and indicator for playback. You can send it to servicedesk, you can send it to me in person.
Haven't been able to reproduce it in mine yet.
Created a request:
Created an application:
Already found the problem. Fixing
Thanks.
ArrayPrint does not work
{
int i, j;
};
void OnStart()
{
STRUCT Array[];
for (int i = ArrayResize(Array, 5) - 1; i >= 0; i--)
{
Array[i].i = MathRand();
Array[i].j = MathRand();
}
ArrayPrint(Array);
}
Result
[0] 2344
[1] 2620
[2] 2870
[3] 1687
[4] 1198
It may have already been done, but let me ask:
why isPOSITION_COMMISSION not highlighted and not in help?
It may have already been done, but let me ask:
whyPOSITION_COMMISSION is not highlighted and not in help?
Forum on trading, automated trading systems and strategy testing
Bugs, bugs, questions
transcendreamer, 2016.06.28 21:48
what's the trick with me not finding a definition for POSITION_COMMISSION not even highlighted in blue? (5.00 1340)
It may have already been done, but let me ask:
Why isPOSITION_COMMISSION not highlighted and not in help?
There was a question, but it's hard to find the answer...
The commission in the properties is not the position, but the transaction.
oh cool.........
thank you!
oh cool.........
thank you!
This is the first time I've encountered this situation, although I've done everything as I've done it many times before.
2017.03.08 12:14:56.563 loading of имя_советника (GBPUSD.m,H1) failed
2017.03.08 12:14:56.565 cannot load expert
Obviously, before running the test, debugging was started on historical data, but the question is - should it be like this? Or what?