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
Hi everybody,
It's the first time I'm posting here, so: apologies if I don't respect some forum rule which I still don't know.
I have a question about "off quotes" error. In one of my MetaTrader4 account (broker: CMC) - which is a "Market" execution type broker, I had, some time ago, an off quotes error when opening an order (with OrderSend()...). This only happened once in weeks, so I suppose it was a little temporary connection problem. Anyway, in my EA's, I managed to handle that kind of problem by following this: https://www.mql5.com/en/forum/158943
Now I'm wondering if such errors can also happen when I'm closing an opened order with OrderClose(). I suppose it can - and should deal with it in my code -, but I googled about that without finding any concrete example of that.
So my question: with a "Market" Execution type broker, can "offquotes" error happen when I close a position with some code such as "OrderClose(OrderTicket(),OrderLots(),Ask,0,Green)" ?
Merci :)