<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Can I run ea? if there are a few bars.]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7783/" />
	<updated>2019-04-09T16:40:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7783/can-i-run-ea-if-there-are-a-few-bars/</id>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55049/#p55049" />
			<content type="html"><![CDATA[<p>When you add a new symbol, set is as CFD. It allows using an arbitrary name. It is necessary because the &quot;Forex&quot; symbols must contain only 6 capital letters.</p><p><a href="https://image-holder.forexsb.com/store/FSB-Pro-add-CFD-Symbol.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/FSB-Pro-add-CFD-Symbol-thumb.png" alt="https://image-holder.forexsb.com/store/FSB-Pro-add-CFD-Symbol-thumb.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2019-04-09T16:40:36Z</updated>
			<id>https://forexsb.com/forum/post/55049/#p55049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55047/#p55047" />
			<content type="html"><![CDATA[<p>I have a little doubt. set them as &quot;CFD&quot; , Does it mean to rename history data to CFD1440,CFD240,CFD60....?<br />Then how to know which symbol is which?</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-09T15:52:17Z</updated>
			<id>https://forexsb.com/forum/post/55047/#p55047</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55042/#p55042" />
			<content type="html"><![CDATA[<p>FSB Pro includes the exact symbol names in the EA. </p><p>The most reliable way is to import the data from the broker you are going to trade. In your case, the symbols must be EURUSDc, GBPUSDc... and to use these when creating strategies.</p><p>FSB Pro may complain of the symbol name because it may require six capital letters. Set them as &quot;CFD&quot; in such a case.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2019-04-09T13:08:10Z</updated>
			<id>https://forexsb.com/forum/post/55042/#p55042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55041/#p55041" />
			<content type="html"><![CDATA[<p>Thank to popov and footon,</p><p>I solved by popov way. The ea is available now.<br />Is it possible? The future, Exporting ea will change variable automatical from software.</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-09T12:57:36Z</updated>
			<id>https://forexsb.com/forum/post/55041/#p55041</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55040/#p55040" />
			<content type="html"><![CDATA[<p>It looks like this is a multi-market strategy. If some of the additional market indicators require more than 100 bars, we have to make MT loading them.</p><p>Does yuor symbol is EURUSD<strong>c</strong>?</p><p>In that case, the strategy will not load the data because it searches for EURUSD.</p><p>This can be the reason it shows that cannot load bars.</p><br /><p>We have in the EA:</p><div class="codebox"><pre><code>   strategy.Slot[1].IndicatorName    = &quot;Moving Average&quot;;
   strategy.Slot[1].SlotType         = SlotTypes_OpenFilter;
   strategy.Slot[1].SignalShift      = 0;
   strategy.Slot[1].SignalRepeat     = 0;
   strategy.Slot[1].IndicatorPeriod  = DataPeriod_H1;
   strategy.Slot[1].IndicatorSymbol  = &quot;EURUSD&quot;;
   strategy.Slot[1].LogicalGroup     = &quot;A&quot;;
   strategy.Slot[1].IndicatorPointer = indicatorManager.CreateIndicator(&quot;Moving Average&quot;, SlotTypes_OpenFilter);</code></pre></div><p>Please search for &quot;EURUSD&quot; and replace it with EURUSDc.</p><p>EDIT:</p><p>The strategy requires more market also. Please correct the other symbols in the expert.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2019-04-09T12:02:44Z</updated>
			<id>https://forexsb.com/forum/post/55040/#p55040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55039/#p55039" />
			<content type="html"><![CDATA[<p>Hi,<br />I am not sure to say that it works or not. strategy_03 works on XM micro now. (* _02 work too I forgot to tell you)<br />But exness micro account still does not work on both, here is an error.</p><p><a href="https://ibb.co/B4K97SK"><span class="postimg"><img src="https://i.ibb.co/pWrSs9r/U1.png" alt="https://i.ibb.co/pWrSs9r/U1.png" /></span></a></p><p>(2145,24)<br /><a href="https://ibb.co/cFW2x92"><span class="postimg"><img src="https://i.ibb.co/HzcGXyG/u2.png" alt="https://i.ibb.co/HzcGXyG/u2.png" /></span></a><br /><a href="https://freeonlinedice.com/">monopoly gif</a></p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-09T11:53:39Z</updated>
			<id>https://forexsb.com/forum/post/55039/#p55039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55038/#p55038" />
			<content type="html"><![CDATA[<p>Try this one.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2019-04-09T11:06:56Z</updated>
			<id>https://forexsb.com/forum/post/55038/#p55038</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55036/#p55036" />
			<content type="html"><![CDATA[<p>yes, all of them are version 4.00 build 1170</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-09T09:21:28Z</updated>
			<id>https://forexsb.com/forum/post/55036/#p55036</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55035/#p55035" />
			<content type="html"><![CDATA[<p>Hmm, yeah, the error is somewhere else... Now it shows array out of range error.</p><p>And you have trouble with only micro accounts.</p><p>Can you check your all 3 platforms and see what builds they are? In mt click Help-&gt;About and the build numbers, probably they are the same but lets be sure.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2019-04-09T09:12:14Z</updated>
			<id>https://forexsb.com/forum/post/55035/#p55035</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55030/#p55030" />
			<content type="html"><![CDATA[<p>Still got the same result. Thank to footon.</p><br /><p><a href="https://ibb.co/R6RmSPS"><span class="postimg"><img src="https://i.ibb.co/6tjxZbZ/1.jpg" alt="https://i.ibb.co/6tjxZbZ/1.jpg" /></span></a></p><br /><br /><p>(2353,24)</p><p><a href="https://ibb.co/ZBxMTbx"><span class="postimg"><img src="https://i.ibb.co/fkHx0TH/2.jpg" alt="https://i.ibb.co/fkHx0TH/2.jpg" /></span></a></p><br /><p>Update!<br />I have tried to use your ea, It works for another broker (standard account),But my current account doesn&#039;t work.<br />These are the brokers&#039;account I got error. exness(micro),Xm(micro)<br />And I found your lastest EA is available for tickmill(standard).</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-09T04:22:28Z</updated>
			<id>https://forexsb.com/forum/post/55030/#p55030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55029/#p55029" />
			<content type="html"><![CDATA[<p>Interesting.</p><p>There are enough bars, so we can rule it out. </p><p>The problem seems to be in spread calculation, somehow Point value is returned as zero, it seems.</p><p>Try the next version attached.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2019-04-08T21:44:23Z</updated>
			<id>https://forexsb.com/forum/post/55029/#p55029</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55025/#p55025" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I got the same result with ea you attached.There is some error on the expert tab. I attached them here.</p><p>This is amount of bars I have count by your way. <br />EURUSD (4129 bars M30,&nbsp; 4049 bars H1)<br />GBPUSD (4049 bars H1)<br />USDJPY (4049 bars H1 )<br />I dont know where Ea warn &quot;not enough bars&quot; as you said. <br />thank you very much</p><br /><p><a href="https://postimg.cc/hJF2s559"><span class="postimg"><img src="https://i.postimg.cc/hJF2s559/Experts.png" alt="https://i.postimg.cc/hJF2s559/Experts.png" /></span></a></p><p><a href="https://postimg.cc/JDxK144q"><span class="postimg"><img src="https://i.postimg.cc/JDxK144q/Journal.png" alt="https://i.postimg.cc/JDxK144q/Journal.png" /></span></a></p><br /><p>error &quot;zero divide (5215,55)&quot;</p><p><a href="https://postimg.cc/ZvF9kCbb"><span class="postimg"><img src="https://i.postimg.cc/ZvF9kCbb/Untitled.png" alt="https://i.postimg.cc/ZvF9kCbb/Untitled.png" /></span></a></p><p>Is it possible? using micro account cause this. the minimum lot and lot step of my account are only 0.1 . not&nbsp; 0.01</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-08T13:15:57Z</updated>
			<id>https://forexsb.com/forum/post/55025/#p55025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55023/#p55023" />
			<content type="html"><![CDATA[<p>No visible errors, unfortunately I can&#039;t test it currently on a platform.<br />But try the one attached if it changes anything.<br />---<br />Are there no error messages in Journal and Ea tab?<br />---<br />How many bars do you have then for respective symbols? In MT point the cursor at the chart name tab below, then the number of bars will pop up. I think the EA will print the &quot;not enough bars&quot; message on the chart as well.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2019-04-08T11:50:14Z</updated>
			<id>https://forexsb.com/forum/post/55023/#p55023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55019/#p55019" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I just go to compile again, then open the separate charts and increase bars by pressing &quot;HOME&quot; for all timeframe and symbol I used. I am sure that the chart have bars enough. If minimum require bars is 287. It&#039;s just around&nbsp; 12 days in H1 and 6 days in M30. <br />The Ea still does not work. Thank you footon.</p>]]></content>
			<author>
				<name><![CDATA[moonsky]]></name>
				<uri>https://forexsb.com/forum/user/10506/</uri>
			</author>
			<updated>2019-04-08T10:10:08Z</updated>
			<id>https://forexsb.com/forum/post/55019/#p55019</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Can I run ea? if there are a few bars.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55017/#p55017" />
			<content type="html"><![CDATA[<p>If there are not enough bars then expert tab and journal has an error there, look through them for hints. Does the EA compile? Do you have the necessary timeframes available? Open separate charts for those TF&#039;s and see if it helps.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2019-04-08T09:42:22Z</updated>
			<id>https://forexsb.com/forum/post/55017/#p55017</id>
		</entry>
</feed>
