TechAnalyzer Pro All GuidesENעברית

How to backtest a trading strategy without fooling yourself

A backtest is running a strategy's rules on historical data to see what would have happened. It's the only tool that turns a hypothesis into a tested method, and also the easiest way to fool yourself: almost every first backtest comes out profitable, and most of that profit disappears the moment you add costs, realistic execution, and stocks that no longer exist. This page is the protocol we work by, including the mistakes we caught in our own measurements.

The rule above all others: if you change the rules after seeing the result, you're no longer testing, you're fitting. A method fitted to the past explains the past perfectly and the future not at all.

Seven mistakes that turn a backtest into a story

The protocol

💡 The rule that saves you: when a backtest looks too good, look for the bug before you celebrate. A profit factor above 3 on hundreds of trades in daily data is almost always look-ahead bias or imaginary fills. It has happened to us twice.

What to do with the result

A method that passed the gates isn't a promise, it's a license to trade it small and keep measuring. A method that failed at one gate doesn't get "fixed" by tweaking it until it passes: you state one hypothesis for the change and test it on new data. All the hypotheses added to the engine this year (minimum risk-reward ratio, regime gate, closed-candle signal generation, extreme RSI blocking) went through the same process, and whatever we measured that didn't improve results was left out.

Want to see this on a real chart?

TechAnalyzer Pro analyzes any stock or cryptocurrency and marks the levels, patterns and indicators for you, with a plain-English explanation next to every term. No credit card required.

📈 A stock before its breakout, once a week by email

Each week, one stock with an interesting technical setup, and a simple explanation of what to check on the chart.

Free. One-click unsubscribe. Not investment advice.

Daily technical analysis of popular stocks

NVDA · AAPL · MSFT · TSLA · AMZN · META · GOOGL · AMD · AVGO · NFLX · PLTR · JPM · SPY · QQQ · all stocks

For general information and educational purposes only — not investment advice and not an offer or recommendation to buy or sell any security. TechAnalyzer Pro is not a registered investment adviser or broker-dealer and does not provide personalized advice. Analysis is generated automatically by fixed rules and may be wrong or out of date. Past performance is not indicative of future results. Trading involves substantial risk of loss. Do your own research and consult a licensed financial professional before making any investment decision.