How do I know if my trading strategy actually works?
You know a strategy works when three things hold at once: its average trade is clearly above zero over enough trades to rule out luck, it still makes money after realistic fills and costs, and it keeps working on data it was never tuned on. A profitable backtest on its own proves none of these. Each one is a separate test, and most strategies fail at least one of them.
The three tests
- Enough trades. Divide the average trade by its standard error (the spread of trade results divided by the square root of the number of trades). That ratio is the t-statistic. Around two or more, the average is unlikely to be noise; below that, you can’t tell yet. Our hundred-trade study found that the median profitable strategy needed 3,406 trades before its edge stood out.
- Realistic execution. Bar backtests have to guess the order of prices inside a bar, and they often guess in your favour. Add commission, spread and slippage, then double them. In our study of why backtests fail live, only 15% of 4,706 intraday strategies that looked profitable on one-minute bars were still profitable with second-by-second fills and modest costs.
- Data it never saw. If you picked the settings on the same history you are judging them on, the result is flattered. Hold back the most recent part of the history, or walk forward window by window, and judge the strategy only there.
Signs it doesn’t work yet
- A handful of trades made most of the profit.
- Moving one setting a little turns a profit into a loss.
- Random entries with the same stop and target do about as well.
- The equity curve only rises in one market period.
- The profit disappears when costs double.
None of these is proof of failure on its own, but each one is a reason to keep testing instead of trading.
Worked example: is ++0.15R a trade real?
Say your backtest has 120 trades with an average of +0.15R and a standard deviation of 1.3R per trade. The standard error of the average is 1.3R ÷ √120 = 0.119R, so the t-statistic is +0.15R ÷ 0.119R = 1.26.
That is encouraging but not convincing: with numbers like these, an edge of zero is still plausible. To reach a t-statistic of two with the same average and spread, you need (two × 1.3R ÷ +0.15R)² ≈ 301 trades, which is 181 more than you have, about 2.5 times the history you tested. That is what “more data” means in practice.
What to do next
- Run a strategy on the free backtester and look at the trade count before the profit.
- In Matana Labs, run the 31 robustness checks: out-of-sample, walk-forward, doubled costs, execution delay and random entries are among them, and the result is a score out of 100. How to run them.
- Read how the checks are scored and what the engine can’t know.
Related questions and tools
- How to statistically validate a trading strategy
- How do I know if my trading results are just luck?
- Robustness checks: the 31 tests behind the score
- Backtest a trading strategy free, no signup
- How to find your trading edge
- How to detect an overfitted trading strategy
Test your own strategy in Matana Labs, from free All answers
Questions
Is a profitable backtest proof that a strategy works?
No. It shows how a set of rules would have done on one past history. Whether that result was luck, a kind fill model or tuning to that history is what the extra tests are for.
What t-statistic should a trading strategy have?
Two or more on the average trade is a common minimum, and higher if you tried many variants before picking this one, because the best of many tries looks good by chance. Below two, treat the strategy as unproven rather than broken.
How long should I paper trade a strategy before using money?
Long enough to collect a meaningful number of new trades, and to see whether live fills match the backtest. There is no fixed number of weeks: a strategy that trades daily gets there far sooner than one that trades monthly.