<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — MT5 backtesting error]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9162/" />
	<updated>2022-07-24T19:46:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9162/mt5-backtesting-error/</id>
		<entry>
			<title type="html"><![CDATA[Re: MT5 backtesting error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69982/#p69982" />
			<content type="html"><![CDATA[<p>Thank you, it works now as intended. Is there a way to integrate a news filter in the EA Studio? I&#039;m currently planning on editing an M15 EA and want it to stop trading during high impact news in order to minimize risk.</p>]]></content>
			<author>
				<name><![CDATA[kstoltenberg]]></name>
				<uri>https://forexsb.com/forum/user/14042/</uri>
			</author>
			<updated>2022-07-24T19:46:34Z</updated>
			<id>https://forexsb.com/forum/post/69982/#p69982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MT5 backtesting error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69934/#p69934" />
			<content type="html"><![CDATA[<p>&gt; I used MetaTrader-Demo as the data source when creating the EA and therefore backtested it on a MT-Demo account.</p><p>There is a considerable difference between the data sets of the different brokers.</p><p>The provided &quot;MetaTrader-Demo&quot; data were used only for quick testing of EA Studio. We are going to remove them soon from the application. The included &quot;Premium Data&quot; are more reliable.</p><p>You have to import data from MT to achieve the best performance correspondence.</p><p>Go to the &quot;Data&quot; -&gt; &quot;Data Import&quot; page of EA Studio.<br />Use the scripts (the one for MT5) to export files from your broker and Drag / Drop them in EA Studio.<br />The imported files contain most of the required settings.</p><p>There is a help article for the Data Import under the &quot;Help&quot; tab of EA Studio.</p><p>The usual testing workflow is:<br /> - export data from MT and import them into EA Studio<br /> - generate strategies<br /> - export experts or a Portfolio expert<br /> - backtest them in MT to see if everything is OK<br /> - run the best experts on a demo for 3,4 weeks for forward-testing<br /> - repeat</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-07-21T20:07:21Z</updated>
			<id>https://forexsb.com/forum/post/69934/#p69934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MT5 backtesting error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69928/#p69928" />
			<content type="html"><![CDATA[<p>Thank you very much for the quick answer Popov. </p><div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>If you see a deviation between MT and EA studio results, it must be due to differences in the data, the account or trade settings, or the testing interval.</p></blockquote></div><p>I used MetaTrader-Demo as the data source when creating the EA and therefore backtested it on a MT-Demo account. The account uses a 10k balance and a leverage of 1:100 (matching the account setting of the EA Studio). So the issue must be in either the trade settings or the testing interval as you say. How can I find out which one of those is causing the deviation?</p>]]></content>
			<author>
				<name><![CDATA[kstoltenberg]]></name>
				<uri>https://forexsb.com/forum/user/14042/</uri>
			</author>
			<updated>2022-07-21T15:28:09Z</updated>
			<id>https://forexsb.com/forum/post/69928/#p69928</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MT5 backtesting error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69926/#p69926" />
			<content type="html"><![CDATA[<p>The experts created with EA Studio trade at the bar&#039;s Open price (except Take Profit and Stop Loss).</p><p>The fastest way to test them in MT is to use the &quot;Open price only&quot; option.</p><p><a href="https://image-holder.forexsb.com/store/mt5-backtest-open-price-only.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/mt5-backtest-open-price-only-thumb.png" alt="https://image-holder.forexsb.com/store/mt5-backtest-open-price-only-thumb.png" /></span></a></p><br /><p>&gt; From what I understand the MT5 software has an issue with the ticks, prices and bars being supposedly absent.</p><p>Yes, you are right. Therefore, we created EA Studio to trade on the only fixed price - Bar Open.</p><br /><p>&gt; received errors that likely distorted the backtesting results</p><p>The backtest should match. MT uses ticks to trace the price within the bar. It doesn&#039;t affect the Open price.</p><p>If you see a deviation between MT and EA studio results, it must be due to differences in the data, the account or trade settings, or the testing interval.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-07-21T15:09:54Z</updated>
			<id>https://forexsb.com/forum/post/69926/#p69926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MT5 backtesting error]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69925/#p69925" />
			<content type="html"><![CDATA[<p>Dear community,</p><p>I recently created an EA with the Expert Advisor Studio and received errors that likely distorted the backtesting results. You can read the errors in the log that I uploaded. From what I understand the MT5 software has an issue with the ticks, prices and bars being supposedly absent.</p><div class="codebox"><pre><code>HP    3    16:29:55.924    Core 1    EURUSD : 2015.12.24 23:59 - real ticks discarded for 4 minutes out of 1138 total minute bars within a day
LN    3    16:29:55.924    Core 1    EURUSD : 2015.12.24 23:59 - 520 tick prices mismatch for 4 minute bars
LD    3    16:29:55.924    Core 1    EURUSD : 2016.01.11 23:59 - real ticks discarded for 1 minutes out of 1439 total minute bars within a day
FH    3    16:29:55.924    Core 1    EURUSD : 2016.01.11 23:59 - 72 tick prices mismatch for 1 minute bars
JD    3    16:29:55.924    Core 1    EURUSD : 2016.03.22 15:37 - 2016.03.22 23:59  36 minute bars absent within a day while real ticks present
QG    3    16:29:55.924    Core 1    EURUSD : 2016.03.23 17:30 - 2016.03.23 23:59  1 minute bars absent within a day while real ticks present
KJ    3    16:29:55.924    Core 1    EURUSD : 2016.03.24 23:59 - real ticks discarded for 1 minutes out of 1436 total minute bars within a day
GG    3    16:29:55.924    Core 1    EURUSD : 2016.03.24 23:59 - 48 tick prices mismatch for 1 minute bars
HP    3    16:30:08.131    Core 1    EURUSD : 2016.10.13 15:42 - 2016.10.13 23:59  3 minute bars absent within a day while real ticks present
MO    3    16:30:08.131    Core 1    EURUSD : 2016.11.29 23:59 - real ticks discarded for 1 minutes out of 1430 total minute bars within a day
GR    3    16:30:08.131    Core 1    EURUSD : 2016.11.29 11:16 - 2016.11.29 23:59  10 minute bars absent within a day while real ticks present
LF    3    16:30:08.131    Core 1    EURUSD : 2016.11.29 23:59 - 184 tick prices mismatch for 1 minute bars
MQ    3    16:30:26.441    Core 1    EURUSD : 2017.06.05 00:01 - 2017.06.05 23:59  18 minute bars absent within a day while real ticks present
FQ    3    16:30:26.441    Core 1    EURUSD : 2017.06.06 00:00 - 2017.06.06 23:59  18 minute bars absent within a day while real ticks present
DP    3    16:30:26.441    Core 1    EURUSD : 2017.06.07 00:03 - 2017.06.07 23:59  11 minute bars absent within a day while real ticks present
MP    3    16:30:26.441    Core 1    EURUSD : 2017.06.08 00:00 - 2017.06.08 23:59  11 minute bars absent within a day while real ticks present
JP    3    16:30:32.545    Core 1    EURUSD : 2017.09.12 23:59 - real ticks absent for 176 minutes out of 1421 total minute bars within a day</code></pre></div>]]></content>
			<author>
				<name><![CDATA[kstoltenberg]]></name>
				<uri>https://forexsb.com/forum/user/14042/</uri>
			</author>
			<updated>2022-07-21T14:47:27Z</updated>
			<id>https://forexsb.com/forum/post/69925/#p69925</id>
		</entry>
</feed>
