<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Changing trading times for portfolios.]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7671/" />
	<updated>2019-01-09T05:01:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7671/changing-trading-times-for-portfolios/</id>
		<entry>
			<title type="html"><![CDATA[Re: Changing trading times for portfolios.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/53699/#p53699" />
			<content type="html"><![CDATA[<p>Yes, you can. </p><p> - Make you desired Trading Session settings.<br /> - Import your portfolio in the Validator and &quot;Recalculate&quot;.<br /> - Export the portfolio. It will have the trading session settings included.</p><p>You can also modify the settings within the Portfolio Expert. Be careful that the times are in seconds from midnight.</p><div class="codebox"><pre><code>// Session time is set in seconds from 00:00
const int sessionSundayOpen           = 3600;  // 01:00
const int sessionSundayClose          = 25200; // 07:00
const int sessionMondayThursdayOpen   = 3600;  // 01:00
const int sessionMondayThursdayClose  = 25200; // 07:00
const int sessionFridayOpen           = 3600;  // 01:00
const int sessionFridayClose          = 25200; // 07:00
const bool sessionIgnoreSunday        = true;
const bool sessionCloseAtSessionClose = false;
const bool sessionCloseAtFridayClose  = false;</code></pre></div><div class="quotebox"><blockquote><p>Also the trading times is the timezone set to what your timezone is in MT4?</p></blockquote></div><p>The Trading Session and all times in EA Studio are taken directly from the data file. it means the Time Zone is always the same as the data server.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2019-01-09T05:01:09Z</updated>
			<id>https://forexsb.com/forum/post/53699/#p53699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Changing trading times for portfolios.]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/53692/#p53692" />
			<content type="html"><![CDATA[<p>Hi guys,</p><p>Just wondering if I have not set rules for trading time for a certain strat/portfolio can I reupload them then regenerate the code with my new trading times set and it will input the trading time code?</p><p>Also the trading times is the timezone set to what your timezone is in MT4?</p>]]></content>
			<author>
				<name><![CDATA[Michael1]]></name>
				<uri>https://forexsb.com/forum/user/10884/</uri>
			</author>
			<updated>2019-01-08T22:25:16Z</updated>
			<id>https://forexsb.com/forum/post/53692/#p53692</id>
		</entry>
</feed>
