<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Forex Strategy Builder source code]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/2189" />
	<updated>2013-01-22T06:35:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/2189/forex-strategy-builder-source-code/</id>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/17861/#p17861" />
			<content type="html"><![CDATA[<p>Serfel, thank you for improving FSB. You can open a topic in the forum and to attach your contribution.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-01-22T06:35:42Z</updated>
			<id>https://forexsb.com/forum/post/17861/#p17861</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/17767/#p17767" />
			<content type="html"><![CDATA[<p>When drawing schedules unpleasant blinking are observ.<br />I offers small changes in visual components (smallbalancechart, etc.). 3rd lines of a code + my class. Blinking are not present. If interested, inform where to lay out a code.</p>]]></content>
			<author>
				<name><![CDATA[serfel]]></name>
				<uri>https://forexsb.com/forum/user/2770/</uri>
			</author>
			<updated>2013-01-12T12:42:25Z</updated>
			<id>https://forexsb.com/forum/post/17767/#p17767</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8831/#p8831" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Second -- where does the loop through the Bars happen?</p></blockquote></div><br /><div class="codebox"><pre><code>        /// &lt;summary&gt;
        /// The main calculating cycle
        /// &lt;/summary&gt;
        public static void Calculation()
        {</code></pre></div><p>It&#039;s in the &quot;Backtester Calculator.cs&quot; file</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2011-04-02T15:51:12Z</updated>
			<id>https://forexsb.com/forum/post/8831/#p8831</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8830/#p8830" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>First one -- What is the WayPoint class for, what does it do?</p></blockquote></div><p>FSB stores the backtest in the array <strong>static Session[] session;</strong>.<br />Each <em>session</em> is one backtested bar.<br />The actual activities from the backtest are stored as <strong>Way_Point</strong>s in the session.<br />Each <strong>Way_Point</strong> contains the activity price, type, order and position (if any).<br />All available activities are:</p><div class="codebox"><pre><code>public enum WayPointType
{
    None, Open, High, Low, Close, Entry, Exit, Add, Reduce, Reverse, Cancel
}</code></pre></div><p><strong>Open, High, Low, Close</strong> waypoints shows when the backtester reaches the corresponding price levels.</p><p><strong>Entry, Exit, Add, Reduce, Reverse</strong> are the transactions.</p><p><strong>Cancel</strong> shows when the backtester cancels orders.</p><p>...</p><p>You can see all this represented in the &quot;Bar Explorer&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2011-04-02T15:45:49Z</updated>
			<id>https://forexsb.com/forum/post/8830/#p8830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8826/#p8826" />
			<content type="html"><![CDATA[<p>I&#039;m working through the Backtester class (Backtest Calculator.cs). It&#039;s long, so I will try to read through it, with a few questions on small points. <br />First one -- What is the WayPoint class for, what does it do? <br />Second -- where does the loop through the Bars happen? I&#039;d like to pass the highest floating PL and an activation boolean for each bar in the position to calculate a trailing stop. So far, I have added a couple properties to the Position class for that, just trying to figure out how to get the stop value to pass along with each Transfer order.<br />Thanks</p>]]></content>
			<author>
				<name><![CDATA[krog]]></name>
				<uri>https://forexsb.com/forum/user/1692/</uri>
			</author>
			<updated>2011-04-02T00:06:16Z</updated>
			<id>https://forexsb.com/forum/post/8826/#p8826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8762/#p8762" />
			<content type="html"><![CDATA[<p>The default condition of the Permanent SL and TP is &quot;Relative&quot;. It corresponds to the older FSB versions and the current FST. Basically it means that any modification of an open position (adding, reducing ...) changes also the SL and TP levels. SL and TP are relevant to the last modification order.</p><p>Contrary to that behaviour, the &quot;Absolute&quot; type of SL or TP makes them unchengiable until the position is closed. In that way, the TP and SL are set when we open a position and further adding or reducing doesn&#039;t change them.</p><p>Actually you can see the difference between both options only when the strategy adds or reduces a position. Reversing a position is equal to close and open a new one in the opposite direction, therefore FSB applyes new TP and SL levels.</p><p>&quot;Absolute&quot; option is not compativble with the current FST.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2011-03-27T05:50:31Z</updated>
			<id>https://forexsb.com/forum/post/8762/#p8762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8761/#p8761" />
			<content type="html"><![CDATA[<p>Hello Mr Popov,<br />in the ToDo.txt, it has:</p><p>Permanent Protection Type:<br />v Absolute and Relative Permanent SL / TP</p><p>(v means done) but what is the &quot;Relative SL / TP&quot;? Is this similar to the &quot;Profit Protection&quot; concept from Nicholas K from this thread: <br /><a href="http://forexsb.com/forum/topic/1489/trailing-stop-take-profit-stop-loss-along-with-other-closing-logic/">http://forexsb.com/forum/topic/1489/tra … ing-logic/</a><br />His idea: after a certain level of profit (one parameter), if the profit drops a certain percentage (second parameter) from the peak profit of the position, it exits. Is this similar?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[krog]]></name>
				<uri>https://forexsb.com/forum/user/1692/</uri>
			</author>
			<updated>2011-03-27T01:08:26Z</updated>
			<id>https://forexsb.com/forum/post/8761/#p8761</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Forex Strategy Builder source code]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/8658/#p8658" />
			<content type="html"><![CDATA[<p>The source code of Forex Strategy Builder is available through GitHub.com <a href="https://github.com/PopovMP/Forex-Strategy-Builder">https://github.com/PopovMP/Forex-Strategy-Builder</a>.</p><p>Please read the <a href="http://forexsb.com/wiki/develop/fsb-source-license">FSB Source Code License Agreement</a> before start exploring the project.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2011-03-19T19:44:59Z</updated>
			<id>https://forexsb.com/forum/post/8658/#p8658</id>
		</entry>
</feed>
