Hello, I have some problem with code execution in demo account. The problem is that some BUY-STOP orders remain on the terminal as BUY-STOP while they should have become BUY. The price goes up and the terminal still shows an open BUY-STOP order. If you try to close such an order manually, the terminal gives an error [invalid parameter]. The BUY-STOP orders are modified (quite often) according to the price changes. Do you think that 'sleep' will solve the problem?
Only after a restart of the terminal all BUY-STOPs are seen as BUY.
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.
Regards
Kris