<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Robustness testing]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/8367/" />
	<updated>2020-06-17T21:04:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/8367/robustness-testing/</id>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61243/#p61243" />
			<content type="html"><![CDATA[<p>No problemo Minch :-)</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-06-17T21:04:43Z</updated>
			<id>https://forexsb.com/forum/post/61243/#p61243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61242/#p61242" />
			<content type="html"><![CDATA[<p>Thank you so much, Rich! That&#039;s more than enough info for me to build on and I really appreciate your time and comprehensive replies. Time to get to work <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>Matthew</p>]]></content>
			<author>
				<name><![CDATA[Minch]]></name>
				<uri>https://forexsb.com/forum/user/11305/</uri>
			</author>
			<updated>2020-06-17T16:42:32Z</updated>
			<id>https://forexsb.com/forum/post/61242/#p61242</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61183/#p61183" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hannahis wrote:</cite><blockquote><p>Excellent post Rich!</p></blockquote></div><p>Cheers H :-)</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-06-13T23:35:23Z</updated>
			<id>https://forexsb.com/forum/post/61183/#p61183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61174/#p61174" />
			<content type="html"><![CDATA[<p>Excellent post Rich!</p>]]></content>
			<author>
				<name><![CDATA[hannahis]]></name>
				<uri>https://forexsb.com/forum/user/2809/</uri>
			</author>
			<updated>2020-06-13T10:48:45Z</updated>
			<id>https://forexsb.com/forum/post/61174/#p61174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61170/#p61170" />
			<content type="html"><![CDATA[<p>Hi Minch :-)</p><p>Mate...the guidance given was simply a way to try to adapt the methods of EA studio to the workflow process I undertake within MT4. I have tried to mimic what I do within MT4 using EA Studio....but unfortunately I can&#039;t fully achieve this. But I get a result that isn&#039;t too different.....so that being said.......</p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>1. I think you had mentioned to set a Preset Indicator (e.g. MA) on all trades and then have another indicator as a confirmation. Do you suggest I optimise the preset moving average crossover or just keep this to a standard (eg 20/50)? Update: We can use some presets for identifying trends (MA, Donchian, MACD, RSI etc) and then Data mine the third indicator. Put together 8 combinations for the first 2 set indicators.</p></blockquote></div><br /><p>I tend to choose a preset configuration in my entry rules such as a Donchian 200 with an ADX condition (rising) and turn off all exit rules....but ensure that I have the fixed stop and trailing stop (where the trailing stop is always greater than the fixed stop to create divergent outcomes) applied to all outcomes and then run the Generator around this. I need to include a single additional entry rule variable into the mix to allow the process to run within EA Studio. The result is that the Donchian 200 and ADX rising condition is included in all solutions....and then we get variation about the stop, trailing stop and additional 3rd entry rule variable.</p><p>I then create a collection which is saved into a file titled Donch Breakout 200 Variations.</p><p>I then create another collection where I change the Donch lookback from 200 to say 500 and go again to generate different solutions with a longer term lookback.</p><p>I would apply this to a number of simple trend following models that are readily available in the literature of the professional FM&#039;s and use this as a basis to get variation (system diversification) around a few core principles that I know stack up over a very large data sample.</p><p>Having a pre-defined core logic that you can clearly see would work in a broad range of different trending market conditions is a significant step to avoiding a curve fit result. The additional parameters and differing value sets is simply a way to diversify around this core logic. A pre-set design is the way we can be confident that you do not have to go overboard in testing for robustness using methods such as Monte Carlo etc. All we need is a large trade sample size and a method to see whether our solution actually captures trending market conditions. I do this by mapping the equity curve of our result against the market data (called Map to Market). </p><p>Monte Carlo is advised when you cannot clearly see an edge playing out and need a method to attempt to extract an edge when visual clues are lacking....hence is a valid approach for convergent strategies such as &#039;mean reversion&#039; when applied over a particular market condition. For example during more stationary market conditions (non-trending periods), it is not visually evident whether the stationary market condition is a result of noise or a mean reverting tendency. In that case you use Monte Carlo as a method to determine which is which.<br />&nbsp; <br /></p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>2. For the confirmation indicator, are we using all the available indicators in EA Studio or just a handful of the trend following ones, e.g RSI, MACD and a volume indicator like MFI (although that&#039;s only broker volume, not market volume)</p></blockquote></div><br /><p>Just use the ones that make sense from a trend following logic. Particularly those that look for momentum breaks in addition to the core rules defined with the presets. It is essential that the logic of the solution is tied to the market condition. So do not use any additional entry variables that do not have meaning to you. Ideally we want fewer variables as opposed to more. You could drop the ADX preset and include the ADX in the entry rules....so that you get variation around that.</p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>3. Optimise but loosely, e.g. 40 steps is OK? Am I also optimising any of the presets or keeping these as static and letting the data mining work out the difference approach (e.g I use 100/200 MA crossover + Donchian Breakout at a set level + a data mined third option ) ... After all we are trying to avoid a tight overfit.</p></blockquote></div><p>I personally do not use the optimisation. I turn it off. IMO it is not relevant to trend following methods that work off a general market principle. You do not want a curve fit result of many parameters but rather a result that applies to a general market condition such as a simple linear equation with a slope.</p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>4. We would be looking for a good RDD (0.5 for each year, minimum) but ... is a balance line stability / R Squared ( minimum 60) also useful - what do you think?</p></blockquote></div><p>I just look for good RDD while I data mine. A smooth equity curve is applied at the end of the process where I compile a portfolio together of robust return streams. Over long term trade samples, volatility is embedded in all my return streams....so at the end of the process this is where I compile the result using &#039;market mapping methods&#039; to produce an uncorrelated result that makes sense against the market condition it is applied against.</p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>5. And now there is no Monte Carlo ... I would be testing robustness with Multi Multi market. I assume the more markets it passes the better, and the criteria should be as strict in terms of RDD/Balance Stabilty or just the standard setting (which is, offhand, just having a minimum net profit above zero) ... do you think passing 2 markets at above zero profit is a passing grade (minimum) or basically the more the better?</p></blockquote></div><p>This is where it gets difficult with EA studio. Multimarket with EA studio offers some help but you really need to normalise your return streams to get the full benefits from multi-market.</p><p>You will find that a larger data sample makes it easier to pass the multi-market test provided that your validation criteria is set to achieving a slight positive expectancy. This is because over long term data sets of say 20-35 years or so....every liquid market has trending periods at varying points of time. The significant returns that are generated when markets decide to trend really build up those equity reserves and allow you to survive for extended periods when markets are not trending. You won&#039;t see this effect with small sample sizes.</p><p>Use long term data....tie to design logic to the market condition and diversify...diversify....and diversify.</p><p>Cheers</p><p>Rich</p><p>PS Mate...I am only giving my opinion here mate.....so best to test all these conclusions of mine yourself.</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-06-13T02:44:32Z</updated>
			<id>https://forexsb.com/forum/post/61170/#p61170</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/61127/#p61127" />
			<content type="html"><![CDATA[<p>Hi Rich </p><p>This is such good advice and interesting background reading, thank you very much again for a comprehensive and thought-provoking update. </p><p>I am becoming more and more convinced to leave behind my predictive approach altogether and perhaps even scrap the hybrid predictive/trend in favour of a purely trend following system. This is due to the following: </p><p>1. The general themes mentioned in the last few posts suggest that convergent strategies are more volatile over the long term; make less use of a compounding approach over time; increase general risk of ruin; do not perform well in trending/divergent markets (and I read somewhere that markets tend to trend the majority of the time - even lacking a % figure to apply to that statement, just look at any 1Month chart to see that quite clearly) - and so on. </p><p>2. I want to be as diversified across currencies as I can be, so having to re-optimise 100 strategies on a quite a slow computer every month is going to mean Im constantly on my PC (which for me defeats the purpose of having an automated strategy - to some extent, I would be happier with average returns for less need to be watching my screen)</p><p>3. Originally, I really liked the look of 1H charts and was trying to get some predictive strategies on those, but the lack of ATR stop loss and the issue I just found out about not having the function of trailing stop losses in the portfolios - make me more uncomfortable in trading that timeframe now. I think moving to a D1 timeframe is the logical choice because then I can have an initial stop loss, but have the time to manually amend it to ATR or TSL at the broker level the next day then I can sit back and watch it play out. </p><p>So, if that&#039;s OK - a couple of questions about finding divergent strategies with EA Studio</p><p>1. I think you had mentioned to set a Preset Indicator (e.g. MA) on all trades and then have another indicator as a confirmation. Do you suggest I optimise the preset moving average crossover or just keep this to a standard (eg 20/50)? Update: We can use some presets for identifying trends (MA, Donchian, MACD, RSI etc) and then Data mine the third indicator. Put together 8 combinations for the first 2 set indicators. </p><p>2. For the confirmation indicator, are we using all the available indicators in EA Studio or just a handful of the trend following ones, e.g RSI, MACD and a volume indicator like MFI (although that&#039;s only broker volume, not market volume) </p><p>3. Optimise but loosely, e.g. 40 steps is OK? Am I also optimising any of the presets or keeping these as static and letting the data mining work out the difference approach (e.g I use 100/200 MA crossover + Donchian Breakout at a set level + a data mined third option ) ... After all we are trying to avoid a tight overfit. </p><p>4. We would be looking for a good RDD (0.5 for each year, minimum) but ... is a balance line stability / R Squared ( minimum 60) also useful - what do you think? </p><p>5. And now there is no Monte Carlo ... I would be testing robustness with Multi Multi market. I assume the more markets it passes the better, and the criteria should be as strict in terms of RDD/Balance Stabilty or just the standard setting (which is, offhand, just having a minimum net profit above zero) ... do you think passing 2 markets at above zero profit is a passing grade (minimum) or basically the more the better? </p><p>Your guidance would be really appreciated but I will also check back on the original post so Im not repeating my questions o what might have been covered -</p><p>Cheers, <br />Matthew</p>]]></content>
			<author>
				<name><![CDATA[Minch]]></name>
				<uri>https://forexsb.com/forum/user/11305/</uri>
			</author>
			<updated>2020-06-11T14:24:13Z</updated>
			<id>https://forexsb.com/forum/post/61127/#p61127</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60993/#p60993" />
			<content type="html"><![CDATA[<p>Some words of Wisdom from David Druz on trend following.....a very respected &#039;thinker&#039; in the world of Funds Management :-)</p><p><span class="postimg"><img src="https://atstradingsolutions.com/wp-content/uploads/2020/06/David-Druz.png" alt="https://atstradingsolutions.com/wp-content/uploads/2020/06/David-Druz.png" /></span></p><p>David Druz is a long-time trend follower who was the first mentee of Ed Seykota. He has run Tactical Investment Management since the early 1980&#039;s. Here are some of his nuggets of wisdom:</p><p>“There are whole families of trend trading ideas that seem to work forever on any market. The down side is they are very volatile because they are never curve-fit. They&#039;re never exactly fit to any particular market or market condition. But over the long run, they do extract money from the market.”</p><p>“Robust systems tend to be designed around successful trading tactics (origin of our &#039;Tactical&#039; name) classical money management techniques, and universal principles of market behaviour. These systems are not designed for specific types of markets or market action. And here is the amazing thing about robust systems: The more robust a system, the more volatile it tends to be!</p><p>This is because robust systems are not optimized to particular markets or market conditions. The converse is also true. You can design systems with excellent returns and low volatility on historical testing, but which only work for given periods in given markets. These systems tend to be curve-fit or market-fit and are not robust.”</p><p>&quot;Successful traders rely on a small number of very profitable trades to compensate for several smaller losses.&quot;</p><p>&quot;You have to keep trading the way you were before the drawdown and also be patient. There’s always part of a trader’s psyche that wants to make losses back tomorrow. But traders need to remember you lose it really fast, but you make it up slowly. You may think you can make it up fast, but it doesn’t work that way.&quot;</p><p>&quot;For a system trader, it&#039;s way more important to have your trading size down than it is to fine tune your entry and exit points.&quot;</p><p>To many, the points made here aren&#039;t very exciting or new - but form the essence of trend following. </p><p>It is also interesting seeing how Druz talks about robustness and volatility. Basically, the simpler the method, the better the long-term results, BUT you will have more losers than winners and be prone to suffering a higher level of volatility in your returns.</p><p>In this regard, the performance record of long-time trend followers Dunn Capital is worthy of mention. In a 40 year period going back to the mid 1970&#039;s they suffered twelve drawdowns of 25% or more. And yet each time they carried on doing the same thing and ended up making new equity highs.</p><p>They didn&#039;t change anything - they just continued acting on their signals and adopting the same risk profile. And then things just started to happen - seemingly out of nowhere. With trend following you will often see a strong burst of performance after a run of losing trades and a drawdown, and a powering up to new equity highs. And it may only take one or two trends to do that.</p><p>It&#039;s just they way it works.</p><p>Source: https://www.thetrendfollower.com/2020/05/some-words-of-wisdom-from-david-druz.html</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-06-04T05:46:12Z</updated>
			<id>https://forexsb.com/forum/post/60993/#p60993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60987/#p60987" />
			<content type="html"><![CDATA[<p>Morning Minch :-)</p><div class="quotebox"><cite>Minch wrote:</cite><blockquote><p> </p><p>Im finding it easier to reduce from 500 strategies down to 50 or so using Monte Carlo so these are my Predictive (converging) strategies and - is this what you mean (from an earlier post) about mean-reverting, i.e. Monte Carlo and Walk Forwards and these strategies needing to be optimised fairly often? The walk forwards only tells me how decent the strategy is in terms of re-optimising so if I wanted to find completely new strats after a few months, I could forego that stage.</p></blockquote></div><p>You got it mate :-)</p><br /><p>Walk Forward techniques were originated by Rob Pardo as a &#039;final&#039; process method to statistically evaluate the degree of optimisation required for a particular &#039;convergent&#039; strategy based on past in sample performance <strong>against a particular class of market condition</strong>. Unfortunately it has been taken by many as a proxy for more comprehensive robustness testing across all forms of trading strategy (divergent or convergent). </p><p>Optimisation works two ways. It can make a bad &#039;convergent&#039; strategy look good and a good &#039;convergent&#039; strategy look bad. The intent of walk forwards is to assess whether it made a profit in the Walk Forward OOS phase....but more important and subtly it measures the pace of walk-forward efficiency. This therefore provides a basis to assess how often you should re-optimise your strategy.</p><p>This is used as a basis to <strong>reduce the need</strong> to &#039;turn on and turn off strategies based on their performance&#039; and rather let strategies run with a degree of statistical confidence that have high walk-forward efficiencies.</p><p>You will find with convergent strategies that your long term success with this approach is tied to how often your strategies&nbsp; underperform or outright fail..... as opposed to the degree of success achieved when your convergent models work well. </p><p>The final arbiter of whether you achieve positive expectancy over the long run with convergence tends to correlate with the degree to which you need to switch strategies or turn them off. The time you decide to turn them off, is typically when the convergent strategies are underperforming. The summated costs of all those times when they underperform over the Law of Large numbers has a significant impact on your returns. This is what I refer to as the &#039;hidden&#039; costs of switching strategies. </p><p>I actually cannot find validated long term track records of professional FM&#039;s that specialise in convergence. They may be extremely successful over say 5-10 years....but then I lose trace of them. Rob Pardo is very confident about his techniques....but I simply can&#039;t seem to get on his wave. </p><p>What I have found....as a fundamental quest for &#039;data mining&#039; is that the trading strategies themselves are really just a means to a bigger end. They are tools you use as a method to lift your performance to the point when returns start to <strong>benefit from the principles of compounding</strong>. The&nbsp; key thing here is to consider your trading strategies as the tool to generate sufficient positive expectancy to the point where compounding can then take over and compound your wealth. </p><p>Convergent strategies have a finite shelf life and their deployment can actually lead to horrible long term performance through their continual failures and resultant volatile impact on your equity curve. Their short term performance over favourable conditions is a &#039;trap&#039; to traders that attracts them like flies. You need to assess performance over say a 20 year period where compounding wealth has a major impact. </p><p>If you see the &#039;true long term 20 year chart of a convergent system...many of them actually meet risk of ruin&#039; when conditions become unfavourable. This means the skill to convergence is the degree to which you are successful in &#039;timing&#039; and &#039;selection&#039;. For example...to know when your strategy is approaching risk of ruin or simply naturally underperforming.....and then to find an alternative &#039;strong performer&#039; to switch to. </p><p>Unfortunately market conditions can be a significant obstacle to achieving this &#039;timing&#039; and &#039;selection&#039; outcome particularly when they remain divergent for long periods of time. </p><p>The real &#039;volatile&#039; nature of convergent equity curves over the long term (from strategy hopping and risk of ruin) suppresses as opposed to reinforces the principles of compounding. Divergence on the other hand may look volatile over the short term...but is far more enduring and less volatile long term. They provide a method for you to get to a point in your trading career where compounding starts exerting it&#039;s emphasis and your wealth building returns start to soar.</p><p>So there is a real &#039;sting in the tail&#039; to convergence that you need to be aware of.</p><p>In regards to trading the &#039;hybrid&#039; approach....just be aware of the &#039;negative skew&#039; that lies in convergence and continuously keep your eye on those convergent strategies. It is the negative skewed nature of convergence that compromise a portfolio when things get ugly. Negative skew is found in those strategies that have &#039;many small wins and the occasional large loss&#039; during favourable conditions.&nbsp; The &#039;occasional large loss&#039; is a warning sign for a portfolio. If those occasions become more frequent when conditions remain unfavourable, a single return stream with a sequence of large losses can totally compromise the total portfolio.</p><p>Cheers mate</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-06-04T00:19:30Z</updated>
			<id>https://forexsb.com/forum/post/60987/#p60987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60986/#p60986" />
			<content type="html"><![CDATA[<p>Yep - and I see you did answer my question earlier in the thread: </p><p>The rationale above renders the Monte Carlo and WFT test as unnecessary and counterproductive for robustness testing of trend following systems. For example the process of segmenting your data history into equal segments for WFT assumes that performance is consistent across each segment. This is appropriate for systems designed to capture a &#039;<strong>convergent&#039; repeating market condition such as mean reversion</strong>....but ineffective for &#039;<strong>divergent&#039; methodologies such as trend following</strong> as your performance is unpredictable and dictated when markets decide to trend.</p>]]></content>
			<author>
				<name><![CDATA[Minch]]></name>
				<uri>https://forexsb.com/forum/user/11305/</uri>
			</author>
			<updated>2020-06-03T19:05:56Z</updated>
			<id>https://forexsb.com/forum/post/60986/#p60986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60985/#p60985" />
			<content type="html"><![CDATA[<p>Hi Rich, </p><p>Thank you very much for that explanation, I believe I followed most of it but Im going to bookmark it and keep it in mind moving forwards.</p><p>Appreciate also the explanation of MAR - I have been using Return Draw Down as a benchmark already and my acceptance criteria is 0.5 RDD per year in the backtest, which seems to work well. CAGR makes sense as well since that is the compounded figure, could be nice to have that metric offered in the software but, if it&#039;s not, then easy enough to calculate. </p><p>My approach is definitely a blended one, then. </p><p><em>Im finding it easier to reduce from 500 strategies down to 50 or so using Monte Carlo so these are my Predictive (converging) strategies and - is this what you mean (from an earlier post) about mean-reverting, i.e. Monte Carlo and Walk Forwards and these strategies needing to be optimised fairly often? The walk forwards only tells me how decent the strategy is in terms of re-optimising so if I wanted to find completely new strats after a few months, I could forego that stage.</em></p><p><em>If I got that right, then the other approach would be the divergent strategy, using multi market and something like a trend following strategy, optimised in a fairly &quot;loose&quot; way (if at all) and based on as long a data range as possible? </em></p><p>If I can get my TSL and TP working better, I will trade H1 with the hybrid approach for data; and then set up a D1 trend following strategy, with wider TSL and TP. </p><p>Anyway, I am certainly having fun to experimenting with each approach - my blended strategies are giving me decent entry points but there has been an issue with the Stop Losses not triggering and I have to check back on each portfolio to see what I entered. I want to try a trailing stop loss (at 50) then a take profit at 150. I will likely sell half the position at 100 to lock in some profit, if it goes my way.This would certainly help with my money management - my hybrid approach is getting some decent overall win rates (but which mean nothing if you cant keep the profit!) </p><p>CADCHF&nbsp; &nbsp; 100%<br />EURGBP&nbsp; &nbsp; 67%<br />AUDNZD&nbsp; &nbsp; 63%<br />AUDCAD&nbsp; &nbsp; 56%<br />USDCAD&nbsp; &nbsp; 55%<br />EURUSD&nbsp; &nbsp; 54%<br />EURCHF&nbsp; &nbsp; 38%<br />GBPUSD&nbsp; &nbsp; 35%<br />AUDUSD&nbsp; &nbsp; 0%</p><p>But I see also what you mean about portfolio heat ... I assume that means how many trades are on at the same time, and I seem to be averaging about 10 on the go, so when one goes awry, it tends to take the whole lot down with it - especially with no stop loss - I was up 10% from my original demo investment last week, now Im -5% ... But that&#039;s fine since it&#039;s all part of the process of improvement and understanding and what the demo account is for</p>]]></content>
			<author>
				<name><![CDATA[Minch]]></name>
				<uri>https://forexsb.com/forum/user/11305/</uri>
			</author>
			<updated>2020-06-03T19:01:01Z</updated>
			<id>https://forexsb.com/forum/post/60985/#p60985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60927/#p60927" />
			<content type="html"><![CDATA[<p>All this talk about convergence and divergence can be confusing but for those interested in harvesting an edge in today&#039;s modern efficient markets, the following diagram (of the typical market distribution of returns for a liquid instrument such as the S&amp;P500) tells the story and is an invaluable guide towards your data mining efforts.</p><p><span class="postimg"><img src="https://atstradingsolutions.com/wp-content/uploads/2020/05/Distribution-of-Returns.png" alt="https://atstradingsolutions.com/wp-content/uploads/2020/05/Distribution-of-Returns.png" /></span></p><p>The market distribution of returns shows through the Law of Large Numbers where an edge resides in the market data itself and reveals why there are only two broad forms of approach that can harvest an edge made available by the market. </p><p>Convergent methodologies focus on the &#039;finite&#039; peaks of the distribution, whereas Divergent methodologies focus on the &#039;unbounded&#039; &#039;tails of the distribution. All results that arise from harvesting returns that plot within the normal distribution can simply be attributed to &#039;luck alone&#039;. It is the non-normal zones of the market distribution where you need to invest your efforts if you want to be classed as a trader as opposed to a mere gambler.</p><p>Convergence relates to the edge that can be achieved when markets are fairly predictable in nature for a finite duration and oscillate around a central tendency (quasi-equilibrium)....whereas Divergence relates to the edge associated with market uncertainty arising from unpredictable market transitions (directional moves of endurance) between states of quasi-equilibrium.</p><p>Most traders are attracted to the lure of &#039;convergence&#039; as they like to be &#039;right&#039; about their predictions, but these conditions are finite in nature, require a concentrated strategy and if risk is not managed well, is the downfall of these trading solutions.....but seasoned traders that can manage risk at all times and diversify widely (across many different market distributions) know that the bounty arising from the &#039;unbounded&#039; upside leads to long term wealth and sustainability....but you have to recognise that you will be wrong &#039;most&#039; of the time.</p><p>It is not whether you are right most of the time and wrong less of the time. What matters is the degree of that rightness and wrongness. Your long term fate in this game ultimately is decided by the outlier events you experience in life. They can either be massive &#039;wrongs&#039; that lead to the graveyard or massive &#039;rights&#039; that lead to your fortunes.</p><p>How you fare in this game with the Law of Large numbers is ultimately decided by where you direct your efforts w.r.t the market distribution of returns.</p><p>Contrary to popular opinion, it is the market that determines your ultimate fate.....not your system. Your system is the method you use to constrain your options to those that (with the Law of Large numbers) harvest the &#039;arbitrage&#039; that is made available by the market condition. A small sample of trades tells you nothing about your sustainable venture into the Law of Large numbers....but the next 1000 trades certainly tell you something that is more than &#039;nothing&#039;.</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-05-31T01:53:44Z</updated>
			<id>https://forexsb.com/forum/post/60927/#p60927</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60923/#p60923" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Minch wrote:</cite><blockquote><p>1 What is MAR? <br />2 Do you think strategies which pass 50 monte carlo at 95% &amp; multi market are not trend or momentum but could be OK as really general strategies? </p><p>Last point - not over optimising for trend strategies and, when you do, using a large gap is something I had not thought of. Perhaps I will start that approach for my D1 strategies when I get to that point. Until then, let&#039;s hope the ATR is something forthcoming soon. </p><p>Thanks, <br />Matthew</p></blockquote></div><p>Hi Minch. Welcome to the world of data mining. All of us have stories we can tell about our experiences but the truth of the matter is that you need to treat all these stories with a grain of salt and build those mental models yourself through your research efforts.</p><p>You will find that this is a game of risk:return trade-offs where many are under the false assumption that a particular solution has a definitive edge. Positive expectancy is never a guarantee and is bound within confidence intervals for a particular duration. Furthermore there are ways in which you convince yourself through manipulating it&#039;s variables such as the Win Rate and Reward to Risk to gain an impression that you have a statistically robust solution with an edge. A win rate of 80% means nothing unless counter-balanced with the Return to Risk relationship. It is simply a nice &#039;psychological&#039; pipe dream that you win more times that you lose....as the more fundamental truth is the long term result of your PL. So this is why I trade divergent models as they have an enduring impact to your long term success in this game which can be backed up by validated track records of professional FM&#039;s who specialise in this game of risk.</p><p>The only way you are going to make sense of this minefield is through your own efforts but that is why this game is so addictive. But always question everything you do and closely look at all your assumptions as this is typically where the errors are found in an quantitative approach.&nbsp; :-)</p><p>MAR is a risk adjusted metric which uses the Compound Annual Growth Rate % divided by the Maximum Drawdown in %&nbsp; &nbsp;=&nbsp; (CAGR/Max Draw %)</p><p>It is a representative benchmark measure used to compare the relative performance between return streams which is not materially affected by leverage (aka position sizing). </p><p>We can always scale up a good return stream with a high MAR using position sizing, so the metric allows us to find the better return streams that deliver best return $bang for your risk $buck.</p><p>EA studio does not currently have MAR but you can use Return/Drawdown as a proxy....however the use of CAGR normalises results so you can compare and contrast different return streams of different duration.</p><p>You can calculate CAGR using Excel with the function &quot;rate&quot; where you nominate the number of compounding periods, the present value and final value of the return stream.</p><p>In regards to the Monte Carlo question....IMO this process is not recommended for divergence where multi-market solutions are preferred....but is appropriate for Convergent methodologies that are looking for equity curve stability for a finite duration. Convergence predates on a particular repeating pattern of market behaviour such as price oscillations etc. that represent &#039;emergent&#039; market patterns of oscillation around an equilibrium or mean tendency.</p><p>Given that you are looking for an &#039;emergent&#039; market behaviour based around a central tendency, then multi-market is not advised as the particular market conditions of convergence are unique to a particular market over a finite duration. If you assume multi-market, then that assumption is based on the notion that all markets concurrently display that particular predictable behaviour.....which is rarely the case and particularly evident when markets are not correlated. They certainly have been more correlated from 2010....but this is no guarantee.</p><p>So if you play with convergence you are after a &#039;concentrated&#039; strategy as opposed to a &#039;diversified&#039; strategy. The use of diversified portfolios is an important prerequisite for trading divergence but can be a huge mistake when trading convergence.</p><p>Portfolios need to be treated very carefully as they, like position sizing, are a method to leverage returns. Having portfolios of convergent solutions can lead to excessive portfolio heat. Divergent methods address this potential to warehouse risk at the portfolio level by always &#039;cutting losses short&#039; and never allowing a single return stream to bring down the whole portfolio. The unfortunate side of convergent methodologies is that the &#039;trade-off&#039; associated with the temporary nice linear equity curve&#039; is the strategies ability to &#039;warehouse risk&#039;. You see this in action when these solutions fall off the cliff when market conditions are no longer convergent in nature. </p><p>Inclusion of convergent systems in your portfolio is like carrying a collection of nitroglycerine around with you.....so beware :-)</p><p>It appears that in your generic method that you may be mining for both divergence and convergence. If you are getting good results....then something must be going right.....but it is so hard determining what is luck versus &#039;edge&#039; and it is also hard to discern how much risk is being held by your strategies.</p><p>It therefore really helps if you can categorise your process into either divergent process or convergent process. The two methods require different approaches in data mining activities to have a better chance of finding solutions with a finite or more enduring edge.</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-05-30T03:16:54Z</updated>
			<id>https://forexsb.com/forum/post/60923/#p60923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60920/#p60920" />
			<content type="html"><![CDATA[<p>Hi, </p><p>Oh blimey, I didn&#039;t realise this discussion went on after the first post! I need to catch up - I just came back to make notes on Rich&#039;s first reply to my question and it took me about a week of percolating to realise I need to change something about my approach. </p><p>It seems I am not clear about which strategy I am trying to find. Currently, I am kind of trying to do everything at once so my results seem a little aimless. I am running the generator; optimising on different criteria; reducing with monte carlo and then eye-sighting the ones I like the look of. I have done 15 currencies so far (10 strategies each) - I have been running this for a few weeks is demo. Im not expecting fireworks, but to learn more and prune the approach as I go along until I find something I am happy with. So far, I have been down 3% and up 11% from the initial investment and I am roughly 52% winning trades. </p><p>From what Rich says, this approach seems neither trend following nor momentum based. I am using 10 years of data only and Im not using multi market at all, for some reason. Although I am looking to try some strategies on multi market and compare the performance. </p><p>Essentially, what I am creating is a very general strategy. Im concentrating on H1 at the moment but I would really like to do D1 trend strategies - but this limited by the lack of ATR functionality, if what I understand is correct. My entry and exit accuracy seems OK to me and where I am losing is (i) where I forgot to put in a SL (duh) and (ii) the perennial issue of letting profits run and stopping losses early. </p><p>To this end, when I make above 100 pips on any trade, I close out half of it and lock in some profit - it has happened a few times already out of 80 trades, so something must be going right - its just the killers when you end up going in the wrong direction. </p><p>I was also thinking of just setting my trailing stop to 50 and taking every profit at 50. I am very happy with a small but steady profit. Learning curve, but two questions : </p><p>1 What is MAR? <br />2 Do you think strategies which pass 50 monte carlo at 95% &amp; multi market are not trend or momentum but could be OK as really general strategies? </p><p>Last point - not over optimising for trend strategies and, when you do, using a large gap is something I had not thought of. Perhaps I will start that approach for my D1 strategies when I get to that point. Until then, let&#039;s hope the ATR is something forthcoming soon. </p><p>Thanks, <br />Matthew</p>]]></content>
			<author>
				<name><![CDATA[Minch]]></name>
				<uri>https://forexsb.com/forum/user/11305/</uri>
			</author>
			<updated>2020-05-29T19:37:49Z</updated>
			<id>https://forexsb.com/forum/post/60920/#p60920</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60685/#p60685" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hannahis wrote:</cite><blockquote><p>Hi Richard,</p><p>Thanks a zillion for your detail explanation of your work process. </p><p>Your insights and knowledge are so precious to all of us and much to learn from you...</p><p>I like your post and always look forward to read more from you because you not only provide analogies (to help us get the bigger picture) but you also provide the details to translate these into concrete steps which are very meaningful to those who are figuring out how to improve their workflow.</p><p>I totally agree with you that getting the profits is the easiest part (make profit).&nbsp; The real hardest part to for the EA to prevent loses (lose money).&nbsp; </p><p>Thus a good EA consist of 2 main components/rules a) Make profit (entry rules to spot trend) and b) prevent loses (entry rules to cut off noise/false entries, this is the hardest part because if our rules are too prescriptive/strict, we eliminate other possibilities but if our rules are too lax, we get too many false entries and hence finding the optimal rule that allows trading opportunities and yet robust to prevent too much loses during stagnation time is really challenging).</p><p>Thanks once again for your generous sharing of your deep insights...</p><p>Much appreciated, Cheers</p><p>Hannah</p></blockquote></div><p>Cheers Hannah :-)</p>]]></content>
			<author>
				<name><![CDATA[ats118765]]></name>
				<uri>https://forexsb.com/forum/user/10668/</uri>
			</author>
			<updated>2020-05-16T16:21:05Z</updated>
			<id>https://forexsb.com/forum/post/60685/#p60685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Robustness testing]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/60684/#p60684" />
			<content type="html"><![CDATA[<p>Hi Richard,</p><p>Thanks a zillion for your detail explanation of your work process. </p><p>Your insights and knowledge are so precious to all of us and much to learn from you...</p><p>I like your post and always look forward to read more from you because you not only provide analogies (to help us get the bigger picture) but you also provide the details to translate these into concrete steps which are very meaningful to those who are figuring out how to improve their workflow.</p><p>I totally agree with you that getting the profits is the easiest part (make profit).&nbsp; The real hardest part to for the EA to prevent loses (lose money).&nbsp; </p><p>Thus a good EA consist of 2 main components/rules a) Make profit (entry rules to spot trend) and b) prevent loses (entry rules to cut off noise/false entries, this is the hardest part because if our rules are too prescriptive/strict, we eliminate other possibilities but if our rules are too lax, we get too many false entries and hence finding the optimal rule that allows trading opportunities and yet robust to prevent too much loses during stagnation time is really challenging).</p><p>Thanks once again for your generous sharing of your deep insights...</p><p>Much appreciated, Cheers</p><p>Hannah</p>]]></content>
			<author>
				<name><![CDATA[hannahis]]></name>
				<uri>https://forexsb.com/forum/user/2809/</uri>
			</author>
			<updated>2020-05-16T14:46:25Z</updated>
			<id>https://forexsb.com/forum/post/60684/#p60684</id>
		</entry>
</feed>
