Candlesview Open charts
Blog › Testing ideas

Why most backtests lie, and three checks that catch it

· 5 minute read · Testing ideas

Fees left out, a higher timeframe that peeks into the future, and too few trades: three mistakes behind most beautiful backtests, with the arithmetic to catch each one.

A backtest is a filter, not proof

A backtest replays a rule on old candles and adds up the trades. It is the fastest way to throw out a bad idea, and also the easiest place to fool yourself. Three mistakes cause most of the damage.

1. No fees

A taker fee of 0.05% sounds tiny. A strategy that trades 300 times a year pays it 600 times, once in and once out: 300 x 2 x 0.05% = 30% of the account in a year, before slippage. Scalping rules that look great before costs often turn negative after them. Every backtest should charge the fee you really pay on every entry and every exit.

2. Looking into the future

Say the rule is to buy on the 15-minute chart only when the 4-hour trend is up. If the backtest reads the 4-hour candle that is still forming, it already knows how that candle will close. The result looks brilliant and cannot be repeated live. A higher-timeframe filter may only use the last closed candle.

3. Too few trades, too much tuning

Twenty trades prove very little. Change the settings until the curve looks good and you have fitted the past, not found an edge. Aim for 100 or more trades, then test the same settings on a period you did not tune on.

How Candlesview handles these

Fees and slippage are charged on every fill, including when a strategy adds to a position. Higher-timeframe filters read only the last closed candle. Results show the trade count next to the return, and a fee stress test reruns the strategy at 0x, 1x, 2x, 3x and 5x fees.

Pick one strategy you believe in. Run it once with fees at zero and once with your real fee. If the gap shocks you, the backtest just saved you money.

To take away

  • 300 trades at 0.05% a side cost about 30% a year in fees.
  • A higher-timeframe filter may only use closed candles.
  • Aim for 100+ trades and test on a period you did not tune on.

Try it

BacktesterCompare every backtest with holdingStrategy libraryCrypto backtesting

Lessons on this topic

Lesson: Backtesting basics

Related posts

Testing ideas · 4 minCompare every backtest with simply holding

A backtest that made 18% sounds good until you learn the market rose 30% over the same months. The comparison with holding is the first check, not the last.

21 November 2026
Testing ideas · 5 minMixing timeframes without looking into the future

A daily trend filter on an hourly chart is a sound idea that is easy to test wrongly. The rule is simple: a higher-timeframe candle only counts once it has closed.

19 November 2026
Testing ideas · 5 minEight matches is not evidence

A scan matched 8 times and price rose after 6 of them. That feels like 75%. Here is why it says almost nothing, and what to compare it with before believing it.

20 November 2026

Education only. Nothing here is financial advice or a recommendation to buy or sell anything; examples are arithmetic, not results. Trading involves a high risk of losing money.