<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Testing with MT4 and BOT]]></title>
		<link>https://forexsb.com/forum/topic/6320/testing-with-mt4-and-bot/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/6320/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Testing with MT4 and BOT.]]></description>
		<lastBuildDate>Fri, 30 Sep 2016 21:43:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38917/#p38917</link>
			<description><![CDATA[<div class="quotebox"><cite>Stav wrote:</cite><blockquote><div class="quotebox"><blockquote><p>Please try with a lower number. Lets say 2147483647.</p></blockquote></div><p> <br />I will do this then, thank you</p></blockquote></div><p>Things were much easier actually. It was only a small change required within MT4. Not sure why I haven&#039;t thought about this earlier. </p><br /><div class="quotebox"><blockquote><p>int digits=(int) MarketInfo(_Symbol,MODE_DIGITS);<br />PrintFormat(&quot;Position closed at &quot; + DoubleToString(closePrice, digits) + &quot; on &quot; + TimeToString(closeTime, TIME_DATE|TIME_MINUTES));</p></blockquote></div><p>Works like a charm - thank you</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 21:43:16 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38917/#p38917</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38916/#p38916</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Are there any possible ways of knowing the closing price, that is, on the MT4 journal?</p></blockquote></div><p>Yes, there is a simple way.<br />Add these two lines at the beginning of the ClosePosition function.</p><div class="codebox"><pre><code>   int digits=(int) MarketInfo(_Symbol,MODE_DIGITS);
   PrintFormat(&quot;Position closed at &quot; + DoubleToString(closePrice, digits) + &quot; on &quot; + TimeToString(closeTime, TIME_DATE|TIME_MINUTES));</code></pre></div><p>Like that:</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 21:14:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38916/#p38916</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38915/#p38915</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Is execution manual in Signals EA and automated on Trading EA?</p></blockquote></div><p>Yes. Exactly.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 21:01:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38915/#p38915</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38914/#p38914</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Please try with a lower number. Lets say 2147483647.</p></blockquote></div><p> <br />I will do this then, thank you</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 20:26:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38914/#p38914</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38913/#p38913</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>This is a log of the Alerts. When there is a signal, the EA rises an alert, so we can execute a deal manually. The deal expires alone and we don&#039;t have control on the position. Therefore, we don&#039;t need an alert for closing it.</p></blockquote></div><p>Is execution manual in Signals EA and automated on Trading EA? Are there anyway any possible ways of knowing the close price, that is on MT4 journal?</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 20:25:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38913/#p38913</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38911/#p38911</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Here&#039;s a screen shot of the version of the code I have and the changes I made. Please note that I have no .bo&quot;, &quot;bo&quot;, &quot;.&quot; data in my folders. My data are of HST, FXT and CSV type.</p></blockquote></div><p>&quot;bo&quot; endings are not important.</p><p>..</p><p>I see you set 9 999 999 999 for the bar&#039;s limit, but as I know the max integer number is 2 147 483 647. Source: <a href="https://docs.mql4.com/basis/types/integer">https://docs.mql4.com/basis/types/integer</a></p><p>Because MetaTrader is a new and unmatured software, it cannot detect variable overflows yet (We hope MetaQuotes will fix that in the next centuries). Please try with a lower number. Lets say 2147483647.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 20:05:57 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38911/#p38911</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38910/#p38910</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Yes I am aware. The EAs however do not display the closing price when run on MT4.</p></blockquote></div><p>This is a log of the Alerts. When there is a signal, the EA rises an alert, so we can execute a deal manually. The deal expires alone and we don&#039;t have control on the position. Therefore, we don&#039;t need an alert for closing it.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 19:57:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38910/#p38910</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38908/#p38908</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>You can open the script in the MetaTrader editor and to check or change the bar limitation.</p></blockquote></div><p>Here&#039;s a screen shot of the version of the code I have and the changes I made. Please note that I have no .bo&quot;, &quot;bo&quot;, &quot;.&quot; data in my folders. My data are of HST, FXT and CSV type.</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 17:38:56 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38908/#p38908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38907/#p38907</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>I see you want to confirm the BO Tester results with MT, but this is not possible so far.</p></blockquote></div><p>Not exactly confirm the results, I am sure that what you&#039;ve build here works, hence I am here <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />&nbsp; I would say that I want to find discrepancies, if any, in data and test EAs in various of brokers and with various data, rather just rely on one broker&#039;s data, for obvious reasons.</p><div class="quotebox"><blockquote><p>You can the complete trading stats and position chart in the Report page.</p></blockquote></div><p>Can you make this report page downloadable? i.e the stats info, balance chart (not too important) and the transactions log into one document (any format)? At this point I can only download the transactions log.</p><div class="quotebox"><blockquote><p>BO Tester reports the strike at the report and also in the exported data.</p></blockquote></div><p>Yes I am aware. The EAs however do not display the closing price when run on MT4. See picture of the log file on MT4, it only displays the opening price, not the closing price. Is there a quick fix via coding for this so the closing price can be displayed as well?</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 17:21:37 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38907/#p38907</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38906/#p38906</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Saying this reminds me that all the EAs, when tested on MT4 and output the backtest results onto the journal, the results DO NOT include the closing price of the trades.</p></blockquote></div><p>BO Tester provides the price at the moment of an option&#039;s expiration. However, in BO trading the target price (strike) is equal to the position (option) open price. BO Tester reports the strike at the report and also in the exported data.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 16:23:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38906/#p38906</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38905/#p38905</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Isn&#039;t the Monte Carlo part of optimisation?</p></blockquote></div><p>Monte Carlo is not an optimizer. It is a toll for testing the robustness and the reliability of the strategy.</p><p>The BO Tester&#039;s Monte Carlo documentation is under construction yet, but you can take a look at the FSB Pro documentation at the topic: <a href="http://forexsb.com/wiki/fsbpro_guide/monte_carlo">Monte Carlo</a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 16:15:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38905/#p38905</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38904/#p38904</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>The maximum bar count for all timeframes on the MT4 when running the BO Tester Data Export script is limited to 2048.</p></blockquote></div><p>I haven&#039;t put such limitations in the scripts. There is a 20,000-bar limit, which you can change to any number you choose.</p><p>You can open the script in the MetaTrader editor to check or change the bar limitation.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 16:12:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38904/#p38904</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38903/#p38903</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>This is true but when there is 0 spread used any data really would do the job, is that correct? All I want is to use MT4 as a second testing mechanism an for ease purposes.</p></blockquote></div><p>There is no spread in the Binary Options trading. The broker provides a Payout value in per cents, which determines the profit at a successful trade.</p><p>Example.<br />Lets trade with $10 (called stake) and the Payout level to be 80%.<br />When you open the deal, you lose the stake.<br />If the deal ends on profit, the broker returns you the initial stake and gives you also profit = stake * payout. In our case the profit will be $10 * 80% = $8.</p><p>MetaTrader doesn&#039;t have a concept for payout. Also the profit and loss in forex depends on the difference between the position&#039;s close price and the position&#039;s open price. This is completely different than the way the BO trading works. It is useless to try backtest BO strategies in MT with the MT tester and the provided from MT stats info and tools. There is no way to see balance and positions in the MT tester, because it cannot close positions in the way BO trading works.</p><p>I see you want to confirm the BO Tester results with MT, but this is not possible so far.</p><p>BO Tester is the world&#039;s first tool for backtesting BO strategies and &quot;unfortunately&quot; a second opinion is not possible. This doesn&#039;t mean that BO Tester shows random results <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />. You can review the complete trading stats and position chart in the Report page.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 30 Sep 2016 16:09:02 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38903/#p38903</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38901/#p38901</link>
			<description><![CDATA[<p>If you know of any quick fix via coding please let me know. It&#039;s probably just a command that isn&#039;t &#039;printing&#039; on the log.</p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 15:10:42 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38901/#p38901</guid>
		</item>
		<item>
			<title><![CDATA[Re: Testing with MT4 and BOT]]></title>
			<link>https://forexsb.com/forum/post/38900/#p38900</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>MetaTrader is not capable to perform backtest of binary options strategies (neither other software can do it, as we know).<br />Binary Options Tester was created to cover that problem and to make the difference between the gambling and the professional trading with binary options.</p></blockquote></div><br /><br /><p>This is true but when there is 0 spread used any data really would do the job, is that correct? All I want is to use MT4 as a second testing mechanism an for ease purposes.</p><div class="quotebox"><blockquote><p>We relay only to the tools we created for us and our users because we know the internals of the math models and we are sure that these apps provide reliable results.</p></blockquote></div><p>I have no doubt about that. Although on a different matter I would prefer to have a nice graph showing the equity curve, information about %itm, drawdown and all the rest, and have that in a document that I can download evey time I perform a test. MT4 allosw that. BOT allows to download only the trades results. Wouldn&#039;t it be nice I if this document included a balance chart, the backtest output under Report, and simulation results? </p><p>Saying this reminds me that all the EAs, when tested on MT4 and output the backtest results onto the journal, the results DO NOT include the closing price of the trades. I find this really important, especially for BO. How can this be changed?</p>]]></description>
			<author><![CDATA[null@example.com (Stav)]]></author>
			<pubDate>Fri, 30 Sep 2016 14:53:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/38900/#p38900</guid>
		</item>
	</channel>
</rss>
