<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Change trading time with set parameters]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7259/" />
	<updated>2018-03-10T17:46:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7259/change-trading-time-with-set-parameters/</id>
		<entry>
			<title type="html"><![CDATA[Re: Change trading time with set parameters]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49530/#p49530" />
			<content type="html"><![CDATA[<p>Yes, you have to add &quot;input&quot; in front of each line. You have to also add parameters names in comments at the end of each line.</p><p>Like that:</p><div class="codebox"><pre><code>input int sessionSundayOpen           = 0;     // Sunday Open
input int sessionSundayClose          = 86400; // Sunday Close
input int sessionMondayThursdayOpen   = 0;     // Monday - Thursday Open
input int sessionMondayThursdayClose  = 86400; // Monday - Thursday Close
input int sessionFridayOpen           = 0;     // Friday Open
input int sessionFridayClose          = 86400; // Friday Close
input bool sessionIgnoreSunday        = false; // Ignore Sunday
input bool sessionCloseAtSessionClose = false; // Close at session Close
input bool sessionCloseAtFridayClose  = false; // Close at friday Clsoe</code></pre></div><br /><p><span class="postimg"><img src="https://s9.postimg.org/wx93wtcdr/screenshot_177.png" alt="https://s9.postimg.org/wx93wtcdr/screenshot_177.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-10T17:46:11Z</updated>
			<id>https://forexsb.com/forum/post/49530/#p49530</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change trading time with set parameters]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49529/#p49529" />
			<content type="html"><![CDATA[<p>Yes but what i have to Do to change it Not in mql code.. I want change it in expert Option.. Did i only nee to put an Input before the variables?</p><p>E.g. Input int sessionSundayOpen</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-10T17:07:17Z</updated>
			<id>https://forexsb.com/forum/post/49529/#p49529</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change trading time with set parameters]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49528/#p49528" />
			<content type="html"><![CDATA[<p>Yes, you can do it.</p><p>Open the expert and you will see the settings there.</p><div class="codebox"><pre><code>// Session time is set in seconds from 00:00
int sessionSundayOpen           = 0;     // 00:00
int sessionSundayClose          = 86400; // 24:00
int sessionMondayThursdayOpen   = 0;     // 00:00
int sessionMondayThursdayClose  = 86400; // 24:00
int sessionFridayOpen           = 0;     // 00:00
int sessionFridayClose          = 86400; // 24:00
bool sessionIgnoreSunday        = false;
bool sessionCloseAtSessionClose = false;
bool sessionCloseAtFridayClose  = false;</code></pre></div><p>You have to set the times in seconds.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-10T16:46:19Z</updated>
			<id>https://forexsb.com/forum/post/49528/#p49528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Change trading time with set parameters]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49527/#p49527" />
			<content type="html"><![CDATA[<p>Hi,<br />the ea Studio give the opportunity to Set trading time. Is it possible to change this trading time in the setting of compiled ea. I mean with Input fields before Start..</p>]]></content>
			<author>
				<name><![CDATA[deadlef]]></name>
				<uri>https://forexsb.com/forum/user/9894/</uri>
			</author>
			<updated>2018-03-10T16:01:21Z</updated>
			<id>https://forexsb.com/forum/post/49527/#p49527</id>
		</entry>
</feed>
