Reading backtest results: what the numbers actually mean
Net profit is the worst metric. The numbers that matter are drawdown, profit factor, and exposure-adjusted return.
Intermediate9 min readBeginner → AdvancedLesson 12 / 17
Try it in TradingView
Same strategy, with the metrics on screen
The table shows net profit, max drawdown, win rate, and profit factor. Cross-check it against the Strategy Tester tab — and note how slippage=2 changes everything.
1. Open any chart in TradingView and click Pine Editor at the bottom.
2. Select everything in the editor and paste this over it, then click Save.
3. Click Add to chart. Open the Strategy Tester tab if it is a strategy.
The Overview tab
Net profit, max drawdown, win rate, profit factor, avg trade. Most beginners look at net profit first. That is the wrong metric — a strategy with $50k profit and 60% max drawdown is much worse than one with $30k profit and 12% drawdown, on a risk-adjusted basis.
What to read first
Max drawdown is the worst peak-to-trough equity loss during the backtest. If it is over 25%, the strategy has a survivability problem — many retail CFD accounts will not survive a 25% drawdown.
Profit factor is gross profit / gross loss. Above 1.5 is decent; above 2.0 is strong; below 1.2 is fragile.
Avg trade / avg win / avg loss tells you the structure. If avg win is 0.8x avg loss, you need a >55% win rate to break even. Most CFD strategies either have high win rate with small wins (mean-reversion) or low win rate with large wins (trend-following).
The Performance Summary
Per-year returns, per-month returns, the long/short breakdown. A strategy that made all its money in one outlier year is not a strategy — it is a tail event. Look for consistency across years.
The List of Trades
Every simulated trade, with entry bar, exit bar, PnL, and the equity curve point. Scroll through this. If you see big losses clustered together, the strategy has a regime dependency. If you see clusters of wins followed by clusters of losses, the edge decays — a red flag.
Common backtest pitfalls
Overfitting — too many parameters tuned to history. Look-ahead bias — using future data the strategy wouldn't have at decision time. Survivorship — testing only on instruments still trading today. Slippage underestimation — assuming fills at the backtested price with no slippage; for CFDs add at least 1 tick of slippage per side.
The honest answer
A backtest that looks too good to be true is too good to be true. If max drawdown is below 5% and the equity curve is a smooth line going up, you almost certainly have a bug or a look-ahead.
What you just did
Lesson 12 of 17 in TradingView PineScript for CFD Traders. When you have run the examples or read the section, tick it off and move to the next lesson.