<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Exporting a strategy as an Expert Advisor]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5118/" />
	<updated>2016-05-09T06:42:50Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5118/exporting-a-strategy-as-an-expert-advisor/</id>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/35707/#p35707" />
			<content type="html"><![CDATA[<p>Hello Serge,</p><p>Exporting of EAs is the new and preferred way of trading FSB strategies. Actually an exported EA is a FSB strategy, bridge and Trader combined in one MQL file. Trading with multiple EAs requires less resources than running multiple bridge connections. You also don&#039;t need an FSB installation for trading on a VPS for example.</p><p>The Trader mode is useful during the strategy development and debugging because it provides an indicator chart and more terminal, market and indicator information. It allows a manual intervention in the trading during a strategy auto-trade.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2016-05-09T06:42:50Z</updated>
			<id>https://forexsb.com/forum/post/35707/#p35707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/35703/#p35703" />
			<content type="html"><![CDATA[<p>Hello I am really enjoying the software so far.</p><p>I just had a very quick question.&nbsp; So far I have just been exporting the EAs constructed with ForexSB directly to MT4.&nbsp; I was just wondering what the advantage is to using the bridge and trading the strategies from within ForexSB using the &quot;Trader&quot; mode?&nbsp; </p><p>It would seem to me that using the EA built with ForexSB on the MT4 platform directly would have less slippage and less delay no?</p><p>I haven&#039;t finished reviewing all of the manual or tutorial videos yet but I having trouble grasping the advantage of using the &quot;Trader&quot; function on ForexSB versus just uploading the EA on to your MT4 platform directly.</p><p>Thanks in advance.<br />Serge</p>]]></content>
			<author>
				<name><![CDATA[sergiel]]></name>
				<uri>https://forexsb.com/forum/user/9030/</uri>
			</author>
			<updated>2016-05-09T00:27:25Z</updated>
			<id>https://forexsb.com/forum/post/35703/#p35703</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32410/#p32410" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>I have the following problem; When I generated a strategy and try to backtest it in MT4, this happen:</p></blockquote></div><p>Unfortunately, MT 4 build 910 has a bug and the backtest doesn&#039;t work. <br />However your strategy loads on a demo chart and calculates well.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-23T00:03:38Z</updated>
			<id>https://forexsb.com/forum/post/32410/#p32410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32409/#p32409" />
			<content type="html"><![CDATA[<p>Simon, I don&#039;t know why it gave you the array out of range error, it points to a strange place code-wise, therefore I decided to wait until market opening to try it out myself, and it works fine for me, try it again is my suggestion.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-11-22T23:02:34Z</updated>
			<id>https://forexsb.com/forum/post/32409/#p32409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32404/#p32404" />
			<content type="html"><![CDATA[<p>Hi,<br />I have the following problem; When I generated a strategy and try to backtest it in MT4, this happen:<br />2015.11.22 09:32:37.639&nbsp; &nbsp; EURUSD,M30: 1198 tick events (6425 bars, 10821063 bar states) processed in 0:00:10.191 (total time 0:00:24.997)<br />2015.11.22 09:32:37.638&nbsp; &nbsp; 2015.04.01 01:14&nbsp; Testing pass stopped due to a critical error in the EA<br />2015.11.22 09:32:37.638&nbsp; &nbsp; 2015.04.01 01:14&nbsp; New Strategy m30 EURUSD,M30: array out of range in &#039;New Strategy m30.mq4&#039; (4898,32)<br />2015.11.22 09:32:27.653&nbsp; &nbsp; 2015.04.01 00:00&nbsp; New Strategy m30 EURUSD,M30: The expert uses 1050 bars.<br />2015.11.22 09:32:27.556&nbsp; &nbsp; 2015.04.01 00:00&nbsp; New Strategy m30 EURUSD,M30: Loading data: EURUSD,M30, Minumum bars: 125...<br />2015.11.22 09:32:27.553&nbsp; &nbsp; 2015.04.01 00:00&nbsp; New Strategy m30 EURUSD,M30: New Strategy m30 loaded.<br />2015.11.22 09:32:27.449&nbsp; &nbsp; 2015.04.01 00:00&nbsp; New Strategy m30 inputs: Entry_Amount=1; Maximum_Amount=20; Adding_Amount=1; Reducing_Amount=1; Protection_Min_Account=0; Protection_Max_StopLoss=0; Expert_Magic=20224149; Bar_Close_Advance=15; Write_Log_File=0; <br />2015.11.22 09:32:12.642&nbsp; &nbsp; <br />TestGenerator: current spread 20 used</p><p>I wonder why? I attach the strategy I try to test.</p>]]></content>
			<author>
				<name><![CDATA[simon_json]]></name>
				<uri>https://forexsb.com/forum/user/8787/</uri>
			</author>
			<updated>2015-11-22T09:09:02Z</updated>
			<id>https://forexsb.com/forum/post/32404/#p32404</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/31585/#p31585" />
			<content type="html"><![CDATA[<p>ok, thank you for your fast response and great support!</p>]]></content>
			<author>
				<name><![CDATA[mek325]]></name>
				<uri>https://forexsb.com/forum/user/8474/</uri>
			</author>
			<updated>2015-09-17T15:53:45Z</updated>
			<id>https://forexsb.com/forum/post/31585/#p31585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/31570/#p31570" />
			<content type="html"><![CDATA[<p>It is a known MT bug. I have reported it to MetaQuotes one moth ago but I have no response from them.</p><p>The problem is that the MT backtester doesn&#039;t generate tick near to the end of the bar especially on 5 min chart.&nbsp; </p><p>You can see this topic in the MQL5 community: <a href="https://www.mql5.com/en/forum/60765">https://www.mql5.com/en/forum/60765</a></p><p>Please note that there is zero response from the MT stuff.</p><p>The latest version of our EA should overcome this MT problem as well as it can.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-09-16T18:59:11Z</updated>
			<id>https://forexsb.com/forum/post/31570/#p31570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/31569/#p31569" />
			<content type="html"><![CDATA[<p>Hi Mr. Popov,<br />i think there a problem with the closing procedure in EA MQL-Code.<br />In the attached picture you can see the correct exit in FSBpro and the missing exit in MT4, although the EA-infotext shows a closing condition.</p><p><a href="http://postimg.org/image/bfgb3i9vr/"><span class="postimg"><img src="http://s23.postimg.org/bfgb3i9vr/mt4_ea_missing_exit.jpg" alt="http://s23.postimg.org/bfgb3i9vr/mt4_ea_missing_exit.jpg" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[mek325]]></name>
				<uri>https://forexsb.com/forum/user/8474/</uri>
			</author>
			<updated>2015-09-16T18:09:45Z</updated>
			<id>https://forexsb.com/forum/post/31569/#p31569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27947/#p27947" />
			<content type="html"><![CDATA[<p>Thank you very much.</p>]]></content>
			<author>
				<name><![CDATA[mathimatikos]]></name>
				<uri>https://forexsb.com/forum/user/7693/</uri>
			</author>
			<updated>2015-02-10T00:41:33Z</updated>
			<id>https://forexsb.com/forum/post/27947/#p27947</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27938/#p27938" />
			<content type="html"><![CDATA[<p>I fixed the problem. Please put the attached indicator in the MQL indicators folder:</p><div class="codebox"><pre><code>C:\Program Files\Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com\Indicators</code></pre></div><p>You have to reexport your expert.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-02-09T18:49:18Z</updated>
			<id>https://forexsb.com/forum/post/27938/#p27938</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27936/#p27936" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>I am sending you as attachment&nbsp; the strategies which I used for the test.</p></blockquote></div><p>Thank you. I&#039;m busy for the next two days, but I&#039;ll tray to fix it as fast as possible.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-02-09T18:35:22Z</updated>
			<id>https://forexsb.com/forum/post/27936/#p27936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27933/#p27933" />
			<content type="html"><![CDATA[<p>Dear Mr Popov<br />&nbsp; The Indicator &quot;Previous Bar Opening&quot;<br />does not work when it is exported as EA.<br />I have tested all available options via EA and via the Bridge simultaneously.<br />The Strategies worked perfect via the Bridge but no exported EA opened even a single position.<br />I am sending you as attachment&nbsp; the strategies which I used for the test.</p>]]></content>
			<author>
				<name><![CDATA[mathimatikos]]></name>
				<uri>https://forexsb.com/forum/user/7693/</uri>
			</author>
			<updated>2015-02-09T18:18:19Z</updated>
			<id>https://forexsb.com/forum/post/27933/#p27933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27656/#p27656" />
			<content type="html"><![CDATA[<p>&quot;Enter Once&quot; indicator uses a local variable to store the time of the last entry. The expert zeroes it on a restart. The same is valid when trading with the bridge.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-01-16T14:49:25Z</updated>
			<id>https://forexsb.com/forum/post/27656/#p27656</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27651/#p27651" />
			<content type="html"><![CDATA[<p>Dear Mr Popov <br />&nbsp; &nbsp; I tested the Indicator Enter Once to exported strategies as EA and these are my results:</p><p>&nbsp; &nbsp; The MT4 forgets prior trades after restarting when the trades are opened before restart<br />&nbsp; &nbsp; and closed before restart AND TRADES AGAIN.<br />&nbsp; &nbsp;<br />&nbsp; &nbsp; The MT4 remembers prior trades after restarting when the trades open before restart,<br />&nbsp; &nbsp; &nbsp;stay open during closing MT4 and remain open after restard.</p><p>&nbsp; &nbsp; I tested these strategies to M5 Graphs on MT4 and the results are:</p><p> 1) The Enter Once a Month does not trade at all.<br /> 2) The Enter Once a Day trades sometimes but forgets after a restart of the MT4 prior trades and trades again.<br /> 3) The Enter Once a Week trades but forgets after a restart of the MT4 prior trades and trades again.<br /> 4) The Enter Once a Bar trades but forgets after a restart of the MT4 prior trades and trades again.</p><p>I am sending you a zip with the strategies and the exported EAs for inspecting.</p><p> Kind Regards<br />&nbsp; Mathimatikos.</p>]]></content>
			<author>
				<name><![CDATA[mathimatikos]]></name>
				<uri>https://forexsb.com/forum/user/7693/</uri>
			</author>
			<updated>2015-01-16T11:56:55Z</updated>
			<id>https://forexsb.com/forum/post/27651/#p27651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exporting a strategy as an Expert Advisor]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/27571/#p27571" />
			<content type="html"><![CDATA[<p>You are right, it seams I missed to include the fixed Starc Bands indicator in the latest update.</p><p>Thank you for the report!</p><p>I updated the MQL code to v7. Restart FSB Pro in order to receive the new files.</p><p>Report any issues you may encounter.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-01-12T21:15:28Z</updated>
			<id>https://forexsb.com/forum/post/27571/#p27571</id>
		</entry>
</feed>
