Wednesday, February 14, 2007

Testing Your Trading Ideas: A Best Practice in Trading

Note: I'm doing the writeup, but credit this idea to professional trader and system developer Henry Carstens. His article linked below is one of the best trading articles I have ever read. If you recall, Henry is the developer who worked with one of the blog readers to develop his trading edge. From that interaction, we learned quite a bit about what it takes to succeed at trading. Most important, we saw that the partnership of programmers and traders is of benefit to both: traders learn which of their ideas work best (and how they can be improved), and developers gain new market insights from experienced traders. For that reason, today's Best Practice is to test your trading ideas, either by learning one of the testing platforms yourself or by partnering with a programmer already familiar with the testing process. At the end of this post, you'll see how Henry's article can help you take steps in these directions.


Traders often think of trades in terms of "setups". These are conditions that have to be met in order to enter the market. A setup typically defines a situation in which demand and supply become sufficiently imbalanced that they lead to directional market movement. A setup can be defined as a configuration in an oscillator, a chart pattern, or an indicator reading.

Of course, much more goes into a trade idea than the initial setup. There is also the issue of money management: how much capital to allocate to the trade, and there is the issue of exiting the setup once entered. Traders also typically address the issue of stop loss points--where to get out when a trade turns out poorly--and they also make assumptions about which trading instruments to utilize in pursuing the setup.

As you can see, there are many different components to a trade. When we review our P/L, we tend to attribute our results to our setups. But that isn't necessarily accurate. Our results are also a function of our money management, our stops, and our exit criteria. Results also vary as a function of *what* we trade, not just how we trade it.

This is a major challenge for the discretionary trader. We might be making money--or just approaching profitability--but we don't really know which parts of our trading are working for us and which aren't. Because we don't know if our setups, exits, stops, etc. are holding us back or contributing to our success, it is difficult to maximize our performance.

That's where testing our trading ideas comes into play. When we test ideas, we go back into recent history and see, first hand, how each component of our trading contributes to P/L. Very often, as was the case with the recent trader, we find that our ideas work for us, but still can be improved. Sometimes we find that what we thought was working really isn't adding to our success. A while back, for instance, I tested my morning setups and found they were working better in the Russell futures than in the S&P 500. As a result, I commonly place trades in both markets, which has improved my profitability.

The prospect of testing trading ideas is daunting for many traders, who might be intimidated by the programming. Current platforms, however, make such testing easier than ever. This article by Henry Carstens is the clearest summary of how to test ideas that I've yet encountered. I strongly recommend it as reading for any trader who wants to better understand what goes into good trading ideas. There are also sections on how to test the significance of trading ideas and how to optimally allocate capital to those ideas. An additional, fantastic feature of the article is the template at the end, written in TradeStation code, than enables you to drop in your ideas and test them out for yourself!

If you've been successful with your ideas but don't want to tackle the programming yourself, consider teaming up with an experienced programmer. To help traders with this challenge, I will collect names and contact information from all experienced traders and experienced programmers who might want to collaborate. Simply email me at the address given at the right side of the TraderFeed homepage (under the section "About Me") and I will do my best to get you connected.

My goal is not just to help traders learn, but to help traders learn from their own experience and from each other. Henry's idea of using testing to sharpen our trading is a great way to move ourselves to the next level of performance. That's why I consider it a "best practice".