From the documentation section:
ERR_OFF_QUOTES | 136 | No quotes. The broker has not supplied with prices or refused, for any reason (for example, no prices at the session start, unconfirmed prices, fast market). After 5-second (or more) delay, it is necessary to refresh data using the RefreshRates function and make a retry. |
Hope that helps :)
Thanks for the responses, guys, but I'm not sure that explains it.
The Off_Quotes error is being returned by the OrderModify not the OrderSend, so slippage isn't the issue. This particular broker doesn't support slippage anyway. They have modified MT4 for market orders in that regard.
As shown with the example values (the real ones that caused the error), the stop loss was 30 pips from the entry and take profit was 45 pips from the entry. My log file shows that the bid and ask hadn't moved between the OrderSend and OrderModify. That is what puzzles me.
Any other thoughts would be appreciated.
I frequently get the same error when I'm exiting a trade manually simply using the "close" bar on the order page.
Sounds like a recipe for disaster to me, busy market and you are in with no stop loss, until your brokers software gets around to letting you set it.
I think I'd be looking for a different broker, where is the advantage to you in this setup? pardon my paranoia but this whole idea sounds scary.
Keith

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
and receive an acknowledgment that this was successful. I then try to modify the order for the StopLoss and Profit Target with what seem to me to be valid
values, but receive the error. The broker requires that the stop loss and profit target be done in a second step after the order is placed.
The sample from this morning is shown below forthe eurusd:
EntryPrice is initially 1.3674
StopLoss is 1.3644
EntryPrice+(ProfitTarget*Point) = 1.3719
Can someone please explain why this should result in an error 136 (Off Quotes)?
Thanks in advance.