Errors, bugs, questions - page 2380
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The logic that already exists is broken.
This is more interesting.
If we don't change calls, the comment will be overwritten as before.
If we explicitly pass NULL, we copy existing comment
The logic that already exists is being violated.
Nobody uses that logic. All the more reason to use it.
The logic that already exists is broken.
This is more interesting.
If you don't change the challenges, the comment will be overwritten as before.
If explicitly pass NULL, then copy existing comment
Please have a look and
it makes 10 (!!!) attempts to close a position:( I had such situations when debugging (Netting, Real, Opening):
the highlighted line is the 2nd attempt to close a position :) As you can see from the logs it was not entirely successful
At the moment I am using it:
There is already one attempt to close position by code. It seems correct to let the user control the fact of position closing. 10 attempts is not a panacea
The logic that already exists is broken.
This is more interesting.
If we don't change calls, the comment will be overwritten as before.
If we explicitly pass NULL, we copy existing comment
Or maybe it will be more convenient.
Then whoever needs it will overwrite it with an empty value. The default value will be copied.
Dear developers!
The terminal was updated to 1983. There are some strange errors in the tester when creating graphical objects (I am creating vertical lines and trend lines). In 1981 everything was normal.
Now I get errors 4001.
Creation code:
Question for developers.
Themytrade.PositionClose(conststring symbol,ulong deviation=ULONG_MAX) function of the standard library is missing a comment parameter:conststring comment="".
Is it an oversight ?
It seems more appropriate to write here:
https://www.mql5.com/ru/forum/302709#comment_10570043