<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — entry time help/suggestions 2]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5637/" />
	<updated>2015-11-12T14:36:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5637/entry-time-helpsuggestions-2/</id>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32283/#p32283" />
			<content type="html"><![CDATA[<p>Okay i uninstalled and reinstalled the software now works properly again...</p><p>Thank you guys</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-12T14:36:29Z</updated>
			<id>https://forexsb.com/forum/post/32283/#p32283</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32278/#p32278" />
			<content type="html"><![CDATA[<p>Hi footon, unfortunately the names of .cs and .mqh are the same, these are not different...</p><p>Regarding the error, the simply message in the Output Log window is: &quot;&quot;expert advisor is not exported. Cannot create the expert file.&quot;</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-12T11:27:54Z</updated>
			<id>https://forexsb.com/forum/post/32278/#p32278</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32268/#p32268" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alessandromagno wrote:</cite><blockquote><p>Fast and clear!</p><p>Thanks Popov, but i got the same problem. It doesn&#039;t export the EA.</p><p>I also tried to copy the mqh in every folder of indicator, but nothing</p></blockquote></div><p>I think you might be using your own modified indi with a different name (<em>Time Grid Prova</em> vs <em>Time Grid</em>), but it doesn&#039;t work because the naming is different between .cs and .mqh. Please add the error message itself also, then we don&#039;t have to guess what error is about.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2015-11-11T19:37:02Z</updated>
			<id>https://forexsb.com/forum/post/32268/#p32268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32267/#p32267" />
			<content type="html"><![CDATA[<p>Fast and clear!</p><p>Thanks Popov, but i got the same problem. It doesn&#039;t export the EA.</p><p>I also tried to copy the mqh in every folder of indicator, but nothing</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-11T17:24:55Z</updated>
			<id>https://forexsb.com/forum/post/32267/#p32267</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32266/#p32266" />
			<content type="html"><![CDATA[<p>You have to use both file.<br />Put the .<strong>cs</strong> file in &quot;C:\Program Files\Forex Strategy Builder Pro\User Files\Indicators&quot;<br />And the .<strong>mqh</strong> file in &quot;C:\Program Files\Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com\Custom&quot;</p><p>The first one is used in FSB and the second one in the exported Expert Advisors.<br />If you want modifications, you have to modify both files in order to achieve the same results in MetaTrader.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-11T16:46:14Z</updated>
			<id>https://forexsb.com/forum/post/32266/#p32266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32264/#p32264" />
			<content type="html"><![CDATA[<p>Hi Popov, which file i have to use/modify?</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-11T15:30:45Z</updated>
			<id>https://forexsb.com/forum/post/32264/#p32264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32263/#p32263" />
			<content type="html"><![CDATA[<p>I added MQL version of the indicator to my first answer. <br />I made also minor changes in the CS code in order to make it looking as the MQL code.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-11T14:46:59Z</updated>
			<id>https://forexsb.com/forum/post/32263/#p32263</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32251/#p32251" />
			<content type="html"><![CDATA[<p>Thank you for the efforts</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-10T15:51:44Z</updated>
			<id>https://forexsb.com/forum/post/32251/#p32251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32249/#p32249" />
			<content type="html"><![CDATA[<p>The problem is that there is no MQL version of the indicator. I&#039;ll make it this evening or tomorrow.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-10T15:01:28Z</updated>
			<id>https://forexsb.com/forum/post/32249/#p32249</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32248/#p32248" />
			<content type="html"><![CDATA[<p>Yes i did and now works properly. But there is a new problem.....applying your indicator to a strategy i cannot export or save the EA: &quot;expert advisor is not exported. Cannot create the expert file.&quot;</p><p>What&#039;s the problem?</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-10T13:30:45Z</updated>
			<id>https://forexsb.com/forum/post/32248/#p32248</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32243/#p32243" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>The &quot;error&quot; popup still remains....</p></blockquote></div><p>Clean the Library folder. The old dll causes the conflict.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-09T13:47:24Z</updated>
			<id>https://forexsb.com/forum/post/32243/#p32243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32239/#p32239" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>This message shows you that the indicator is already loaded from the original file TimeGrid.cs</p><p>If you want to use your version together with the original, you have to rename the class and the constructor, and the indicator name text.</p><p><a href="http://postimg.org/image/ihblstedf/"><span class="postimg"><img src="http://s13.postimg.org/ihblstedf/screenshot_1264.jpg" alt="http://s13.postimg.org/ihblstedf/screenshot_1264.jpg" /></span></a></p><div class="codebox"><pre><code>    public class TimeGridProva : Indicator
    {
        public TimeGridProva()
        {
            IndicatorName     = &quot;Time Grid Prova&quot;;
            PossibleSlots     = SlotTypes.OpenFilter;</code></pre></div></blockquote></div><p>The &quot;error&quot; popup still remains.... but now it works perfectly!<br />Thanks again</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-09T12:19:02Z</updated>
			<id>https://forexsb.com/forum/post/32239/#p32239</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32238/#p32238" />
			<content type="html"><![CDATA[<p>This message shows you that the indicator is already loaded from the original file TimeGrid.cs</p><p>If you want to use your version together with the original, you have to rename the class and the constructor, and the indicator name text.</p><p><a href="http://postimg.org/image/ihblstedf/"><span class="postimg"><img src="http://s13.postimg.org/ihblstedf/screenshot_1264.jpg" alt="http://s13.postimg.org/ihblstedf/screenshot_1264.jpg" /></span></a></p><div class="codebox"><pre><code>    public class TimeGridProva : Indicator
    {
        public TimeGridProva()
        {
            IndicatorName     = &quot;Time Grid Prova&quot;;
            PossibleSlots     = SlotTypes.OpenFilter;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-09T11:50:02Z</updated>
			<id>https://forexsb.com/forum/post/32238/#p32238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32237/#p32237" />
			<content type="html"><![CDATA[<p>I perfectly understand the method!! I&#039;m using notepad++. But after saving my indicator under indicator folder, when i try to open again fsb appears such message:</p><p><a href="http://postimg.org/image/gdjbvynvx/"><span class="postimg"><img src="http://s22.postimg.org/gdjbvynvx/Untitled.jpg" alt="http://s22.postimg.org/gdjbvynvx/Untitled.jpg" /></span></a></p><p>I&#039;m sure i did something wrong with note++, since it&#039;s the first time for me...</p>]]></content>
			<author>
				<name><![CDATA[alessandromagno]]></name>
				<uri>https://forexsb.com/forum/user/8643/</uri>
			</author>
			<updated>2015-11-09T11:30:37Z</updated>
			<id>https://forexsb.com/forum/post/32237/#p32237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: entry time help/suggestions 2]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/32236/#p32236" />
			<content type="html"><![CDATA[<p>Open it in any text editor. Preferably Notepad++</p><p>These cases are labels that separate the days of week. If you have several labels, all execute the same code.<br /></p><div class="codebox"><pre><code>case DayOfWeek.Monday    :</code></pre></div><p>You can put conditions between the label if you want. Every condition finishes with &quot;break;&quot;. If you miss the &quot;break;&quot; the program will continue with the next label.</p><br /><p>For example the following code allows entries from 8:00 to 20:00 from Monday to Thursday and from 8:00 to 12:00 for Friday. </p><div class="codebox"><pre><code>    switch(Time[bar].DayOfWeek)
    {
        case DayOfWeek.Monday    :
        case DayOfWeek.Tuesday   :
        case DayOfWeek.Wednesday :
        case DayOfWeek.Thursday  :
            values[bar] = (hour &gt;= 8  &amp;&amp; hour &lt; 20) ? 1 : 0;
            break;
        case DayOfWeek.Friday :
            values[bar] = (hour &gt;= 8  &amp;&amp; hour &lt; 12) ? 1 : 0;
            break;
        case DayOfWeek.Saturday :
        case DayOfWeek.Sunday   :
            values[bar] = 0;
            break;
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-11-09T11:23:24Z</updated>
			<id>https://forexsb.com/forum/post/32236/#p32236</id>
		</entry>
</feed>
