Please STUDY the article. Please USE the code from the article. The validator does a lot of checks - and the validator immediately throws bad code into the trash.
Passed. Thank you one more time, Vladimir.
The mistake was not in that piece but in the OrderSend function.
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.
You DO NOT have these checks - you get an error
Please STUDY the article. Please USE the code from the article. The validator does a lot of checks - and the validator immediately throws bad code into the trash.
Passed. Thank you one more time, Vladimir.
The mistake was not in that piece but in the OrderSend function.
Passed. Thank you one more time, Vladimir.
The mistake was not in that piece but in the OrderSend function.
Forum on trading, automated trading systems and testing trading strategies
Validation error - PositionModify
Vladimir Karputov, 2021.12.27 18:49
By the way, you can take the ready-made code from the article An attempt at developing an EA constructor