<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
		<link>https://forexsb.com/forum/topic/9156/getting-error-message-when-backtesting-ea-ordercheck-invalid-price/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9156/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Getting Error Message when backtesting EA: OrderCheck(): Invalid price.]]></description>
		<lastBuildDate>Sun, 10 Jul 2022 14:28:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69760/#p69760</link>
			<description><![CDATA[<div class="quotebox"><cite>yonkuro wrote:</cite><blockquote><div class="quotebox"><cite>Mr. Question wrote:</cite><blockquote><p>And here is another weird thing: I sent my source code to a professional mql5 programmer on Fiverr and he said that he ran the EA on a hedging account without errors.</p></blockquote></div><p>Same broker or not?</p></blockquote></div><p>No different broker.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Sun, 10 Jul 2022 14:28:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69760/#p69760</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69754/#p69754</link>
			<description><![CDATA[<div class="quotebox"><cite>Mr. Question wrote:</cite><blockquote><p>And here is another weird thing: I sent my source code to a professional mql5 programmer on Fiverr and he said that he ran the EA on a hedging account without errors.</p></blockquote></div><p>Same broker or not?</p>]]></description>
			<author><![CDATA[null@example.com (yonkuro)]]></author>
			<pubDate>Sat, 09 Jul 2022 07:15:33 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69754/#p69754</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69753/#p69753</link>
			<description><![CDATA[<p>And here is another weird thing: I sent my source code to a professional mql5 programmer on Fiverr and he said that he ran the EA on a hedging account without errors.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Fri, 08 Jul 2022 22:19:55 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69753/#p69753</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69751/#p69751</link>
			<description><![CDATA[<p>@yonkuro</p><p>It seems you were right after all. When I removed SL and TP the error didn&#039;t pop up again. However, now the problem is that the backtester doesn&#039;t trigger any orders. The graph remains linear throughout the entire testing period.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Fri, 08 Jul 2022 17:12:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69751/#p69751</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69747/#p69747</link>
			<description><![CDATA[<div class="quotebox"><cite>yonkuro wrote:</cite><blockquote><div class="quotebox"><cite>Mr. Question wrote:</cite><blockquote><p>Are you saying I should create the EA without SL and TP? I can&#039;t do that as SL and TP is part of the strategy&#039;s profitability. I already tried out all TFs and they all give the same error.</p></blockquote></div><p>No, removing SL and TP is for backtest only</p></blockquote></div><p>Ok I&#039;ll try it out later when I&#039;m back home.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Fri, 08 Jul 2022 11:25:38 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69747/#p69747</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69738/#p69738</link>
			<description><![CDATA[<div class="quotebox"><cite>Mr. Question wrote:</cite><blockquote><p>Are you saying I should create the EA without SL and TP? I can&#039;t do that as SL and TP is part of the strategy&#039;s profitability. I already tried out all TFs and they all give the same error.</p></blockquote></div><p>No, removing SL and TP is for backtest only</p>]]></description>
			<author><![CDATA[null@example.com (yonkuro)]]></author>
			<pubDate>Fri, 08 Jul 2022 03:25:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69738/#p69738</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69735/#p69735</link>
			<description><![CDATA[<div class="quotebox"><cite>Grifter wrote:</cite><blockquote><p>Why not try using MT4?</p></blockquote></div><p>Because my client base increasingly uses MT5 and wants custom tailored EAs for the MT5 platform. The turnover for MT4 products is rapidly deteriorating since 2019 and is commercially not viable anymore from a Benefit-Cost-Ratio perspective.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Thu, 07 Jul 2022 19:42:34 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69735/#p69735</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69733/#p69733</link>
			<description><![CDATA[<p>Why not try using MT4?</p><p>And no the strategy was not uploaded, you need to select the file then click &quot;ADD FILE&quot; to the right.</p>]]></description>
			<author><![CDATA[null@example.com (Grifter)]]></author>
			<pubDate>Thu, 07 Jul 2022 18:01:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69733/#p69733</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69732/#p69732</link>
			<description><![CDATA[<p>Well, for testing purposes you don&#039;t need to put it on the intended timeframe (on demo account), drop it at M1 and see what&#039;s what. There have been cases where demo accounts are non-functional in some brokers, live trade works; at the same time if this occurs then it&#039;s better to ditch the broker, who knows what problems are there.</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Thu, 07 Jul 2022 17:08:12 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69732/#p69732</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69729/#p69729</link>
			<description><![CDATA[<div class="quotebox"><cite>yonkuro wrote:</cite><blockquote><p>Problems usually came from mt5, please test it with lower TF such as M1 or M5, also you can try to remove SL and TP from forexsb and then export and test the EA again</p></blockquote></div><p>Are you saying I should create the EA without SL and TP? I can&#039;t do that as SL and TP is part of the strategy&#039;s profitability. I already tried out all TFs and they all give the same error.</p><div class="quotebox"><cite>footon wrote:</cite><blockquote><p>Attach the EA!</p><p>Common problem with MT5 hedging accounts, especially demo accounts, hedging accounts are not supported by Pro experts, you have to use netting account.</p><p>How does it perform live?</p></blockquote></div><p>It would have been nice if the product description mentioned this little but important detail. Is there a way to code the support of hedging accounts into the mq5 source code? If not then I have to go the tedious route and ask each one of the major FX brokers whether they even offer netting accounts. In case most of them don&#039;t, I&#039;ll have no option but to contact my cc provider and revert the payment I made. It would be a real shame because FSB Pro is an otherwise awesome software with lots of potential that unfortunately is left unused. </p><p>Addendum: was my mq5 file uploaded correctly? I can&#039;t see the file being attached in my original post.</p><p>Addendum #2: the EA hasn&#039;t performed live yet, as it is based on the daily TF and trades maybe twice a month.</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Thu, 07 Jul 2022 15:44:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69729/#p69729</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69718/#p69718</link>
			<description><![CDATA[<p>Attach the EA!</p><p>Common problem with MT5 hedging accounts, especially demo accounts, hedging accounts are not supported by Pro experts, you have to use netting account.</p><p>How does it perform live?</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Thu, 07 Jul 2022 07:31:26 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69718/#p69718</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69714/#p69714</link>
			<description><![CDATA[<p>Problems usually came from mt5, please test it with lower TF such as M1 or M5, also you can try to remove SL and TP from forexsb and then export and test the EA again</p>]]></description>
			<author><![CDATA[null@example.com (yonkuro)]]></author>
			<pubDate>Thu, 07 Jul 2022 00:36:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69714/#p69714</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69713/#p69713</link>
			<description><![CDATA[<p>I think that might be a bug specific to MT5</p><p>https://www.mql5.com/en/forum/259922</p>]]></description>
			<author><![CDATA[null@example.com (Grifter)]]></author>
			<pubDate>Wed, 06 Jul 2022 23:02:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69713/#p69713</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69712/#p69712</link>
			<description><![CDATA[<p>I have to say that I find this extremely infuriating. I purchased a piece of very expensive software that was being advertised as a tool to create EAs out-of-box without any coding experience. Now that I have tried backtesting the ex5 file I find out that I need to poke around in the source code and try to find the needle in the haystack and fix this shit manually (which I can&#039;t as I&#039;m not a programmer). </p><p>To give some more info: i have tried testing it on an ICMarkets Demo account which is a 5 decimal broker. Would be nice if the devs could help me out with this...</p>]]></description>
			<author><![CDATA[null@example.com (Mr. Question)]]></author>
			<pubDate>Wed, 06 Jul 2022 18:32:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69712/#p69712</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting Error Message when backtesting EA: OrderCheck(): Invalid price]]></title>
			<link>https://forexsb.com/forum/post/69711/#p69711</link>
			<description><![CDATA[<p>Do you have the currency pair set correctly? this error can happen when you have a 5 decimal order set on a 4 decimal broker. So you get an error, could be something else though</p><p>Also could be an issue with the SL/TP, some brokers only allow you to set this after the trade has executed. I&#039;m not sure how FSB handles opening positions in this manner but I remember glancing over the code and seeing a footnote beside where you can switch this</p>]]></description>
			<author><![CDATA[null@example.com (Grifter)]]></author>
			<pubDate>Wed, 06 Jul 2022 17:29:11 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69711/#p69711</guid>
		</item>
	</channel>
</rss>
