<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Filter non-linear balance pattern]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5905/" />
	<updated>2018-06-09T09:49:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5905/filter-nonlinear-balance-pattern/</id>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50829/#p50829" />
			<content type="html"><![CDATA[<p>Explored the reported problem. It appeared that the strategy records come to the Collection with preset Acceptance Criteria status. The Collection itself cannot recalculate all strategies as EA Studio can and cannot update the strategy status once they are added. However, and workaround is possible as ever <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Here is how you can re-validate the Collection content in two steps.<br />&nbsp; 1. Save the Collection to a file and release it from the FSB pro memory.<br />&nbsp; 2. Calculate the complete Collection file with the Multi Tester</p><p>Now you can switch on the &quot;Strategies fulfill the Acceptance Criteria&quot; option in the Collections page. It will hide the strategies that do not pass.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-06-09T09:49:42Z</updated>
			<id>https://forexsb.com/forum/post/50829/#p50829</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/50156/#p50156" />
			<content type="html"><![CDATA[<p>Independent from this bug which still seems to be there, I have created my own version of a more meaningful balance line deviation calculation now, here it is for download: <a href="https://forexsb.com/forum/post/50155/#p50155">https://forexsb.com/forum/post/50155/#p50155</a></p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-04-12T08:25:37Z</updated>
			<id>https://forexsb.com/forum/post/50156/#p50156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49546/#p49546" />
			<content type="html"><![CDATA[<p>Thank you for reporting this problem again. I added it to my ToDo list.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2018-03-12T07:48:41Z</updated>
			<id>https://forexsb.com/forum/post/49546/#p49546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/49545/#p49545" />
			<content type="html"><![CDATA[<p>Wow, this bug is STILL not fixed, almost exactly 2 years after I had reported it! I´ve been showing FSB Pro to a friend today and was sure this was fixed meanwhile as it is a critical point, but still the &quot;Strategies fulfil Acceptance Criteria&quot; is being ignored for strategies in the Repository. It works during generating strategies, but still broken for the Repository and not just for the &quot;Filter non-linear balance pattern&quot;, but also all other items. For example, go and raise the &quot;Minimum count of trades&quot; in Control Panel -&gt; Acceptance Criteria to 1 million(!), then go back to the Repository and see that it filters out nothing still, although none of my strategies has 1 million trades!</p><p>I was very disappointed to see that this bug still exists after 2 years, this doesn´t make a good impression on the software at all and my friend who was ready to purchase it, decide to not do so after seeing this kind of slowness / ignorance on obvious bugs on functionality that he needs to work. That´s rather sad for everyone involved. Hope you will change your business practices in the future, Popov, not fixing a bug for 2 years is a clear killer for potential new customers, as you can see.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2018-03-12T04:40:32Z</updated>
			<id>https://forexsb.com/forum/post/49545/#p49545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/43943/#p43943" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>You are right. It looks like the Non-liner balance pattern doesn&#039;t work for the Collections. I&#039;ll check it.</p></blockquote></div><p>I am just trying the latest version on my new computer and noticed that this sitll does not seem to be fixed after over a year since I´ve reported this bug? The non-linear balance pattern works fine for strategy generating, but has no effect if used within the &quot;Collections&quot;, although &quot;Strategies fulfil Acceptance Criteria&quot; is set there. Can you please fix this?</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2017-05-28T21:51:08Z</updated>
			<id>https://forexsb.com/forum/post/43943/#p43943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34679/#p34679" />
			<content type="html"><![CDATA[<p>Thanks. I´ve been trying hard, but can´t seem to get it to work there. Then again it might be another fault I am doing that I am missing. But good to hear you are looking into it.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-14T21:37:17Z</updated>
			<id>https://forexsb.com/forum/post/34679/#p34679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34678/#p34678" />
			<content type="html"><![CDATA[<p>You are right. It looks like the Non-liner balance pattern doesn&#039;t work for the Collections. I&#039;ll check it.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2016-03-14T21:05:03Z</updated>
			<id>https://forexsb.com/forum/post/34678/#p34678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34674/#p34674" />
			<content type="html"><![CDATA[<p>Hi Mr. Popov,</p><p>I´ve tried to change the filter to 1% in the strategy repository to filter strategies that don´t match the non-linear balance pattern AFTERWARDS. I´ve checked &quot;Strategies fulfil Acceptance Criteria&quot;, and set the filter to 1%, still it filters nothing in the repository. It seems like the filter has no effect in the repository on already generated strategies at all, even if the &quot;Strategies fulfil Acceptance Criteria&quot; is checked. Can you confirm this as a bug?</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-14T18:47:32Z</updated>
			<id>https://forexsb.com/forum/post/34674/#p34674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34632/#p34632" />
			<content type="html"><![CDATA[<p>Yes, filter could be renamed to &quot;Filter non-linear equity curve pattern&quot; and be based on net profit instead of balance. That would be nice and not confusing anymore and we can change the account balance in the settings and can still keep the same % for the filter, as it will not be affected by the initial balance anymore.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-11T10:45:16Z</updated>
			<id>https://forexsb.com/forum/post/34632/#p34632</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34630/#p34630" />
			<content type="html"><![CDATA[<p>I agree, can we have another type of non-linear filter that measures deviation from the ideal linear graph, it would be useful to search for stability and consistency in EA&#039;s performance.&nbsp; </p><p>As a layman (without referring to the guide), I would have made the same assumption as Geektrader too.</p>]]></content>
			<author>
				<name><![CDATA[hannahis]]></name>
				<uri>https://forexsb.com/forum/user/2809/</uri>
			</author>
			<updated>2016-03-11T10:30:36Z</updated>
			<id>https://forexsb.com/forum/post/34630/#p34630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34629/#p34629" />
			<content type="html"><![CDATA[<p>Yes, I see that, but why not just use the net profit / equity growth of the strategy gains instead of the whole account balance? This would make the filter independent from the initial balance the user sets in the account settings.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-11T10:10:05Z</updated>
			<id>https://forexsb.com/forum/post/34629/#p34629</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34628/#p34628" />
			<content type="html"><![CDATA[<p>It is described in the <a href="http://forexsb.com/wiki/fsbpro_guide/acceptance_criteria">Acceptance Criteria</a> article in the user guide.</p><p>The balance line pattern and the Net profit are completely different criteria that can work together. This is the exact example in the guide.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2016-03-11T09:57:11Z</updated>
			<id>https://forexsb.com/forum/post/34628/#p34628</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34627/#p34627" />
			<content type="html"><![CDATA[<p>OK, great, but not everyone is a coder here I guess and it should be documented how this filter works. Maybe you could also simply change it to use the net profit of the strategy instead of the balance for the next update? Would make a lot more sense, since it wouldn´t be affected by balance changes the user might do in the account settings and then wonder why the filter out of sudden doesn´t filter anymore like it did before with another initial balance.</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-11T09:37:51Z</updated>
			<id>https://forexsb.com/forum/post/34627/#p34627</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34626/#p34626" />
			<content type="html"><![CDATA[<p>The balance line pattern has no connection with the profit. <br />You can see the formula in the AccountStatistics.cs file at &quot;C:\Program Files\Forex Strategy Builder Pro\User Files\Code&quot; folder.</p><div class="codebox"><pre><code>private double CalculateMaxSmoothBalanceDeviationPercent(IBacktester backtester)
{
    var firstBar = backtester.Strategy.FirstBar;
    var bars = backtester.DataSet.Bars;
    const int checkPoints = 100;
    var netBalance = NetMoneyBalance;
    double startBalance = backtester.Profile.InitialAccount;
    double maxDeviationPercent = 0;

    for (var i = 1; i &lt;= checkPoints; i++)
    {
        var bar = (int) (firstBar + i*((bars - firstBar)/(checkPoints + 1.0)));
        var checkPointBalance = backtester.MoneyBalance(bar);
        var targetBalance = startBalance + i*(netBalance - startBalance)/(checkPoints + 1.0);
        var deviationPercent = Math.Abs((targetBalance - checkPointBalance)/targetBalance);
        if (maxDeviationPercent &lt; deviationPercent)
            maxDeviationPercent = deviationPercent;
    }

    return maxDeviationPercent;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2016-03-11T09:27:50Z</updated>
			<id>https://forexsb.com/forum/post/34626/#p34626</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filter non-linear balance pattern]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/34622/#p34622" />
			<content type="html"><![CDATA[<p>Uh? You calculate that from the BALANCE instead of the net profit of the actual strategy? That makes kind of few sense to me to be honest. We want to have a stable equity growth of the NET Profit of the strategy in my opinion, since we want to measure the strategy, not the overall balance growth as changing the initial deposit in the account settings would then also always affect that filter (which it does as I see).</p><p>I honestly never saw the stability calculated on the balance in any kind of trading platform. But OK, good to know you do it that way, it´s documented nowhere from what the deviation is calculated, so how should I know? If I´d have known this, I would have stick to the &quot;facts&quot;. Should I report further bugs&nbsp; / strange findings or is this stealing to much of your time?</p>]]></content>
			<author>
				<name><![CDATA[geektrader]]></name>
				<uri>https://forexsb.com/forum/user/1841/</uri>
			</author>
			<updated>2016-03-11T08:56:04Z</updated>
			<id>https://forexsb.com/forum/post/34622/#p34622</id>
		</entry>
</feed>
