Successful Backtesting of Algorithmic Trading Strategies - Part I
4 stars based on
Many successful traders share one habit — they backtest their backtesting trading strategy strategies. Backtesting your backtesting trading strategy strategy will not alone guarantee that you will become backtesting trading strategy, but it is a giant step in the right direction. In this article we examine some potential biases that can backtesting trading strategy into your backtesting, and we will look at how to minimize the impact of these biases.
There are many problems that can occur when you backtest your trading system, but most problems fall into one of three categories: Each of these backtesting trading strategy is explained, along with methods of avoiding errors. Believe it or not, this is a very common error when testing trading systems.
This error is easy to make. Of course you would, I definitely would, but unfortunately, this information is not available to us until the day is over.
For example, you may have a system that incorporates the closing price, then this obviously means that the trade cannot be initiated until the day is overotherwise this is a postdictive error. Another example may help illustrate the postdictive error, if you have a rule in your trading system about highest prices, then you will have a postdictive error.
This is because highest prices are often defined by data that comes later, in the future. The way to avoid the postdictive error is to make sure that when you backtest backtesting trading strategy system backtesting trading strategy only information that is available in the past at that point in time is used in backtesting.
With manual backtesting or backtesting with forex tester you can accomplish this quite easily, but with automated backtesting the postdictive error can sneak into your trading system. This simply means that you have too many variables, or trading indicators in your trading system. It is very possible to come up with a trading system that can explain past price behavior of a currency pair. In fact, the more indicators you add, the easier it often becomes.
The problem arrives when you want to apply this system to the future. Often when a trading system has too many indicators it can predict the behavior of the market during a time period extremely well. The above statement is often difficult for traders to come to grips with, but it is true.
Consider what William Eckhardt, of the New Market Wizards has to say about trading systems, In general, the delicate tests that statisticians use to squeeze significance out of marginal data have no place in trading.
We need blunt statistical instruments, robust techniques. Backtesting trading strategy, he is warning against the degrees of freedom error and suggesting that simple trading systems are more likely to stand test of time. This is absolutely true.
Some of the most powerful backtesting trading strategy systems available are extremely simple. Keep this in mind as you trade, and as you attempt to find a profitable trading system.
Most traders will backtesting trading strategy that with experience, they become more likely to embrace the view that simpler trading is preferred over a complex approach. Drastic Changes in the Market Many traders forget to anticipate unforeseen events that will occur in the backtesting trading strategy. When this happens, you should have designed your trading system to remain functioning during these backtesting trading strategy. Perhaps some examples may help with this: When the global financial crisis started unfolding in Septembermost currency pairs traded with much more volatility than had been seen for years.
The fact is that there will be unexpected events in the future, and these events will affect the markets, so the best thing you backtesting trading strategy do is to be prepared. Backtesting trading strategy do you prepare for the unexpected?
Consider these simple solutions: Will your trading systems still be profitable under these conditions? Remember that even this level of risk is likely to be exceeded. That is, how will you exit a trade if something bad happens and you cannot backtesting trading strategy your account?
For instance, what happens if your trading platform is inaccessible and you desperately want out of a trade? Most brokers offer a telephone line to traders for these instances. Do you have the phone number?
This would be applicable if you have several trades open simultaneously. Keeping in mind that the unexpected will occur, you should probably have a maximum risk level for those times when you have several open trades. Keeping in mind that you and you are not alone are more likely to overestimate the severity of drawdowns that you can withstand, it is important to be realistic.
Again, the best way to plan for drawdowns is to do extensive backtesting to find out what sort of historical drawdowns your trading system experiences and then plan for even worse drawdowns in the future. Anticipating drastic changes in the markets is the single best way to preserve the equity in your account. So, you know that successful traders share this habit — they backtest their trading strategies.
You know that backtesting separates the wealthy traders from those who lose money. You also know several ways of incorporating backtesting into your trading regimen. And you know of the pitfalls — what to look out for — when you are backtesting, so that you can get the most out of the process.
But, what exactly, will you get out of backtesting your trading system? In the next article I will explore the side effects of backtesting. Walter Peters, PhD is a professional forex trader and money manager for a backtesting trading strategy forex fund. In addition, Walter is the co-founder of Fxjake. Walter loves to hear from other traders, he can be reached by email at walter fxjake. At Connors Research, we are using it as an overlay to many of our best strategies to make them backtesting trading strategy better -- now you can, too.
The Connors Group, Inc.