Why backtesting is the core of everything
This is the most important module in the course. Everything before it was getting you ready for it, and everything after it depends on it.
Trading the past as if it were live
You have a strategy now. Seven rules. The obvious question is whether it makes money. There are two ways to find out.
The slow, expensive way
Trade it with real money for a year and see what is left.
Most people do this. It is how most people lose their account.
The fast, safe way
Go back in time on the chart and trade it there, one candle at a time, without seeing what comes next.
That is backtesting.
A year of trades takes a year to live through. In a backtest the same trades take a few evenings, and no trade can lose you money.
Three things a backtest gives you
- An answer
- After 100 trades you have a total in R. Positive or negative. Not an opinion, not a feeling, a number that came from your own trades.
- A picture
- You see what the strategy looks like from the inside: how often it loses, how long the losing streaks run, how long it goes between wins. When the same thing happens live, you will have seen it before.
- An eye
- If you pay attention while you do it, you start picking up patterns: which levels are right, which breakouts work, what a bad one looks like. Marking levels on a few hundred real charts changes how you see them. Nothing else in this course does that for you.
That last part is true, and it is a little sad. Most people who trade have never tested what they trade. Finishing this module puts you ahead of them.
How you will test it
One backtest is not enough, because one stretch of the past can flatter a strategy or make it look worse than it is. So you run two, on two different stretches.
- 100 trades from the pastYou start at a random date about three years back and trade forward until you have 100 trades.
- If that is unprofitable, try againAnother 100 from a different date, with the eye you now have. If it is still unprofitable, you learn a concept, add it, and test again. And you can always ask Rehan for help.
- 100 trades of recent dataOnce a test is profitable, you run the same rules on the most recent months.
- Compare the twoIf the strategy holds up on both, it has earned a real test. If it only works on one, it has not.
- Then, and only then, liveThree months of real trades at 1 dollar risk, to see whether you can do with real emotions what you did in the backtest.
- You test on your coin. A strategy that works on one coin may not work on another. Every coin you want to trade gets its own two backtests.
- You test in your window. Only the hours you will really trade.
- You test on your timeframe. The 5 minute or the 15 minute, whichever you picked.
What it costs is time
Backtesting is not hard. It is repetitive. Two hundred trades is a real amount of work, and there will be evenings when you do not feel like it.
The way through is to make it small and regular.
- Set a daily minimum. Ten trades a day is a good one. Do more when you feel like it, never fewer.
- Do not rush to the end. You can take as long as you need. Nothing is lost by taking three weeks.
- Pay attention while you do it. The point is not only the final number. It is everything you notice on the way.
Test it before you trust it.
100 trades from the past, 100 recent, on your coin and in your window. Next: the tool that lets you travel back in time.