<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — FSB v2.6.1.1 - published on May 15th]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/378/" />
	<updated>2008-05-23T06:16:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/378/fsb-v2611-published-on-may-15th/</id>
		<entry>
			<title type="html"><![CDATA[Re: FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1157/#p1157" />
			<content type="html"><![CDATA[<p>FSB uses the same logic (from FSB v2.6.1.0). You can activate it form <strong>Strategy Properties</strong> -&gt; <strong>Trading Size</strong> -&gt; Use variable lot size.</p><div class="codebox"><pre><code>  int iTradingLots = (int)Math.Floor(iSize * Equity / (PipsToMoney(100, iBar) * 100));

  if (iTradingLots &lt; 1)
       iTradingLots = 1;
  else if (iTradingLots &gt; MaxOpenLots)
       iTradingLots = MaxOpenLots;</code></pre></div><p>Where iSize is percent of the equity that will be use to cover the required margin</p><br /><p>FSB can control dynamically the number of Entry Lots, Lots for Adding and the Lots for Reducing the position.</p><br /><p>The difference is that FSB uses Account Equity but the expert you show uses the Account Balance. This is not important for the opening because the balance is equal to the equity. The difference is for an averaging when the current position is at significant profit or loss.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2008-05-23T06:16:40Z</updated>
			<id>https://forexsb.com/forum/post/1157/#p1157</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1156/#p1156" />
			<content type="html"><![CDATA[<p>How about money management option in FSB, I find that it sometime can make a just profitable system into very profitable one, in the mq4 code it is </p><p>//---- input parameters<br />extern bool&nbsp; &nbsp; &nbsp; MoneyManagement=true;<br />extern double&nbsp; &nbsp; &nbsp; &nbsp;Risk=10;</p><br /><p>//+------------------------------------------------------------------+<br />//| expert start function&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />//+------------------------------------------------------------------+<br />int start()<br />&nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (MoneyManagement)<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp;double Leverage=AccountLeverage();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lots=MathFloor((AccountBalance()*Risk*(Leverage/100))/(MarketInfo(Symbol(),MODE_LOTSIZE)*MarketInfo(Symbol(),MODE_MINLOT)))*MarketInfo(Symbol(),MODE_MINLOT);<br />&nbsp; &nbsp;}<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;if(MoneyManagement==false)<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp;lots=lots;<br />&nbsp; &nbsp;}&nbsp; </p><p>//---- rest of the strategy code</p><p> return(0);<br />&nbsp; }</p>]]></content>
			<author>
				<name><![CDATA[Melvin Lau]]></name>
				<uri>https://forexsb.com/forum/user/74/</uri>
			</author>
			<updated>2008-05-22T21:24:05Z</updated>
			<id>https://forexsb.com/forum/post/1156/#p1156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1155/#p1155" />
			<content type="html"><![CDATA[<p>May be in the future you will be able to write a EA that link the FSB &quot;live&quot; trade signal back to MT4 there by giving FSB the ability to do live trading.</p>]]></content>
			<author>
				<name><![CDATA[Melvin Lau]]></name>
				<uri>https://forexsb.com/forum/user/74/</uri>
			</author>
			<updated>2008-05-22T21:14:08Z</updated>
			<id>https://forexsb.com/forum/post/1155/#p1155</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1154/#p1154" />
			<content type="html"><![CDATA[<p>Excellent!</p><p>(No problem with the Russian <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />)</p><br /><p>That is the important:</p><p>&nbsp; &nbsp; &nbsp; &nbsp;int bar_time = FileReadInteger(hst_handle, LONG_VALUE);<br />&nbsp; &nbsp; &nbsp; &nbsp;double bar_open = FileReadDouble(hst_handle, DOUBLE_VALUE);<br />&nbsp; &nbsp; &nbsp; &nbsp;double bar_low = FileReadDouble(hst_handle, DOUBLE_VALUE);<br />&nbsp; &nbsp; &nbsp; &nbsp;double bar_high = FileReadDouble(hst_handle, DOUBLE_VALUE);<br />&nbsp; &nbsp; &nbsp; &nbsp;double bar_close = FileReadDouble(hst_handle, DOUBLE_VALUE);<br />&nbsp; &nbsp; &nbsp; &nbsp;double bar_volume = FileReadDouble(hst_handle, DOUBLE_VALUE);</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2008-05-22T16:16:50Z</updated>
			<id>https://forexsb.com/forum/post/1154/#p1154</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1153/#p1153" />
			<content type="html"><![CDATA[<p>I have found the mq4 code that convert hst file to csv ( but it is in Russian ), may be with this code you code make FSB &quot;live&quot; ?<br />http://codebase.mql4.com/ru/1071</p>]]></content>
			<author>
				<name><![CDATA[Melvin Lau]]></name>
				<uri>https://forexsb.com/forum/user/74/</uri>
			</author>
			<updated>2008-05-22T16:06:11Z</updated>
			<id>https://forexsb.com/forum/post/1153/#p1153</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[FSB v2.6.1.1 - published on May 15th]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/1142/#p1142" />
			<content type="html"><![CDATA[<p>Several minor bugs are fixed in this release:<br />&nbsp; - wrong column title in the positions journal table was renamed;<br />&nbsp; - fixed crash in the journal when there is no transactions;<br />&nbsp; - improved number boxes in the indicator dialog.</p><p>New indicator: <strong>Round Number</strong></p><p>It allows enter/exit the market at the support/resistant levels (round price level). It is possible to set a price shift to enter blow or above the level.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2008-05-15T08:55:10Z</updated>
			<id>https://forexsb.com/forum/post/1142/#p1142</id>
		</entry>
</feed>
