Backtest

Term explained · 2 min read · Last reviewed on Nov 9, 2026

A backtest applies a fixed rule to past prices and shows what would have happened if you had followed it back then.

What does a backtest mean?

The rule must be fully fixed in advance: when an entry happens, where the stop is, when to exit. Then a program runs through the past candle by candle and may only know the prices up to the respective day. At the end come the individual trades, the largest drawdown of the portfolio and further key figures. Costs for fees and slippage belong in every honest backtest.

Example with model figures

A model rule: entry at the open after a close above the 20-day high, stop 2 ATR below, exit after 20 days. Over five model years 120 trades arise. If 0.3% costs are deducted per trade, a barely positive result before costs shrinks to zero. The calculation mainly shows how heavily costs weigh on a rule with many trades.

How to read it

A backtest shows how a rule would have behaved in the past – not a forecast. The more parameters you try, the more likely the rule happens to fit the old prices by chance (overfitting). That is why data is split into a period for developing and one for checking. If the rule does not hold in the checking period, it was presumably only fitted. A comparison with random entries of the same holding period and the same stop also helps. If the rule does no better than chance, it presumably has no edge of its own.

Common mistakes

A common mistake is to use prices that were not yet known on the day of the decision, such as the closing price for an entry the same morning. Second, costs are left out. Third, settings are tweaked until the result looks nice. And fourth, only today’s index members are tested, which makes the results friendlier.

How to use it on TickerEagle

With the matching subscription you can backtest your own watchlist with various chart methods – as a backtest, not as a forecast. The methodology page describes how we handle costs and timing.

Related terms

↑ ↓ select · Enter open · Esc close