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.
In the while code, only to delay while the thread is busy.
Then you need to refresh rates: RefreshRates(). Otherwise you will use old asc and bid values. Or ask for asc\bid by MarketInfo.
Then you need to refresh rates: RefreshRates(). Otherwise you will use old Ask and Bid values. Or ask on MarketInfo.
So that's where the dog is at work.
This design worked:
At least it worked right the first time.
Thank you!
Then you need to refresh rates: RefreshRates(). Otherwise you will use old asc and bid values. Or ask for asc\bid on MarketInfo.
Thank you!
I'll fix it in my EA as well.
So that's where the dog is at.
This is the design that makes it work.
At least it worked right the first time.
If the order did not get out, there is nothing to do.Almost - one more condition needs to be corrected :
Good luck with that.
If the warrant does not get out, there is nothing to do.Almost - one more condition needs to be corrected :
five
So in summary:
or will there be any other comments?
There you had slippage = 5, and that's not enough for five-digit quotes.