<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Limit the number of open trades]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/3181/" />
	<updated>2012-04-10T17:27:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/3181/limit-the-number-of-open-trades/</id>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13807/#p13807" />
			<content type="html"><![CDATA[<p>Thank you very much, I&#039;ve been testing and it works great. But I have a small problem, in the case of multiple daily with fractals strategy, how I can give priority to a currency pair over another?. By trying to make a logic input to a second pair to enter beginning at 00:01 hours, but does not work.</p><p>Thank you very much again.</p>]]></content>
			<author>
				<name><![CDATA[corrochano2000]]></name>
				<uri>https://forexsb.com/forum/user/5684/</uri>
			</author>
			<updated>2012-04-10T17:27:09Z</updated>
			<id>https://forexsb.com/forum/post/13807/#p13807</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13741/#p13741" />
			<content type="html"><![CDATA[<p>This version of the expert has additional option: One_Position_Only.<br />Its default value is false and the expert works normally.<br />When you set One_Position_Only = true, the expert will cancel every entry order if there is already open position. Expert takes into account open positions even with other MagicNumber, ID or Symbol.</p><p><a href="http://postimage.org/image/5wiqvlo63/"><span class="postimg"><img src="http://s17.postimage.org/5wiqvlo63/4_9_2012_10_33_17_PM.jpg" alt="http://s17.postimage.org/5wiqvlo63/4_9_2012_10_33_17_PM.jpg" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2012-04-09T19:34:08Z</updated>
			<id>https://forexsb.com/forum/post/13741/#p13741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13739/#p13739" />
			<content type="html"><![CDATA[<p>Sorry, but when compiling I get error messages. Could you please put the mq4 file?</p><p>Many thanks for your help.</p>]]></content>
			<author>
				<name><![CDATA[corrochano2000]]></name>
				<uri>https://forexsb.com/forum/user/5684/</uri>
			</author>
			<updated>2012-04-09T16:09:18Z</updated>
			<id>https://forexsb.com/forum/post/13739/#p13739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13705/#p13705" />
			<content type="html"><![CDATA[<p>Find <strong>OpenNewPosition</strong> function in the expert. It&#039;s on line 720 of Expert v1.10<br />Put this code in the beginning of OpenNewPosition.<br /></p><div class="codebox"><pre><code>for (int i = 0; i &lt; OrdersTotal(); i++)
{
    OrderSelect(i, SELECT_BY_POS, MODE_TRADES);
    if (OrderType() == OP_BUY || OrderType() == OP_SELL)
    {
        LastError = 0;
        return (0);
    }
}</code></pre></div><p><span style="color:red">This code is not tested!!!</span></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2012-04-08T16:29:41Z</updated>
			<id>https://forexsb.com/forum/post/13705/#p13705</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13700/#p13700" />
			<content type="html"><![CDATA[<p>Sorry but I think I explained well. I put several different strategies in different pairs and I will have no operations until they have closed all operations of all strategies. Is this possible?</p>]]></content>
			<author>
				<name><![CDATA[corrochano2000]]></name>
				<uri>https://forexsb.com/forum/user/5684/</uri>
			</author>
			<updated>2012-04-08T11:22:30Z</updated>
			<id>https://forexsb.com/forum/post/13700/#p13700</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13677/#p13677" />
			<content type="html"><![CDATA[<p>Use &quot;Enter Once&quot; indicator.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2012-04-06T21:10:16Z</updated>
			<id>https://forexsb.com/forum/post/13677/#p13677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Limit the number of open trades]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/13676/#p13676" />
			<content type="html"><![CDATA[<p>Hi all, I plan to install several strategies based on fractals daily for several currency pairs, the problem is that in the case of opening different operations on the same day, could result in a margin call.</p><p>My question is, could someone please tell me how I could avoid opening two operations in one day?</p><p>I hope your responses, greetings and thank you very much.</p>]]></content>
			<author>
				<name><![CDATA[corrochano2000]]></name>
				<uri>https://forexsb.com/forum/user/5684/</uri>
			</author>
			<updated>2012-04-06T20:48:21Z</updated>
			<id>https://forexsb.com/forum/post/13676/#p13676</id>
		</entry>
</feed>
