<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7288/" />
	<updated>2018-03-27T05:02:06Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7288/i-generate-20-strategies-on-7-pair-for-daily-charts-but-no-trades/</id>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49826/#p49826" />
			<content type="html"><![CDATA[<p>Now it&#039;s works. The problem was that I was using not my broker data to generate strategies. Thanks guys.</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-27T05:02:06Z</updated>
			<id>https://forexsb.com/forum/post/49826/#p49826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49786/#p49786" />
			<content type="html"><![CDATA[<p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-25T05:49:26Z</updated>
			<id>https://forexsb.com/forum/post/49786/#p49786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49785/#p49785" />
			<content type="html"><![CDATA[<p>If you trade on a timeframa that is higher than H1, the slightest GMT difference will lead into different result even if you&#039;re using simple indicators like moving average.</p><p>The issue also might come from what kind of indicator you use to generate the strategy.</p>]]></content>
			<author>
				<name><![CDATA[yonkuro]]></name>
				<uri>https://forexsb.com/forum/user/8447/</uri>
			</author>
			<updated>2018-03-24T22:26:31Z</updated>
			<id>https://forexsb.com/forum/post/49785/#p49785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49782/#p49782" />
			<content type="html"><![CDATA[<p>What does it mean -&nbsp; Histogram unknown?</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-24T13:31:16Z</updated>
			<id>https://forexsb.com/forum/post/49782/#p49782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49780/#p49780" />
			<content type="html"><![CDATA[<p>I am not sure that I use it correct. Can it be the problem?</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-24T06:23:12Z</updated>
			<id>https://forexsb.com/forum/post/49780/#p49780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49778/#p49778" />
			<content type="html"><![CDATA[<p>Do you use historical data from your broker on EA Studio?</p>]]></content>
			<author>
				<name><![CDATA[yonkuro]]></name>
				<uri>https://forexsb.com/forum/user/8447/</uri>
			</author>
			<updated>2018-03-23T23:46:48Z</updated>
			<id>https://forexsb.com/forum/post/49778/#p49778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49775/#p49775" />
			<content type="html"><![CDATA[<p>My broker is UkrGasBank and they have fixed spread. I tried yesterday to put order manually at 00:00 and I placed it but I late a couple seconds. I didn&#039;t checked if there was some mistakes but need to check it today. I was thinking the same that would be better to send the order later then 00:00. Could you help me whit placing your code in Expert? Thankyou.</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-23T13:06:38Z</updated>
			<id>https://forexsb.com/forum/post/49775/#p49775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49772/#p49772" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ivanskyy wrote:</cite><blockquote><p>I try to test it live on 1 minute chart but it still not opening orders. In tester on 1 minute period its opening orders just in 00:00 where should be opened daily but just on date when test starts. After that no more trades. Can somebody help?</p></blockquote></div><p>May I ask which broker you are using? Possibly Pepperstone or Global Prime? The reason is this, both brokers have a trading break at 0:00, but still stream prices. So your EA will try to enter at that time (start of a new daily bar), but can´t, because it will get rejected with &quot;market is closed&quot;. Do you see any such error in the &quot;journal&quot; tab?</p><p>I am avoiding this by adding my custom code to the EA´s to do a trading break from 23:59 to 0:01 server-time, so the order can be placed at 0:01 by the EA. It´s not exactly accurate like in the backtests then, but at least you get in. And believe me, you anyway do not wish to open the order at 0:00, as this is roll-over-time and spreads jump to 30 to 40 pips for that minute VERY often. So it´s better to wait for 0:01. Maybe Popov can insert such a simple function into the generic code of FSB (and EA Studio). Here is how I do it in my EAs, maybe that helps. I simply check if the &quot;trading break&quot; is currently active at the same place I check for a new bar (which would be needed in order to enter a trade, as my EAs only trade on bar open):</p><div class="codebox"><pre><code>extern string TradingBreakFrom = &quot;23:59&quot;;
extern string TradingBreakUntil = &quot;00:01&quot;;</code></pre></div><br /><div class="codebox"><pre><code>   static datetime timeCur;
   bool isNewBar = false;
   if (timeCur != Time[0] &amp;&amp; checkTradingBreak(TradingBreakFrom, TradingBreakUntil) == false) {
   isNewBar = true;
   timeCur=Time[0];
   }
   
   if(isNewBar){
..............................</code></pre></div><br /><div class="codebox"><pre><code>bool checkTradingBreak(string TimeFrom, string TimeTo)
{
    bool RevertRange = false;

    if (TimeStringToDateTime(TimeTo) &lt; TimeStringToDateTime(TimeFrom))
        RevertRange = true;

    if (RevertRange == false &amp;&amp; (TimeCurrent() &lt; TimeStringToDateTime(TimeFrom) || TimeCurrent() &gt; TimeStringToDateTime(TimeTo)))
    {
        return(false);
    }
    else if (RevertRange == true &amp;&amp; (TimeCurrent() &gt; TimeStringToDateTime(TimeTo) &amp;&amp; TimeCurrent() &lt; TimeStringToDateTime(TimeFrom)))
    {
        return(false);
    }

    return(true);
}

datetime TimeStringToDateTime(string time) {
   string date = TimeToStr(TimeCurrent(),TIME_DATE);//&quot;yyyy.mm.dd&quot;
   return (StrToTime(date + &quot; &quot; + time));
}</code></pre></div><br /><p>What this does is to simply NOT tell the EA that a new bar has opened if we are currently within the trading-break. So the &quot;new bar event&quot; which normally would have happened at 0:00, gets delayed until 0:01, regardless of the timeframe of the chart, it can place the order at 0:01 and does not have to wait until the next &quot;real&quot; bar (which would be very bad for H1 / H4 / D1 strategies). Maybe an idea for Popov.... ;-)</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-23T10:39:21Z</updated>
			<id>https://forexsb.com/forum/post/49772/#p49772</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49764/#p49764" />
			<content type="html"><![CDATA[<p>Everything looks fine on your screenshot. Do you see any errors? If not, it means that there are no signals.<br />I&#039;m not familiar with the entry indicators you use, but its value looks normal.</p><p>Please report, if you find more info or some suspicious behavior.</p><p>(I&#039;m moving your posts in a new topic because they are not related to the current topic)</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-22T22:45:31Z</updated>
			<id>https://forexsb.com/forum/post/49764/#p49764</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49754/#p49754" />
			<content type="html"><![CDATA[<p>I try to test it live on 1 minute chart but it still not opening orders. In tester on 1 minute period its opening orders just in 00:00 where should be opened daily but just on date when test starts. After that no more trades. Can somebody help?</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-22T15:57:43Z</updated>
			<id>https://forexsb.com/forum/post/49754/#p49754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49744/#p49744" />
			<content type="html"><![CDATA[<p>For the last week it&#039;s doesn&#039;t made any trades but in a tester they are exist.</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-22T11:01:25Z</updated>
			<id>https://forexsb.com/forum/post/49744/#p49744</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49723/#p49723" />
			<content type="html"><![CDATA[<p>Please check your experts in the MT Tester. If they work there, they will work on the charts.</p><p>Anyway, this is a very common question.<br />It is important to understand that the strategies start trading not when you put on the chart, but when the used indicators form a suitable signal. </p><p>Especially on a D1 chart, it may take weeks before the first trade.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-22T07:03:00Z</updated>
			<id>https://forexsb.com/forum/post/49723/#p49723</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[I generate 20 strategies on 7 pair for Daily charts but no trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49720/#p49720" />
			<content type="html"><![CDATA[<p>Hi guys. I generate 20 strategies on 7 pair for Daily charts on bar opening but its do not producing any trades. Anybody know why? Thanks.</p>]]></content>
			<author>
				<name><![CDATA[ivanskyy]]></name>
				<uri>https://forexsb.com/forum/user/10435/</uri>
			</author>
			<updated>2018-03-22T05:33:36Z</updated>
			<id>https://forexsb.com/forum/post/49720/#p49720</id>
		</entry>
</feed>
