<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Experimenting with Close at Bar Open]]></title>
		<link>https://forexsb.com/forum/topic/6134/experimenting-with-close-at-bar-open/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/6134/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Experimenting with Close at Bar Open.]]></description>
		<lastBuildDate>Fri, 22 Jul 2016 04:23:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/37617/#p37617</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Hi Popov, how is the development going?</p></blockquote></div><p>I&#039;m working hard and the results are promising. I&#039;ll show a prototype in two days.</p><div class="quotebox"><blockquote><p>Will it be implemented to ForexSB pro?</p></blockquote></div><p>With this model it becomes a different program and also the exported Expert Advisors will have a different structure. I&#039;ll keep them separated as FSB Pro and EA Studio. However, the EA Studio is included in the FSB Pro purchase so the answer to your question is virtually Yes.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 22 Jul 2016 04:23:51 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/37617/#p37617</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/37616/#p37616</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Dear Traders,</p><p>I always work on making more reliable and safe strategy model. As a result we have one of the best tools in the industry. But we want even more, for example, point to point correspondence of the backtest results of our tools with other popular platforms. </p><p>One old idea is to close the positions at the next Bar Open instead of the current close. In the reality the difference is very small - only one tick. The design of the most popular platform makes the detection of Bar Open a piece of cake, but on the other hand, these platforms are almost incapable of working with Bar Close.&nbsp; &nbsp; </p><p>To solve that mystery, I intend to create a strategy structure and a proper Generator for trading only on Bar Open. I&#039;ll use EA Studio for the prototype base and because I already have the main idea, I think we will have results before the end of June.</p><p>I want to be able to provide strategies for comparing both models and to draw the direction of the future developments.</p><p>Please share your ideas,</p><p>Trade Safe.</p></blockquote></div><p>Hi Popov, how is the development going? Will it be implemented to ForexSB pro?</p>]]></description>
			<author><![CDATA[null@example.com (yonkuro)]]></author>
			<pubDate>Thu, 21 Jul 2016 23:25:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/37616/#p37616</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/37035/#p37035</link>
			<description><![CDATA[<p>Next weapon in the arsenal is called Bot Factory. It will export bots for cAlgo.</p><p>I&#039;m testing the close at next Bar Open model. It works fine so far.</p><p>If you ask, why it is a separate program, the answer is that this model is incompatible with FSB and EA Studio. I rewrote 90% of the JavaScript and C# indicators in order to make this working fine.</p><p>Fortunately, the result is good, the speed of the app is tremendous. Also cAlgo tests the exported robots as fast as it test the native ones.</p><p><span class="postimg"><img src="http://s32.postimg.org/md8ai4285/calgo.png" alt="http://s32.postimg.org/md8ai4285/calgo.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 21 Jun 2016 13:50:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/37035/#p37035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/37027/#p37027</link>
			<description><![CDATA[<p>This model required a major redesign of the backtester and the indicators that plots on the main chart. <br />I decided to test the output in cAlgo.</p><p>Here is a prototype demo.</p><p><a href="http://forexsb.com/video/Bot-Factory.mp4">http://forexsb.com/video/Bot-Factory.mp4</a></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 21 Jun 2016 09:26:22 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/37027/#p37027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36950/#p36950</link>
			<description><![CDATA[<p>I have the first results. As I expected the only difference in our backtest is the charged swap when a position is transferred overnight.</p><p><strong>Close at Bar Close</strong><br /><span class="postimg"><img src="http://s32.postimg.org/n7ic9yvr9/screenshot_1790.png" alt="http://s32.postimg.org/n7ic9yvr9/screenshot_1790.png" /></span><br /><span class="postimg"><img src="http://s32.postimg.org/fst0hl9vp/screenshot_1791.png" alt="http://s32.postimg.org/fst0hl9vp/screenshot_1791.png" /></span></p><br /><p><strong>Close at next Bar Open</strong><br /><span class="postimg"><img src="http://s32.postimg.org/w198r2ipx/screenshot_1789.png" alt="http://s32.postimg.org/w198r2ipx/screenshot_1789.png" /></span><br /><span class="postimg"><img src="http://s32.postimg.org/cn8erdr9h/screenshot_1792.png" alt="http://s32.postimg.org/cn8erdr9h/screenshot_1792.png" /></span></p><p>It is more interesting what will happen in MetaTrader, which is the main purpose of the experiment.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 19 Jun 2016 07:47:17 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36950/#p36950</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36947/#p36947</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Interesting that MT4 builds bars based on the clock</p></blockquote></div><p>This is not true. MT builds bars only on tick. If there is no ticks, MT doesn&#039;t plot bars.</p><p>We cannot decide preliminary when to trade. The strategy has the full control on the signals. An Entry Time or ATR indicator can perfectly filter such entries.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 19 Jun 2016 06:37:12 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36947/#p36947</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36946/#p36946</link>
			<description><![CDATA[<p>Interesting that MT4 builds bars based on the clock, a bar may have no activity but it is printed anyways.... That would seem to render our strategies to be somewhat inaccurate on the lower time frames ie 5 minute and one minute.</p>]]></description>
			<author><![CDATA[null@example.com (Blaiserboy)]]></author>
			<pubDate>Sun, 19 Jun 2016 06:24:19 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36946/#p36946</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36945/#p36945</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>I am pretty sure you have started to look already at the results of the two methods and have a good idea.</p></blockquote></div><p>Not yet <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I just figured out the core concept (at 2:00 AM)</p><div class="codebox"><pre><code>void OnNewBar() {
  if (isPosition) 
    CheckStopLossTakeProfit();
  
  if (isPosition)
    SetRollOver();

  if (isPosition) {
    CalculateCloseConditions();
    if (isCloseSignal)
        ClosePosition();
  }
  
  if (!isPosition) {
    CalculateOpenConditions();
    if (isOpenSignal)
        OpenPosition();
  }
}</code></pre></div><p>A side effect can be that the EA will be much faster on the MT Tester. It can be even faster than the usual MT Experts.<br />This is possible because the indicators will be calculated only at a new bar (only if there is / there is not position) vs at every tick as usual.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 19 Jun 2016 05:47:47 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36945/#p36945</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36944/#p36944</link>
			<description><![CDATA[<p>I have exported the journal more than a few times.</p><p>To make comparisons...... I suggest the Statistics, in such a way that the details can be viewed side by side, I am not sure how to describe that......</p><p>I am pretty sure that the statistics will point out significant differences immediately and then perhaps refer to the journal to see exactly what is different.</p><p>If there is a variation of, say, less than 5 per cent, I would think not much sense looking further...</p><p>Sometimes we can get too fussy and end up wasting a lot of time.</p><p>Another way of doing this&nbsp; would be to have FSBpro retain the statistics and then issue a variance report after the second run.... and from that we can decide as to whether to export the information.</p><p>I am pretty sure you have started to look already at the results of the two methods and have a good idea.</p>]]></description>
			<author><![CDATA[null@example.com (Blaiserboy)]]></author>
			<pubDate>Sun, 19 Jun 2016 05:30:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36944/#p36944</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36943/#p36943</link>
			<description><![CDATA[<p>I can make the app exporting stats in csv files for excel. It can export the whole journal.</p><p>What do you think is useful for export and in what format?</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 19 Jun 2016 05:10:54 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36943/#p36943</guid>
		</item>
		<item>
			<title><![CDATA[Re: Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36941/#p36941</link>
			<description><![CDATA[<p>The journal can be one means of comparison as it lists each entry.</p><p>We may have to export to csv to get each item lined up.</p><p>I am not sure if you can set up to export Account Statistics for a comparison.</p><p>This two should provide most of what would be needed to make a detailed comparison. (I think)</p><p>I am looking at &#039;Statistics&#039;, that may be better for comparison than &#039;Account Statistics&#039; because it separates Long and Short. more details.</p><p>I actually have not thought much about entries on Open or Close but I will be willing to test the idea thoroughly. I think we may have to use several types of indicators and combinations to get an accurate picture.</p><br /><p>Hopefully others will contribute to this thread.</p><p>daveM</p>]]></description>
			<author><![CDATA[null@example.com (Blaiserboy)]]></author>
			<pubDate>Sun, 19 Jun 2016 00:49:25 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36941/#p36941</guid>
		</item>
		<item>
			<title><![CDATA[Experimenting with Close at Bar Open]]></title>
			<link>https://forexsb.com/forum/post/36940/#p36940</link>
			<description><![CDATA[<p>Dear Traders,</p><p>I always work on making more reliable and safe strategy model. As a result we have one of the best tools in the industry. But we want even more, for example, point to point correspondence of the backtest results of our tools with other popular platforms. </p><p>One old idea is to close the positions at the next Bar Open instead of the current close. In the reality the difference is very small - only one tick. The design of the most popular platform makes the detection of Bar Open a piece of cake, but on the other hand, these platforms are almost incapable of working with Bar Close.&nbsp; &nbsp; </p><p>To solve that mystery, I intend to create a strategy structure and a proper Generator for trading only on Bar Open. I&#039;ll use EA Studio for the prototype base and because I already have the main idea, I think we will have results before the end of June.</p><p>I want to be able to provide strategies for comparing both models and to draw the direction of the future developments.</p><p>Please share your ideas,</p><p>Trade Safe.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 18 Jun 2016 22:59:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/36940/#p36940</guid>
		</item>
	</channel>
</rss>
