<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ed Mamula.com &#187; System Development</title>
	<atom:link href="http://edmamula.com/category/system-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://edmamula.com</link>
	<description>Book-Smart and Battle-Scarred Trading and Investing</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:51:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Global Tactical Asset Allocation</title>
		<link>http://edmamula.com/2010/11/14/global-tactical-asset-allocation/</link>
		<comments>http://edmamula.com/2010/11/14/global-tactical-asset-allocation/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 02:04:16 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Investment]]></category>
		<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/?p=290</guid>
		<description><![CDATA[It&#8217;s official. I am sick of the stresses of 24 hour trading on a short term chart. In my opinion, Tradestation is not designed with traders like me in mind. Now, if my returns had been stellar, I suppose I could soldier on&#8230;however, things have been very volatile, and when I tally everything up, I [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s official.  I am sick of the stresses of 24 hour trading on a short term chart.  In my opinion, Tradestation is not designed with traders like me in mind.  Now, if my returns had been stellar, I suppose I could soldier on&#8230;however, things have been very volatile, and when I tally everything up, I have earned roughly $5000 over the last 4 years as a systems trader.  Well that beats the market, so there&#8217;s that&#8230;but then again, stuffing my money under the mattress and getting a second job at McDonalds would have been more lucrative.</p>
<p>Well why has currency trading been stressful while investing for retirement via an IRA seems relatively easier?  I think it boils down to the idea that the strategy employed in the IRA (buy and hold) would ultimately work if given enough time.   That could never be said about a short term system that could fall apart at any given time&#8230;</p>
<p>And so, as I was drafting some guidelines for the next iteration of my active trading, I read the <a href="http://www.theivyportfolio.com/">Ivy Portfolio</a> and noticed the launch of the <a href="http://www.advisorshares.com/fund/gtaa">GTAA </a>ETF&#8230;.</p>
<p>For the record here are those guidelines:</p>
<p>No leverage<br />
No intraday trading<br />
No drama (Usually related to gun-slinging &#8220;discretionary&#8221; trades with or without high leverage)<br />
No monthly fees<br />
No proprietary platforms</p>
<p>I have decided to use GTAA as a benchmark for my own Tactical Asset Allocation model.  For now, I only have an absolute returns version of my model, and GTAA is an absolute returns fund, so the benchmark is appropriate.  However, I also have my eye on the model over at <a href="http://marketsci.wordpress.com/2010/10/29/taa-model-for-november-2010/">MarketSci</a>, which is likely to be geekier and more elegant than my absolute return model, but nevertheless, for now, I will be using that model as a secondary benchmark.  The positions for my model for November 2010 are :</p>
<p>VEU / VWO </p>
<p>The model (if it can even be called that at this point) always purchases equal parts of the top two assets, so clearly there is some room for improvement.</p>
<p>To reiterate, this is <a href="http://edmamula.com/legal-disclaimers/">never investment advice</a>.  </p>
<p>More to come&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2010/11/14/global-tactical-asset-allocation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accidental Discoveries and Trading Systems</title>
		<link>http://edmamula.com/2009/03/11/accidental-discoveries-and-trading-systems/</link>
		<comments>http://edmamula.com/2009/03/11/accidental-discoveries-and-trading-systems/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:50:42 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/?p=251</guid>
		<description><![CDATA[I&#8217;ve always been fascinated by how many major scientific and technological advances seem to be the result of accidents or dumb luck.Â  The discovery of penicillin, vulcanized rubber, plastic, and corn flakes come to mind.Â  Please do check that link&#8230;it makes me laugh out loud. &#8220;&#8230; He was in the process of boiling wheat in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been fascinated by how many major scientific and technological advances seem to be the result of accidents or dumb luck.Â  The discovery of penicillin, vulcanized rubber, plastic, and <a href="http://web.mit.edu/invent/iow/kellogg.html">corn flakes </a>come to mind.Â  Please do check that link&#8230;it makes me laugh out loud.</p>
<p>&#8220;&#8230;</p>
<p>He was in the process of boiling wheat in 1894 in an attempt to create an easily digestible bread substitute when he came across a discovery that would lead to Kelloggâ€™s Corn Flakes.</p>
<p>He had boiled some wheat with the intention of making dough with it and accidentally let it stand for several hours. The wheat became softened, tempered. He decided to put it through the regular rolling process anyway for baking. When he rolled it out, however, he noticed that the individual wheat berries in the mash would roll out into flat, wide flakes. He figured heâ€™d bake them and see what happened. The result was a crisp, tasty, easy-to-eat cereal product.</p>
<p>&#8221;</p>
<p>I always like to think that if I tinker around long enough with trading systems, I&#8221;ll make a mistake that will prove to be a gold mine.</p>
<p>Â Cable Glider is the result of adapting the <a href="http://originalturtles.tradingblox.com/">Turtle System</a>Â for an intraday market.Â  I accidentally discovered that by shifting the price channel and anticipating breakouts, the returns were massively improved.Â  I guess that this wasn&#8217;t an accident, but it was the result of testing some &#8220;out of bounds&#8221; parameters.</p>
<p>Euro Ranger has a MACD filter in it that, to this day, I have no blessed idea how I came up with it.Â  These types of things are usually the result of trying to fix code that doesn&#8217;t work the way that I envisioned it&#8230;meaning that I&#8217;m kind of lazy like W.K. Kellogg. <img src='http://edmamula.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Darth Fader works very well in the natural gas market.Â  It&#8217;s only after I tested it there that I realized I was testing a parameter set that was taking the first available profit, and not holding for a longer period as I had originally intended.Â  It turns out that both methods work, but the accidental one works better.</p>
<p>Now surely trading systems are not rocket science, and they are nowhere near as important as antibiotics or Coca &#8211; Cola, but it sure is nice to think that if you just keep tinkering, you might one day be the one shouting &#8220;Eureka!&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2009/03/11/accidental-discoveries-and-trading-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the cusp of a major strategy shift?</title>
		<link>http://edmamula.com/2009/03/07/on-the-cusp-of-a-major-strategy-shift/</link>
		<comments>http://edmamula.com/2009/03/07/on-the-cusp-of-a-major-strategy-shift/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 17:16:14 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/?p=248</guid>
		<description><![CDATA[Well, what a difference a week makes.Â  Last week I said that I had very little to report on the strategy development front.Â  I guess I don&#8217;t know when ideas will strike.Â  Last Saturday, after reading an article in Futures magazine about the best traders of 2008, including author Bob Pardo, most of whom seemed [...]]]></description>
			<content:encoded><![CDATA[<p>Well, what a difference a week makes.Â  Last week I said that I had very little to report on the strategy development front.Â  I guess I don&#8217;t know when ideas will strike.Â  Last Saturday, after reading an article in Futures magazine about the best traders of 2008, including author <a href="http://www.pardocapital.com/" target="_blank">Bob Pardo</a>, most of whom seemed to be long term trend followers who caught bonanza oil trades in 2008, I thought to myself&#8230;&#8221;This is silly.Â  I don&#8217;t have any long term trend following systems that I&#8217;ve tested on multiple markets.&#8221;.Â </p>
<p>So I set out to create a simple system with a trend component and a trigger.Â  That system, which is so simple, it&#8217;s almost shameful, seemed to return positive results for a variety of trading instruments, including individual stocks.Â  So I purchased more data&#8230;NYMEX, COMEX, CBOT, and S&amp;P Indices.Â  The system seemed to work well in most liquid markets even without optimization.Â </p>
<p>The problem is that in some of the markets, almost all of the gains had been made in 2008, which was a banner year for trend followers.Â  After a conversation with a friend, I realized that I should be testing the long run trend follower alongside a short term &#8220;dip buyer&#8221; type of system.Â  So I coded a simple system up.Â </p>
<p>After I put 2 and 2 together, I realized that the short term &#8220;dip buyer&#8221; was really trading from the same principles as my production system for the S&amp;P, Darth Fader.Â  So then I started testing DF on my new data feeds.Â  It turns out that DF performs well for stock indices, energy futures, treasury notes, currencies, metals, etc&#8230;</p>
<p>Next I took a look at my actual trading results for the week.Â  3 wins, 0 losses trading Cable Glider and Euro Ranger, which are both intraday systems.Â  I&#8217;m up 12.4% year to date by the way&#8230;however, Cable Glider and Euro Ranger do not perform as well as optimized versions of Darth Fader work on the Euro and the Pound.</p>
<p>So I&#8217;m at a decision point.Â  On one hand, it is nice to trade systems with different methodologies to guard against a wholesale failure of Darth Fader&#8217;s approach.Â  On the other hand, I really would love to trade systems on the daily charts only.Â  This way, I wouldn&#8217;t have to worry about keeping my computers on all night long and possibly getting booted off the network at 3AM when CG and ER want to enter trades.</p>
<p>So I have a little bit of work ahead of me to determine the best course going forward.Â  Without the benefit of hard data just yet, I&#8217;m leaning toward trading Darth Fader on the S&amp;P (or the Nikkei&#8211;to reduce correlation with my 401k), the Euro, and on Natural Gas Futures.Â  I&#8217;ll need to compare the risk profile of that approach to the current Troika of DF on S&amp;P, Euro Ranger, and Cable Glider.Â  I also need to remember that CG and ER have proven themselves to be profitable in real trading, while DF has not&#8230;I mean, it has shown me a profit, but I&#8217;ve only been trading with it since the beginning of 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2009/03/07/on-the-cusp-of-a-major-strategy-shift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diversification in Action</title>
		<link>http://edmamula.com/2008/08/26/diversification-in-action/</link>
		<comments>http://edmamula.com/2008/08/26/diversification-in-action/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 23:13:21 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/2008/08/26/diversification-in-action/</guid>
		<description><![CDATA[If I ever somehow try to convince myself to shut one of my systems down without real objective proof that the system should be shut off, I need only refer to the following chart, which shows how much better the Euro Ranger and Cable Glider work together than they do separately, and I should be [...]]]></description>
			<content:encoded><![CDATA[<p>If I ever somehow try to convince myself to shut one of my systems down without real objective proof that the system should be shut off, I need only refer to the following chart, which shows how much better the Euro Ranger and Cable Glider work together than they do separately, and I should be cured of such a foolish notion.</p>
<p><a rel="attachment wp-att-173" href="http://edmamula.com/backtest-ideal-results/173/" title="backtestnet_200510_200808.JPG"></a></p>
<p>These results are on the <a href="http://edmamula.com/backtest-ideal-results/">backtest page</a>.Â  This is the power of trading uncorrelated systems.Â  Higher profit, lower variance.</p>
<p><img src="http://edmamula.com/wp-content/uploads/2008/08/backtestnet_200510_200808.JPG" alt="backtestnet_200510_200808.JPG" /></p>
<table border="1" width="459" cellPadding="2" cellSpacing="0" borderColor="#000000" dir="ltr">
<tr>
<td height="16" width="35%"></td>
<td height="16" width="21%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">Cable Glider</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">Euro Ranger</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">Combined</p>
<p></font></font></strong></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Average Gain per week</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$192</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$259</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$451</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Maximum Drawdown</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($3,911)</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($3,808)</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($3,587)</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Standard Error</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$50</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$55</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$73</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Median</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$107</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$214</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$384</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Mode</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$0</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$0</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$0</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Standard Deviation</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$619</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$675</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$896</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Coefficient of Variation</p>
<p></font></font></strong></td>
<td height="16" width="21%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">3.23</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">2.61</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">1.99</p>
<p></font></font></strong></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Kurtosis</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">1.57</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">1.65</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">0.91</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Skewness</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">0.56</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">0.28</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">-0.02</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Worst Week</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($1,567)</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($1,761)</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">($2,679)</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Best Week</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$2,201</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$2,401</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$2,833</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Number of weeks</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">151</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">151</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">151</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">positive weeks</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">85</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">99</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">104</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">negative weeks</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">46</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">35</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">40</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">breakeven weeks</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">20</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">17</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">6</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">% Negative weeks</p>
<p></font></font></td>
<td height="16" width="21%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">30%</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">23%</p>
<p></font></font></td>
<td height="16" width="22%"><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">27%</p>
<p></font></font></td>
</tr>
<tr>
<td height="16" width="35%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="left">Total Net Profit</p>
<p></font></font></strong></td>
<td height="16" width="21%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$28,948</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$39,124</p>
<p></font></font></strong></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">$68,072</p>
<p></font></font></strong></td>
</tr>
<tr>
<td height="16" width="35%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="center">Correlation</p>
<p></font></font></strong></td>
<td height="16" width="21%"></td>
<td height="16" width="22%"></td>
<td height="16" width="22%"><strong><font size="2" face="Arial"><font size="2" face="Arial"></p>
<p align="right">(0.04)</p>
<p></font></font></strong></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2008/08/26/diversification-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cable Glider System Death</title>
		<link>http://edmamula.com/2008/06/03/cable-glider-system-death/</link>
		<comments>http://edmamula.com/2008/06/03/cable-glider-system-death/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 01:25:46 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/2008/06/03/cable-glider-system-death/</guid>
		<description><![CDATA[Well, I&#8217;m back from my self-imposed two week break.Â  Within 48 hours of turning the systems back on, I&#8217;m down 3%, mostly on the back of two losers in the Cable Glider system.Â  It&#8217;s time for me to face the fact that Cable Glider has been a consistent loser all year, and it needs to [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;m back from my self-imposed two week break.Â  Within 48 hours of turning the systems back on, I&#8217;m down 3%, mostly on the back of two losers in the Cable Glider system.Â  It&#8217;s time for me to face the fact that Cable Glider has been a consistent loser all year, and it needs to switched off.Â  I am doing that immediately.Â  I will continue to monitor it in paper-trading mode, and if it shows two months of consecutive profitability, I will re-consider using it.</p>
<p>My plans had no provision for System Death.Â  I plan on becoming more studied on this subject, and I will incorporate it into future system deployments.Â Â Â  There is some good information over at <a href="http://www.verticalsolutions.com/notes/control_charts.html">Vertical Solutions</a>, which I hope will point me in the right direction.</p>
<p>In the meantime, I will keep Euro Ranger active.Â  It was virtually break-even last month, but it has shown several consecutive months of profitability.Â </p>
<p>The linear regression system that I was testing on the Japanese Yen totally fell apart in out of sample testing.Â  It&#8217;s a little bit disappointing, but then again, that&#8217;s why we test strategies before deploying them.</p>
<p>I&#8217;ll also be tinkering with tick charts a bit&#8230;this is something that I&#8217;ve never considered before, but I believe that it makes good sense to use tick charts instead of time based bar charts in a 24 hour market where most of the ticks are clustered into a small time frame.Â  For example, if we use a 500 tick bar on the Euro FX contract, we&#8217;ll see that sometimes a single bar can span a few hours (usually right after the session opens), and as little as 1 minute in a fast market.Â  Very interesting indeed&#8230;and that&#8217;s what I need right now&#8230;new ways of looking at the data.Â  We&#8217;ll see what it yields.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2008/06/03/cable-glider-system-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trading Plans, Discretion, Intuition, and Into-Wishing</title>
		<link>http://edmamula.com/2008/01/03/trading-plans-discretion-intuition-and-into-wishing/</link>
		<comments>http://edmamula.com/2008/01/03/trading-plans-discretion-intuition-and-into-wishing/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 18:36:24 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>
		<category><![CDATA[Trading Psychology]]></category>

		<guid isPermaLink="false">http://edmamula.com/2008/01/03/trading-plans-discretion-intuition-and-into-wishing/</guid>
		<description><![CDATA[Ray Barros has posted a great series of articles on routines and habits and how they relate to the construction of a trading plan.  This is a great post and deserves to be read and re-read several times.  It highlights, among other things, the tendency of beginning traders to favor discretionary approaches rather than mechanical [...]]]></description>
			<content:encoded><![CDATA[<p>Ray Barros has posted a great series of articles on routines and habits and how they relate to the construction of a trading plan.  This is a great post and deserves to be read and re-read several times.  It highlights, among other things, the tendency of beginning traders to favor discretionary approaches rather than mechanical ones.  This preference can be quite damaging though, as beginners have not likely developed the ability to trade what they see rather than what they want to see.  This is referred to as confusing intution with &#8220;into wishing&#8221;.</p>
<p>Mechanical approaches are ideal for beginners, as they force us to trade what we see as we develop a feel for the market.  In my former life as a stock and option trader, I would bounce around from one idea to the next, blowing up my account several times in the process.  The problem with such a random approach was that sometimes luck did shine on me and save me from losing&#8230;and of course these random rewards are the most addictive and difficult to reproduce.</p>
<p>When I shifted focus to the currency markets and became aware of all of the great tools for developing mechanical trading systems, I firmly made the mental shift that a mechanical approach would be best for me&#8230;after all, my discretionary trading had led me to a track record of 8 consecutive losing years.  You know what they say&#8230;quitters never win and winners never quit, but those who never win and never quit are idiots!</p>
<p>Now that I&#8217;ve focused almost exclusively on the British pound for a few years, I believe that I&#8217;m starting to develop a reliable feel for the market.  I am certainly NOT ready to incorporate much discretion into my trading plan, because the mechanical approach has worked so well, but I&#8217;m becoming more interested in how an experienced trader moves from a mechanical approach to a discretionary one and consistently outperforms the mechanical approach.</p>
<p>Of course, when we talk about intuition, we must carefully define the term.  The first definition on dictionary.com comes closest to what we are referring, but it is still incomplete:  &#8220;direct perception of truth, fact, etc., independent of any reasoning process; immediate apprehension.&#8221;  Well in this case, we&#8217;re not really talking about understanding that is independent of reason, but rather immediate understanding derived from unconscious integration of our experience trading the market.  It&#8217;s quite a fascinating process, but one that I&#8217;ll admit that I&#8217;m at a loss to describe the mechanics of.</p>
<p>All that I can do is make a note of just how long it has taken me to begin to develop a market intution and remind beginners that the goal of consistent profitability is a mountain with an unseen (and uncertain!) peak.  If your trading plan keeps you in the game long enough, your &#8220;into-wishing&#8221; just might turn into intuition after all.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2008/01/03/trading-plans-discretion-intuition-and-into-wishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Grinder and the Home Run Hitter</title>
		<link>http://edmamula.com/2008/01/01/the-grinder-and-the-home-run-hitter/</link>
		<comments>http://edmamula.com/2008/01/01/the-grinder-and-the-home-run-hitter/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 01:33:21 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/2008/01/01/the-grinder-and-the-home-run-hitter/</guid>
		<description><![CDATA[Long before I had put the Cable Glider system into production or even given it it&#8217;s name, I had always thought of trading systems as belonging to one of two broad categories.Â  The first one, which I call a Grinder, is a system that exploits short term statistical anomalies and derives its edge by having [...]]]></description>
			<content:encoded><![CDATA[<p>Long before I had put the Cable Glider system into production or even given it it&#8217;s name, I had always thought of trading systems as belonging to one of two broad categories.Â  The first one, which I call a Grinder, is a system that exploits short term statistical anomalies and derives its edge by having a high winning percentage, but not necessarily from having a greater average win than average loss.Â  I have toyed with a grinder type system with the Euro over the past few months, but this system is not something that I&#8217;m very confident in.Â  In fact, the system has generated very little profit so far, but thankfully, it hasn&#8217;t generated significant losses either.</p>
<p>The second category of trading system that I think in terms of is the Home Run Hitter.Â  This type of system derives its edge from achieving greater average wins than average losses, but not necessarily from a high winning percentage.Â  The Cable Glider falls squarely into this category.Â  I&#8217;m much more comfortable trading this type of system, but no matter how well the Cable Glider works, I continue to feel vulnerable without a stable portfolio of other systems to back it up.Â  I&#8217;m sure I&#8217;ve mentioned this before, but the fact that the Cable Glider has worked so well makes my other attempts at system development feel like failures, even if these other systems are marginally profitable.</p>
<p>At any rate, my first goal for 2008 is to create a Grinder style system that will work for the British pound.Â  So far, even in the context of trying to create a grinder system, I&#8217;ve found it very helpful to stay out of the markets on days of significant economic releases.Â  It seems to me that on these days, the market ignores technical setups to a large extent as it schizophrenically adjusts to the new data.Â  Right now, I have a one parameter system on the 4 hour chart for the British pound that tests as well as the Euro system that I currently have in production.Â  The rules are so simple it&#8217;s almost stupid, but again, the system would not work well at all without the economic release date filters to keep it out of choppy waters.</p>
<p>So if I could offer anything as a word of advice to aspiring traders, it would be to examine how economic releases such as the employment report, the CPI, central bank interest rate decisions, etc, affect your trading strategies.Â  I continue to find a dual benefit to staying out of markets onÂ those days&#8230;a chance to preserve my capital, and toÂ recharge my mental batteries to trade clearly&#8230;.LATER&#8230;in calmer conditions.</p>
<p>Â Good luck to all in 2008.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2008/01/01/the-grinder-and-the-home-run-hitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thought Demons</title>
		<link>http://edmamula.com/2007/11/14/thought-demons/</link>
		<comments>http://edmamula.com/2007/11/14/thought-demons/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 18:45:05 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>
		<category><![CDATA[Trading Psychology]]></category>

		<guid isPermaLink="false">http://edmamula.com/2007/11/14/thought-demons/</guid>
		<description><![CDATA[I attended a webcast last week in which Bob Pardo, author of &#8220;Design, Testing, and Optimization of Trading Systems&#8221; discussed the idea of Thought Demons that hinder trading performance.  This is just another term for negative self-talk.  I found it very useful to list thought demons that affect me on each and every trade.  I [...]]]></description>
			<content:encoded><![CDATA[<p>I attended a webcast last week in which Bob Pardo, author of &#8220;Design, Testing, and Optimization of Trading Systems&#8221; discussed the idea of Thought Demons that hinder trading performance.  This is just another term for negative self-talk.  I found it very useful to list thought demons that affect me on each and every trade.  I came up with a list of six thought demons that cause me emotional pain, and have ranked them from most painful (1) to least painful (6).  If I am prepared for each type of pain beforehand, I will be better able to handle the situation when it arises.</p>
<p><strong>Pain of loss<br />
</strong><br />
a) True Drawdown that SEEMS avoidable (1)</p>
<p>Whenever I&#8217;m in a drawdown where entry signals were BARELY triggered and then the trades reverse and take me out for a loss, this is the most painful, because it seems that optimizing my entry parameters differently could have saved me this pain.  This is the most painful, because a drawdown always feels like a threat to my ability to continue as a full time trader, and losses that I ALMOST avoided make me feel unlucky too.  The longer or deeper the drawdown, the worse the pain gets.</p>
<p>Antidote: I need to remind myself that my system at any given time represents my best attempt to make profit in the market and that drawdowns are unavoidable.  Indeed, I&#8217;ve recovered from several drawdowns, and even if this particular drawdown really does end my run as a professional trader, I will never regret my decision to try.  Anyway, I&#8217;m likely to recover from the drawdown, and losses are just what I need in order to be able to build better systems for the future.</p>
<p>b) True Drawdown that seems unavoidable (3)</p>
<p>If I suffer a drawdown that seems unavoidable, that is to say that most parameter sets would have still resulted in a drawdown, I don&#8217;t feel quite as bad, but I&#8217;m still in a real drawdown, which is a threat to my full time trading career.</p>
<p>Antidote: Same as (1)</p>
<p>c) Giving back profits on subsequent trades (6)</p>
<p>Giving back profits on subsequent trades is the least painful, because I know that losses are inevitable and it&#8217;s nice to initiate a drawdown from a new equity peak.  No antidote is necessary.</p>
<p><strong>Pain of not participating (2)</strong></p>
<p>This is the second most painful of all.  I trade a system that uses event-based filters to keep me out of the market.  When things are going REALLY well, these filters are counter-productive.  Missing a move is painful because I wonder whether I will experience the double whammy of missing a big profit and then participating in the subsequent losses.</p>
<p>Antidote:  Most of the time, my event filters work well.  They often allow me to have profitable months when a system without filters would have suffered losses.  Event filters allow me to take a break from the market and recharge my batteries.  A system that is in the market less of the time is inherently less risky.  Whenever the unfiltered system does well, the filtered system usually does well too.</p>
<p><strong>Pain of Profit</strong></p>
<p>a) Why didn&#8217;t I trade more contracts? (5)</p>
<p>This one always creeps into my mind a little bit at the end of each winning trade, but it&#8217;s easy to suppress as I know that if I were taking more contracts, my risk to reward would not be properly balanced.</p>
<p>b) Why didn&#8217;t I take profits at the top? (4)</p>
<p>This one is painful too, but it&#8217;s not a big deal.  My system does not attempt to catch tops, and will always give back some profit before exiting.</p>
<p><strong>Here is the king of Thought Demons for a trading system developer&#8230;</strong></p>
<p><strong>The new system underperforms the old system in live trading.</strong></p>
<p><strong>The antidote for this is to realize that the system IS my edge</strong> and that system changes represent my best attempt to improve my edge.  Each change is either an attempt to increase profits or to limit risk.  A change that is intended to increase profit often has the side effect of increasing risk or drawdown in the short term.  If the new system passed all of my criteria to be traded live, then I simply have to go with it until such time that I discover a better alternative.  If the system change is meant to decrease risk, but it lowers my profit, I need to remind myself that that is exactly the price I pay for controlling risk, and in fact, risk has been controlled.  In fact, if I look at my list above, I&#8217;ll see that the pain of missed profits is less than the pain of real losses.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2007/11/14/thought-demons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drawdowns, Hedging, and Anti-Hedging, Oh My!</title>
		<link>http://edmamula.com/2007/10/31/drawdowns-hedging-and-anti-hedging-oh-my/</link>
		<comments>http://edmamula.com/2007/10/31/drawdowns-hedging-and-anti-hedging-oh-my/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 19:16:48 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[Position Sizing]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/2007/10/31/drawdowns-hedging-and-anti-hedging-oh-my/</guid>
		<description><![CDATA[From mid-April to mid-August 2007, I experienced a drawdown in excess of 50% and subsequent recovery to a new equity peak.Â  In May, I had just left my day job to pursue trading full time, and coincidentally, that&#8217;s when the drawdown was accelerating.Â  Very near the bottom of the equity drawdown, I decided to segregate [...]]]></description>
			<content:encoded><![CDATA[<p>From mid-April to mid-August 2007, I experienced a drawdown in excess of 50% and subsequent recovery to a new equity peak.Â  In May, I had just left my day job to pursue trading full time, and coincidentally, that&#8217;s when the drawdown was accelerating.Â </p>
<p>Very near the bottom of the equity drawdown, I decided to segregate some of my trading money into a living expense account so that I would feel less pressure from the day to day moves in the market.Â  I looked at the distribution of gains and losses for the prior year, and established a knee-jerk rule to add money to the living expense account whenever I experienced a &#8220;large&#8221; gain.Â </p>
<p>In retrospect, this strategy amounts to a dynamic cash hedge, meaning that my total risk level fluctuates with the percentage of the total account that is held out in the living expense, or &#8220;hedge&#8221; account.Â  In truth, establishing the hedge at the equity trough was exactly the wrong thing to do, and it delayed my recovery from the drawdown.</p>
<p>From June to September, I blissfully ignored my hedge % as the Cable Glider posted gains in each of those months.Â  A losing October, however, has caused me to re-evaluate how I hedge my risk, and it&#8217;s led me to an interesting discovery that will affect how I handle money management with my systems going forward.</p>
<p>I have found that byÂ picking a fixed hedge percent, say 25%, and resetting it to 25% at the end of each subsequent month, I can achieve better returns than by simply reducing my risk on each trade by 25%.Â </p>
<p>Essentially, I&#8217;ve discovered the position sizing method that chaffcombe (<a href="http://www.futurestech.com.au/MonthlyReport_Sep2007.htm">http://www.futurestech.com.au/MonthlyReport_Sep2007.htm</a>) refers to as Variable Fractional Position Sizing. (VFP).</p>
<p>Rather than re-invent the wheel, I&#8217;ll quote his comments on the subject below:</p>
<p>&#8221;</p>
<p>Although the drawdown was lengthy, it was extremely shallow &#8211; something that I am particularly pleased about considering the earlier major gains.Â Â  I largely attribute this to tight risk management and, specifically,Â  the variable fractional position sizing methodology (VFP) that I employ.Â  VFP increases or decreases the risk taken for each system in proportion to the realtime P/LÂ  for the calendar month, thus allowing increased leverage during profitably months, without taking undue risks with what I consider to be &#8216;capital&#8217; ie NAV booked at the end of the previous month.Â Â  VFP can make a lot of money very quickly in good trading conditions, while limiting losses very quickly in bad&#8230;</p>
<p>&#8221;</p>
<p>Armed with VFP, we can re-think the subject of drawdowns.Â  Traders will first and foremost consider the maximum peak to valley drawdown in their trading, but may not pay any attention to the timespan that those drawdowns cover.Â  Indeed, visualizing a drawdown as a lake whose volume is measured on the vertical axis by % drawdown and whose horizontal axis is measured by time, we can work on decreasing the pain of drawdowns by attacking both the vertical and the horizontal dimensions.</p>
<p>Most of the vertical value of a hedge is accomplished in the first down month.Â  If we reset the hedge to a fixed percent after a down month, we are effectively adding money to the trading account.Â  This is an anti-hedging technique meant to decrease the time taken to recover the drawdown.Â  With this methodology, we do risk a deeper drawdown if we experience consecutive losing months, but we retain the majority of the vertical value of the original hedge.</p>
<p>So, VFP has the potential to outperform fixed fractional in a drawdown.Â  What about in a run up to new equity peaks?Â  The beauty of VFP is its ability to lock in more of the gains from a positive outlier.Â  If we are happily moving along making 5% per month with no variation, VFP will reduce our total return by hedging out a portion of the gain each month.Â  If however, as has been the case with the Cable Glider, it is trueÂ that large positive and negative outliers are clustered together in time, VFP will outperform fixed fractional.Â  If we have a big gain followed by a big loss, VFP locks in more of the first month&#8217;s gain and reduces the subsequent drawdown.Â </p>
<p>If we have a big loss followed by a big gain, the anti-hedging ability of VFP shines again by adding more capital to the system at the equity curve trough and speeding us out of the drawdown.</p>
<p>As with many other trading system parameters, the optimal (defined here as maximum netÂ profit for any given level of risk) hedge percent is a moving target, and so this is not a simple topic.Â  For the Cable Glider in 2006, the optimal hedge % would have been in the 40&#8242;s, but this is because there were two cases of big run ups followed by drawdowns.Â  In 2007, the optimal hedge percent is much lower, because overall the equity curve has been much more flat.Â  When I combine the two years, 25% is the optimal hedge.Â  Over the past five months, my original dynamic hedge was moving in the 22% to 31% range.Â  Even though the length of this post and my long-winded explanation might suggest otherwise, the new method is simpler, cleaner, and easier to verify.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2007/10/31/drawdowns-hedging-and-anti-hedging-oh-my/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimization Criteria</title>
		<link>http://edmamula.com/2007/10/16/optimization-criteria/</link>
		<comments>http://edmamula.com/2007/10/16/optimization-criteria/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 23:00:00 +0000</pubDate>
		<dc:creator>Ed Mamula</dc:creator>
				<category><![CDATA[Narratives]]></category>
		<category><![CDATA[System Development]]></category>

		<guid isPermaLink="false">http://edmamula.com/2007/10/16/optimization-criteria/</guid>
		<description><![CDATA[When optimizing a trading system, the first question we must answer is what it is that we are trying to maximize.Â  We can call that our fitness function.Â  I&#8217;m quite a newbie in this area, so the fitness function that I use is not presented as a recommendation, but rather a simple recording of where [...]]]></description>
			<content:encoded><![CDATA[<p>When optimizing a trading system, the first question we must answer is what it is that we are trying to maximize.Â  We can call that our fitness function.Â  I&#8217;m quite a newbie in this area, so the fitness function that I use is not presented as a recommendation, but rather a simple recording of where my thoughts on the process currently reside.</p>
<p>First of all, I do not want my fitness function to be dominated by recent results, so I do not &#8220;reinvest&#8221; my profits when testing a system;Â  I presume that I have a fixed starting equity for every trade and risk a percentage of that equity.Â </p>
<p>Secondly, since the Cable Glider is quite profitable, the equity curve quickly looks like an exponential function, so I use logarithms whenever possible in order to normalize various pieces of the fitness function that would otherwise be on entirely different scales.Â  This isÂ  an attempt at finding a fitness function that is not dominated by a single sub-component.</p>
<p>Thirdly, I think what I like and what I don&#8217;t like.Â  I like profit.Â  I dislike losses.Â  I like a high winning percentage.Â  I like the average win size to be greater than the average loss size.Â  I dislike drawdowns.Â  I want to be certain that I have a quantifiable edge that suggests my trading results are better than playing a coin flipping game.</p>
<p>I will post the specific function that I&#8217;m using in my next post.Â  In preparation, please read Ed Seykota&#8217;s page on <a href="http://www.seykota.com/tribe/risk/index.htm" target="_blank">risk management</a>.Â  My fitness function incorporates the Kelly criterion described on that page.</p>
]]></content:encoded>
			<wfw:commentRss>http://edmamula.com/2007/10/16/optimization-criteria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

