Which are the worst backtesting mistakes?
Backtesting should be an integral part of the process of creating a functional trading strategy for every trader. Although it may seem like a simple tool that anyone can master, many traders make mistakes in backtesting that lead to distorted results and subsequent losses in real trading.
We have written several times about backtesting, its uses, and how you can use it to improve the inputs and outputs of your existing strategy. But today we'll look at what you should avoid when backtesting so that your strategy doesn't become a black hole for your funded trading account.
Before you even start backtesting, you should be clear on a few basic rules. Backtesting should be done on as large a sample of data as possible, you should have a defined trading plan before the actual backtesting, and you should have clear risk management rules within the strategy that you will follow.
Consistency pays off
Just like a trading journal works for trading, you should keep detailed records of your results for backtesting and after the backtesting itself you should do a proper analysis to help you determine/improve the basic parameters of the strategy such as RRR, MAE, MFE, success rate, profit and loss streaks, maximum drawdown, etc.
Once you know what to do and get down to backtesting, you should avoid a few basic mistakes that are made by both novice traders and professional traders using sophisticated tools for backtesting.
Look-ahead Bias
One of the basic mistakes of backtesting is using data that you might not yet have in normal trading. This is the same as using tomorrow's prices in the real market today to make your entry decisions. This can then lead to biased results and misleading conclusions.
This error can occur when you unknowingly include an investment instrument in your strategy that has performed very well over a period of time (for example, a stock index before the bull market began or a currency pair that has been in a long and strong trend over a period of time). In reality, however, you would not have known at the beginning of the period that it would perform so well in the future and your strategy might not work in the real market. So you need to take this possibility into account when building your strategy, and you can avoid it by extending the period in which you test your strategy.
Optimization Bias
This is a mistake you can make when you try to optimize and refine your strategy based on past data until it works as you want it to on a given sample of data. When backtesting your strategy, you can commit this error along with the previous one. At first glance, this is a logical step to improve your strategy, but in reality it is just adapting your strategy to a given sample of data.
The solution may be to simplify the strategy and then test it in a "basic setup" on a larger number of instruments. If you don't want to test your strategy on different instruments, the best solution is to add a time interval in which you test the strategy. For example, if the strategy has worked in the last two years and will continue to work after extending the interval to five years or more, you have a better chance of being successful in real-world conditions.
Ignoring the influence of the real market
Psychology
Many traders expect the results to be exactly the same after switching to real trading as with backtesting, but the situation is ultimately quite different. When backtesting, for example, you are not influenced by emotions at all. You have always opened and closed your test trades at the "ideal levels", but emotions in the real market make you close profitable trades too early, or you unnecessarily adjust your stop loss.
Expenses
Another problem may be that you don't consider fees, spreads or slippage in your backtesting. For some lower liquid instruments, spreads or slippage can be quite large and can cause a trade to end not in profit but in a loss. On a single trade, the difference between backtesting and the real market may not be apparent, but in the longer term the differences in results can be dramatic.
The right time to trade
When backtesting, you may often not realise that a large proportion of your profitable trades were made at times when you will not be present in the real markets. You also need to take into account that some of the more significant movements in the markets happen after the publication of important macro data, and these trades may not be executable in real trading either.
The market is a living organism
When backtesting, you must remember that the market is like a living organism that is constantly changing and evolving. What may have worked ten years ago may not work today, so it's a good idea to take this into account when backtesting and adjust your testing time accordingly. You should also take into account that even if you test your strategy on one instrument, it is influenced by the behaviour of other instruments in the same asset class, but also by instruments in other asset classes. When you decide to test your strategy on a larger number of instruments, you should choose instruments whose correlation is very low. This will allow you to see if the strategy is suitable for multiple instruments, or if you need to focus on only one asset class or selected investment instrument.
Conclusion
If done correctly, backtesting is a useful analytical tool that can help you find the right strategy, which you can trust and that suits your style. At the same time, however, its results should not be overestimated, and you need to remember that it is not a tool to help you predict the future. You need to give it enough time and avoid the unnecessary mistakes mentioned in the article, and then it can become what will make you a profitable trader in the long run. Trade safely!
About FTMO
FTMO developed a 2-step Evaluation Process to find trading talents. Upon successful completion you can get an FTMO Account with a balance of up to $200,000. How does it work?.