I trade longer term mechanical trading systems exclusively on the ASX. I rarely look at daily charts and the systems are built using weekly timeframes. The information in this site is based on actual trades in real portfolios. I don't trade using margin or any sort of leverage. I mainly use Amibroker for system testing and trade monitoring. I am not selling anything. This is just a journal to record where I have been and, just maybe, where I am going.
Wednesday, September 19, 2007
Simulated trading, discipline and knowledge
The top chart is a TradeSim run of the main system I use and the bottom chart is actual performance from 2003. They look pretty similar if you can mentally adjust the Y axis.
There are a number of things that I will mention;
1. I trade more than this one system so comparison with only one system is probably not totally accurate.
2. I pull money out and put money back in. The lift in the current year is because I put more money in.
3. I have pretty much pulled most of the profits out for various frivolous pleasures - the TradeSim run did not pyramid profits. I pumped more money in early this year.
4. Discretion is designed into the system - every run I do on TradeSim will give a slightly different result.
I think that TradeSim is an excellent product. The data for the run above was output from AmiBroker (thanks Glenn for the code which is available on the Yahoo site). The system used for the test above was actually designed using Metastock. The software doesn't necessarily make us better traders.
I read Way of the Turtle and the last couple of pages crystallised the thought that has been lingering in the back of my mind for some time.
The best way to trade systems is to write, test, optimise, walk through individual trades and immerse oneself in the process to design a system that suits the individual.
The more confidence one has in the system the more likely it is to work.
Giving a system to someone, even with a lot of coaching, will probably only work if that person pulls apart the system, changes aspects of it, and puts it back together.
Many don't have the time, effort or capital to put into the process.
Enough lecturing,
stevo
Friday, September 07, 2007
Waratahs
Tuesday, September 04, 2007
Getting a handle on performance
Looking at the monthly chart above I had a lot of open equity in July and I gave a bit back. Around 12.5% - I can live with that. The results above also take into account all costs, tax payments, accounting fees etc, as well as any dividends and bank interest.
The closed trades equity curve, from January 2003 to present, above paints a different view and probably reinforces the idea that it is dangerous to count open profits as my own!
Monthly profits - again just looking at closed trades profits, although the September bar reflect open trades profits. This chart is the same way TradeSim plots monthly profits on simulations.
I sold a lot of stock last month whilst on holidays up north, not the most ideal spot to be trading. A couple of years ago I spent a month in Europe and didn't need to exit any trades. Trading weekly makes it a lot easier to go away for a few weeks. August 2007 however wasn't a good time to take a week off, but I did enjoy myself.
The main thing is that I followed the system, whilst I know of others that thought that they would wait till the price went up a bit before they got out, or worse still, they ignored the system! Both approaches leave me speechless. I give myself quite a bit of flexibility by using a weekly time period already, but to actually break my system rules is unthinkable.
I am reading "Way of the Turtle" by Curtis Faith and am pleasantly surprised that it is very readable, although I am only up to Chapter 3. Outcome bias is mentioned in Chapter 2 - the tendancy to judge a decision by it's outcome rather than by the quality of the decision at the time it was made. Holding on past the sell signal may have given a better outcome in hindsight but was the wrong thing to do in terms of following a trading system. I am sure that a lot of dot.com disciples that still hold some worthless dot.com company might, in hindsight, agree with me.
stevo
Monday, September 03, 2007
AmiBroker testing and Excel
Many system testers focus on optimising variables like moving averages. But it is also possible to get a better understanding of position size, risk and other trade parameters.
The following charts were generated from Amibroker optimise runs. I optimised a number of criteria, %Risk, minimum position size $, capital and maximum number of trades held - all at the same time. What results is a lot of data that I then transfered to Excel. Using Autofilters and pivot tables in Excel I can fix some parameters, as well as exclude others, and create 3D charts as shown below.
I had some fun with colours - the default ones set on my version of Excel didn't really work for me.
So in the one spreadsheet I have, amongst other things, a large number of 3D combinations to consider. I lose the ability to rotate the charts but I did customise the colours to my liking. It's a little time consuming generating pivot tables and determining what values to include / exclude, what parameters to fix and what value to fix them at but I feel I am only scratching the surface with Excel.
regards
stevo
The following charts were generated from Amibroker optimise runs. I optimised a number of criteria, %Risk, minimum position size $, capital and maximum number of trades held - all at the same time. What results is a lot of data that I then transfered to Excel. Using Autofilters and pivot tables in Excel I can fix some parameters, as well as exclude others, and create 3D charts as shown below.
I had some fun with colours - the default ones set on my version of Excel didn't really work for me.
So in the one spreadsheet I have, amongst other things, a large number of 3D combinations to consider. I lose the ability to rotate the charts but I did customise the colours to my liking. It's a little time consuming generating pivot tables and determining what values to include / exclude, what parameters to fix and what value to fix them at but I feel I am only scratching the surface with Excel.
regards
stevo
Labels:
3d charts,
Amibroker,
Excel,
optimisation,
position size,
system testing
Sunday, September 02, 2007
3D rotating charts video
Rotating the charts in Amibroker makes it a lot easier to work out what is going on.
stevo - unfortunately the video didn't post.
Subscribe to:
Posts (Atom)