See return value and code of error, GetLastError()
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
Can anyone tell me why order #10948713 as shown in partial log below is still open?
My EA relies on closing an order before another is opened. The order was supposed to be closed by the following line of code to limit losses
OrderClose(myticket, OrderLots(), OrderClosePrice(), 3, Yellow);
08:44:44 '5231342': close order #10948713 sell 1.00 EURUSD at 1.4218 sl: 0.0000 tp: 1.4208 at price 1.4320
08:44:57 '5231342': request was accepted by server08:44:59 '5231342': requote 1.4321 / 1.4323 for order #10948713 sell 1.00 EURUSD closing at 1.4320
08:47:38 '5231342': login (4.00, #2B5D1EAB)
09:05:53 '5231342': ping failed
09:05:59 '5231342': login (4.00, #2B5D1EAB)