<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Please help with Off Quotes error]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9087" />
	<updated>2022-04-21T03:42:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9087/please-help-with-off-quotes-error/</id>
		<entry>
			<title type="html"><![CDATA[Re: Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68659/#p68659" />
			<content type="html"><![CDATA[<p>Of course they tell you everything you want to hear so that you deposit real funds with them. Good luck, you&#039;ll certainly need it with that broker:</p><p><a href="https://www.forexpeacearmy.com/forex-reviews/41/cmc-markets-review">https://www.forexpeacearmy.com/forex-re … ets-review</a></p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2022-04-21T03:42:10Z</updated>
			<id>https://forexsb.com/forum/post/68659/#p68659</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68635/#p68635" />
			<content type="html"><![CDATA[<p>Ok thanks for your suggestions. I rang CMC Markets and they claimed it was just a problem with their demo accounts and doesn&#039;t happen in their live accounts. I just opened a live account so will see if the problem continues. </p><p>I mainly got the error when I ran the 6-chart M1 stress test as seen in Popov&#039;s tutorial videos; however, I haven&#039;t been getting the error much on my actual EA&#039;s which I run on the M15 timeframe on a demo account.</p>]]></content>
			<author>
				<name><![CDATA[kiwitrade7]]></name>
				<uri>https://forexsb.com/forum/user/13874/</uri>
			</author>
			<updated>2022-04-19T00:11:26Z</updated>
			<id>https://forexsb.com/forum/post/68635/#p68635</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68532/#p68532" />
			<content type="html"><![CDATA[<p>That is a (scam) broker&#039;s &quot;issue&quot;. Well, not really an issue, but simply a dirty trick to reject your orders, because they think you could make a profit and they´ll lose money with that specific trade, so they simply reject these with the &quot;Off Quotes&quot; message. The best thing to do if you get this repeatedly is to seek a good broker! I never ever had such a message/issue with IC Markets, which I am using since 2011 for live trading. Just if you need a recommendation...</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2022-04-05T21:30:41Z</updated>
			<id>https://forexsb.com/forum/post/68532/#p68532</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68513/#p68513" />
			<content type="html"><![CDATA[<p>I haven&#039;t tried contacting the broker yet. I didn&#039;t think it was a broker problem. Will ring them and give an update with what they say.</p>]]></content>
			<author>
				<name><![CDATA[kiwitrade7]]></name>
				<uri>https://forexsb.com/forum/user/13874/</uri>
			</author>
			<updated>2022-04-05T05:56:52Z</updated>
			<id>https://forexsb.com/forum/post/68513/#p68513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68510/#p68510" />
			<content type="html"><![CDATA[<p>What is your broker saying? If you experience no connectivity issues, then the problem stems from broker&#039;s side, they are those who are rejecting the order, the question is why.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2022-04-04T16:16:22Z</updated>
			<id>https://forexsb.com/forum/post/68510/#p68510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Please help with Off Quotes error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/68507/#p68507" />
			<content type="html"><![CDATA[<p>Hey there,</p><p>I&#039;ve created a portfolio EA in EA Studio which I tested on an MT4 account but some trades are not being opened due to an &quot;off quotes&quot; error — see below log file. This is annoying because it does not perform how I want and it might make more losing trades and less winning trades. Therefore I lose money when I could be making money with what should be a good EA.</p><p>How do I fix this error? <br />Can I do it in my EA code? Could I change the slippage number &quot;10&quot; to something like &quot;30&quot; in the OrderSend function? My broker has 5 digits for the EURUSD symbol.</p><p>Or do I need to try more times to place my orders like changing a function that controls &#039;order retries&#039; or something? I&#039;m pretty sure I have a good internet connection, it&#039;s ultra fast fibre.</p><div class="codebox"><pre><code>// Send an entry order with SL and TP
ticket    = OrderSend(_Symbol, command, amount, price, 10, stopLoss, takeProfit, comment, magicNum, 0, arrowColor);
lastError = GetLastError();

// If order fails, check if it is because inability to set SL or TP
if (ticket &lt;= 0 &amp;&amp; lastError == 130)
  {
    // Send an entry order without SL and TP
    ticket = OrderSend(_Symbol, command, amount, price, 10, 0, 0, comment, magicNum, 0, arrowColor);</code></pre></div><div class="quotebox"><blockquote><p>19:50:29.281&nbsp; &nbsp; &#039;24597377&#039;: ping to current access point Datacenter is 290.77 ms<br />0&nbsp; &nbsp; 20:13:51.131&nbsp; &nbsp; &#039;24597377&#039;: order #1917027 buy 0.01 USDCAD at 1.25192 closed due stop-loss at price 1.24979<br />0&nbsp; &nbsp; 20:30:11.348&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 20:30:11.368&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 20:30:11.489&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 20:30:11.891&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917413 sell 0.01 EURUSD at 1.11561 sl: 0.00000 tp: 0.00000<br />1&nbsp; &nbsp; 20:30:11.891&nbsp; &nbsp; &#039;24597377&#039;: order sell 0.01 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Off quotes]<br />1&nbsp; &nbsp; 20:30:12.240&nbsp; &nbsp; &#039;24597377&#039;: order sell 0.01 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Off quotes]<br />0&nbsp; &nbsp; 20:30:12.240&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 20:30:12.744&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917414 sell 0.01 EURUSD at 1.11564 sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 21:00:11.188&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 21:00:11.335&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 21:00:11.625&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917488 buy 0.01 EURUSD at 1.11513 sl: 0.00000 tp: 0.00000<br />1&nbsp; &nbsp; 21:00:12.028&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Off quotes]<br />0&nbsp; &nbsp; 21:15:11.399&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 21:15:11.414&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 1.30542 tp: 0.00000<br />0&nbsp; &nbsp; 21:15:11.485&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 0.00000<br />0&nbsp; &nbsp; 21:15:11.977&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917542 buy 0.01 EURUSD at 1.11382 sl: 0.00000 tp: 0.00000<br />1&nbsp; &nbsp; 21:15:11.977&nbsp; &nbsp; &#039;24597377&#039;: order sell 0.01 EURUSD opening at market sl: 1.30542 tp: 0.00000 failed [Off quotes]<br />1&nbsp; &nbsp; 21:15:11.977&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.00000 tp: 0.00000 failed [Off quotes]<br />0&nbsp; &nbsp; 21:15:11.977&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 1.30543 tp: 0.00000<br />0&nbsp; &nbsp; 21:15:12.420&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917543 sell 0.01 EURUSD at 1.11375 sl: 1.30543 tp: 0.00000<br />0&nbsp; &nbsp; 21:30:11.232&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 1.12054<br />0&nbsp; &nbsp; 21:30:11.423&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.00000 tp: 1.12055<br />0&nbsp; &nbsp; 21:30:11.685&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917571 buy 0.01 EURUSD at 1.11371 sl: 0.00000 tp: 1.12054<br />1&nbsp; &nbsp; 21:30:12.023&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.00000 tp: 1.12055 failed [Off quotes]<br />0&nbsp; &nbsp; 21:45:11.726&nbsp; &nbsp; &#039;24597377&#039;: order sell market 0.01 EURUSD sl: 1.30351 tp: 0.00000<br />0&nbsp; &nbsp; 21:45:11.726&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.99624 tp: 0.00000<br />0&nbsp; &nbsp; 21:45:11.804&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.99624 tp: 0.00000<br />0&nbsp; &nbsp; 21:45:12.242&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917632 sell 0.01 EURUSD at 1.11182 sl: 1.30351 tp: 0.00000<br />1&nbsp; &nbsp; 21:45:12.242&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.99624 tp: 0.00000 failed [Off quotes]<br />1&nbsp; &nbsp; 21:45:12.242&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.99624 tp: 0.00000 failed [Off quotes]<br />0&nbsp; &nbsp; 22:00:11.607&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.96432 tp: 0.00000<br />0&nbsp; &nbsp; 22:00:11.676&nbsp; &nbsp; &#039;24597377&#039;: order buy market 0.01 EURUSD sl: 0.96432 tp: 0.00000<br />1&nbsp; &nbsp; 22:00:12.062&nbsp; &nbsp; &#039;24597377&#039;: order buy 0.01 EURUSD opening at market sl: 0.96432 tp: 0.00000 failed [Off quotes]<br />0&nbsp; &nbsp; 22:00:12.378&nbsp; &nbsp; &#039;24597377&#039;: order was opened : #1917652 buy 0.01 EURUSD at 1.11299 sl: 0.96432 tp: 0.00000</p></blockquote></div><p>I&#039;ve attached the EA so you can see the code.<br />Thanks for your time.<br /> - Kiwitrade7</p>]]></content>
			<author>
				<name><![CDATA[kiwitrade7]]></name>
				<uri>https://forexsb.com/forum/user/13874/</uri>
			</author>
			<updated>2022-04-04T10:59:34Z</updated>
			<id>https://forexsb.com/forum/post/68507/#p68507</id>
		</entry>
</feed>
