TradingView Backtest & Robustness Lab

How to Read Backtest Results: Profit Factor, Expectancy, Sharpe and Drawdown

How to Read Backtest Results: PF, Expectancy & Drawdown | SG Group

Learn / Backtest Metrics · BT03

How to Read Backtest Results: Profit Factor, Expectancy, Sharpe and Drawdown

If the numbers in the Strategy Tester leave you unsure whether a result is good, the cause is usually that you are hunting for one good figure. To read backtest results well, treat them as five groups—return, efficiency, downside risk, stability and data sufficiency—and judge how the metrics relate once the assumptions are aligned. This guide walks through each metric’s formula, interactions and caveats in a systematic order.

Reading timeAbout 12 minutes
Updated13 July 2026
LevelBeginner to intermediate
SeriesBacktesting BT03
  • Understand each metric’s formula and how the metrics depend on one another.
  • Avoid the classic mistakes of judging by win rate alone or net profit alone.
  • Compare three fictional strategies across all five KPI groups.
  • Use a self-check calculator to estimate win rate, payoff ratio, expectancy and profit factor.

Framework

Read the numbers as five groups, not one good figure

The starting point for how to read backtest results is to stop grading metrics one at a time. A single impression—large net profit, high win rate—misleads readers easily. In practice, you organise the many available metrics into the following five groups and read the whole picture as a balance between them.

  • Return: net profit, gross profit and gross loss, profit factor, expectancy. The direction and size of what was earned.
  • Efficiency: win rate, average win, average loss, payoff ratio. The quality of a single trade.
  • Downside risk: maximum drawdown, recovery period, Calmar, Ulcer. How far the equity falls.
  • Stability: Sharpe, Sortino, SQN, subperiod consistency. Dispersion and repeatability.
  • Data sufficiency: trade count, confidence intervals, distribution, outliers. How far the conclusion can be trusted.

For the wider picture, the complete TradingView backtesting workflow guide sets out the full context. This article zooms in on one part of it—how to read the numbers. Start by mapping the five groups and their metrics.

Five-group KPI map The five groups—return, efficiency, downside risk, stability and data sufficiency—shown side by side with the main metrics in each. All figures are fictional, for education only. Return Net profit Gross profit / loss Profit factor Expectancy Efficiency Win rate Average win Average loss Payoff ratio Downside risk Maximum drawdown Recovery period Calmar Ulcer Index Stability Sharpe Sortino SQN Subperiod consistency Data sufficiency Trade count Confidence interval Distribution Outliers Judge on the balance of all five groups—never conclude from one group alone.
Fictional, illustrative dataFigure 1: The main KPIs organised into five groups. The grouping and labels are one teaching example; classifications vary in the literature.

Premises

Fix the assumptions before you read any number

The same metric means something completely different under different assumptions. Before you begin reading numbers, confirm at least the following seven items. Comparing two backtest results whose premises are not aligned—by metric size alone—produces unstable conclusions.

  • Period: from when to when, and which regimes—uptrend, downtrend, range—it covers.
  • Symbol: the instrument, and the nature of its volatility and liquidity.
  • Timeframe: one-minute versus daily changes both trade count and distribution.
  • Initial capital: the reference point for interpreting drawdown and risk of ruin.
  • Position sizing: fixed lot or compounding—each shifts how the metrics look.
  • Costs: whether spread, commission and slippage are reflected.
  • Trade count: the sample size that governs how much to trust the conclusion.

For preparing the source data, see exporting the Strategy Tester trade list to CSV; for building in costs, see how to model spread, commission and slippage. Gross figures that ignore costs, in particular, tend to diverge sharply from live performance.

Profitability

Net profit, gross profit and gross loss

Net profit is the final change in balance after gross loss is subtracted from gross profit. First split it into gross profit and gross loss, then separate the figure before costs (gross) from the one after costs (net). Looking only at the single net-profit number hides the bias buried inside its components.

Net profit = Gross profit − Gross loss / Net (after costs) = Gross net − Total costs (commission, spread, slippage)

For example, even a large net profit is doubtful in repeatability if most of it comes from one or two outsized winners. Conversely, subtracting costs can flip net profit from positive to negative, so the larger the gap between gross and net, the more the cost assumptions decide the conclusion. Always decompose net profit into gross profit, gross loss and distribution before reading it.

Efficiency

Win rate, average win, average loss, payoff ratio and expectancy

The efficiency group measures the quality of a single trade. Win rate is the share of winning trades; payoff ratio is the average win divided by the average loss. Most important is the figure that unites them—expectancy, the average profit or loss per trade.

Payoff ratio = Average win ÷ Average loss / Expectancy = Win rate × Average win − (1 − Win rate) × Average loss

The key fact here is that win rate alone cannot rank strategies. Even a high win rate can produce negative expectancy when the average loss greatly exceeds the average win. Conversely, a win rate below 40% can still yield positive expectancy when the payoff ratio is high enough. Plotting win rate against payoff ratio on a 2×2 grid reveals a strategy’s character.

Win rate versus payoff ratio 2×2 matrix Win rate high or low on the vertical axis and payoff ratio high or low on the horizontal axis, with the character of a strategy in each of the four quadrants. The example strategies are fictional, for education only. Win rate high Win rate low Payoff low Payoff high Grind-it-out High win rate, low payoff. One big loss can wipe out many small gains. e.g. Strategy B (win rate 61%) Too good to be true High win rate, high payoff. Suspect overfitting first when results look this clean. Verify (rare) Negative-expectancy zone Low win rate, low payoff. Prone to losing to costs; hard to sustain. Trend / breakout Low win rate, high payoff. Needs the capital and discipline to sit through streaks. e.g. Strategy A (win rate 38%)
Fictional, illustrative dataFigure 2: A strategy’s character seen through win rate and payoff ratio. Strategies A and B here use the same fictional data as the comparison table below.

This relationship is why a strategy with both a conveniently high win rate and a high payoff ratio warrants caution about over-optimisation. For more, see detecting overfitting through parameter stability.

Profit Factor

Profit factor: meaning and pitfalls

Profit factor (PF) is gross profit divided by gross loss. It is widely used as a summary of profitability: above 1 means a cumulative gain, below 1 a cumulative loss.

Profit factor = Gross profit ÷ Gross loss

Useful as it is, PF has several pitfalls. First, it is unstable on a small sample—one large winner sends it soaring and one large loser makes it crash. Second, it is sensitive to outliers: a PF propped up by a single outsized winner can have low repeatability. Third, no universal pass line exists. Do not accept a fixed rule such as “PF above X is good”; always read it alongside trade count, drawdown and distribution. PF is only one input for comparison.

Reading tip: a PF of 1.5 over 50 trades and a PF of 1.5 over 500 trades carry very different confidence. Prioritise the backing of sample size and distribution over the apparent precision of the number.

Risk-adjusted

Sharpe, Sortino and SQN (risk-adjusted metrics)

Risk-adjusted metrics measure efficiency by dividing return by dispersion (risk). The Sharpe ratio divides return by standard deviation; the Sortino ratio divides by downside deviation. SQN (System Quality Number) combines expectancy, dispersion and trade count.

Sharpe ≈ (Average return − Risk-free rate) ÷ Standard deviation of returns

These are powerful, but they depend heavily on assumptions. The calculation frequency (daily or per trade), the risk-free-rate setting and the sample period all change the value, and even the annualisation method shifts how it looks. A higher Sharpe is not always better, and with few trades it can swing high or low. Interpret it from several angles—alongside Sortino, SQN and the actual return distribution.

Downside

Drawdown and recovery (max DD, Calmar, Recovery, Ulcer)

The downside-risk group looks at how far the equity curve falls from its peak. Maximum drawdown (max DD) is the largest such decline in the past data. Related measures include Calmar—annualised return divided by max DD—Recovery Factor—net profit divided by max DD—and the Ulcer Index, which evaluates both the depth and the duration of declines.

Calmar ≈ Annualised return ÷ Maximum drawdown / Recovery Factor = Net profit ÷ Maximum drawdown

The point to remember is that max DD is “the worst so far,” not “the ceiling from here.” The future can exceed it. There is no single answer to what percentage is acceptable—it changes with capital and objectives. The length of the recovery period matters too: for the same depth, a strategy that takes longer to recover imposes a heavier psychological and financial burden. For detailed drawdown calculation, recovery period and how to read Calmar and Ulcer, see maximum drawdown explained. For sequence risk and the risk of ruin from losing streaks, Monte Carlo risk-of-ruin testing is a useful companion.

Sample

Trade count, confidence intervals, distribution and subperiods

However good the metrics look, a small sample makes the conclusion untrustworthy. With few trades, the confidence interval around each metric widens, and you mistake a lucky sequence for skill. In a sample of a few dozen, one large winner or losing streak dominates the whole view.

  • Trade count: the sample size that sets confidence. If small, keep the reading provisional.
  • Confidence interval: win rate and PF carry a range—do not treat a point estimate as precise.
  • Distribution and outliers: look beyond the average at the spread and the extreme values.
  • Subperiods: check whether the tendency holds when the full period is split.

Whether the edge survives when you split the period into halves—or finer slices—is a clue to overfitting. The idea of validating across time slices is covered in depth in walk-forward and out-of-sample analysis. Read numbers with an eye to “how far can I trust this,” not “how many decimals of precision.”

Worked example

Read the metrics together across three example strategies

Metrics only gain meaning in combination. Compare three fictional strategies—A, B and C—whose assumptions (period, symbol, timeframe, initial capital and cost conditions) are aligned. Every number below is fictional, illustrative data, and all profit-and-loss figures are stated in account-currency units.

Table 1: Fictional, illustrative comparison of Strategies A / B / C (all assumptions assumed identical). Profit-and-loss in account-currency units.
Metric Strategy A Strategy B Strategy C
Trade count250500100
Win rate38%61%55%
Average win+18,000+6,200+11,000
Average loss−7,500−9,800−8,000
Payoff ratio2.400.631.38
Expectancy / trade+2,190−40+2,450
Profit factor1.470.991.68
Net profit+547,500−20,000+245,000
Maximum drawdown14.2%22.8%9.6%
Sharpe (reference)0.90.11.2

Comparing profit factor with the mini-bars, Strategy C is highest and Strategy B sits below 1.

Profit-factor comparison (baseline at 1.0)

Strategy A 1.47
Strategy B 0.99
Strategy C 1.68
Fictional, illustrative dataFigure 3: The profit factors from Table 1 shown as bars. Bar lengths are a rough visual for relative comparison; refer to the numbers for exact ratios.

The reading points are as follows. Strategy B has the highest win rate at 61%, yet its average loss exceeds its average win, so expectancy is slightly negative and PF dips below 1—the classic case you would miss by watching win rate alone. Strategy A has a low 38% win rate, but the 2.40 payoff ratio drives the highest expectancy and net profit; because the win rate is low, though, it must withstand losing streaks. Strategy C balances expectancy, PF and max DD well, but with only 100 trades the confidence in its conclusion needs a caveat. For an integrated view of several strategies under aligned assumptions, see multi-strategy portfolio backtesting.

The net profit, PF, expectancy and drawdown covered so far can be aggregated and visualised as core KPIs, free, by loading a CSV or XLSX into the SG Group Backtest & Robustness Lab. Instead of hand calculations, you can check the same metrics directly on your own trade history.

Dependency

Why you must not judge a metric in isolation

As we have seen, the metrics depend on one another. Win rate gains meaning only with payoff ratio, PF only with trade count, and Sharpe only with the assumptions and the sample. Pulling out one number to pass or fail a strategy is the reading most likely to mislead.

Dependencies between metrics A central overall assessment to which win rate, payoff ratio, trade count, drawdown and the underlying assumptions all contribute interdependently, shown with arrows. Overall (balance of 5 groups) Win rate read × payoff ratio Profit factor read × trade count Drawdown read × recovery period Sharpe read × assumptions, sample Assumptions (period, symbol, cost)
Fictional, illustrative dataFigure 4: A dependency map for avoiding isolated judgement. Each metric should always be read together with its partner metric.

In short, rather than finding one good number and stopping there, the heart of how to read backtest results is a mindset that scans across all five groups to ask, “where is the weakness?”

Self-check

Self-check calculator (win rate, payoff ratio, expectancy, PF)

Enter wins, losses, average win and average loss, and the tool estimates win rate, payoff ratio, expectancy and profit factor for educational purposes. Values are computed only in your browser and are never sent anywhere. First confirm how the formulas move with the worked example (Table 2) below, then swap in your own numbers in the tool beneath it.

Table 2: Static worked example (Strategy A fictional data; reference if the tool does not run). Amounts in account-currency units.
Input / resultValueFormula
Wins95input
Losses155input
Average win18,000input
Average loss7,500input
Win rate38.0%95 ÷ (95+155)
Payoff ratio2.4018,000 ÷ 7,500
Expectancy / trade+2,1900.38×18,000 − 0.62×7,500
Profit factor1.47(95×18,000) ÷ (155×7,500)
Win rate38.0%
Payoff ratio2.40
Expectancy / trade+2,190
PF1.47

These are comparison inputs, not pass thresholds. Interpret them together with trade count, drawdown and the underlying assumptions.

The calculation runs entirely in your browser and sends no input values or trade files externally. Blanks, zeros and negatives are handled safely; when PF cannot be defined—for example with no losing trades—it is shown as “—”.

Checklist

Practical checklist and summary

Finally, here is a practical checklist for how to read backtest results. The conclusion is simple: do not hunt for one good number—scan across the five groups for weaknesses.

  • Have you aligned the assumptions (period, symbol, timeframe, initial capital, sizing, costs, trade count)?
  • Have you decomposed net profit into gross/net, gross profit/loss and distribution?
  • Have you read payoff ratio and expectancy together, not just win rate?
  • Have you read PF and Sharpe with the backing of trade count and assumptions?
  • Have you checked the shape of downside risk with maximum drawdown and recovery period?
  • Have you estimated confidence from trade count, confidence intervals and subperiods?
  • Have you judged relatively, without taking any universal pass threshold at face value?

When you want to check these on your own trade history, the next step is validation with real data. Once you need saving, comparison, KPI-reliability assessment or deeper dives into return distributions and rolling statistics, the Pro features help. Start free with the basic analysis first.

FAQ

Frequently asked questions

Which metric should I check first in a backtest?
Start with trade count and expectancy. Trade count tells you how much to trust the sample, and expectancy shows the average profit-or-loss direction per trade. Then read net profit, profit factor and maximum drawdown together, and never conclude from a single number.
What is a good profit factor?
There is no universal pass line. Profit factor is gross profit divided by gross loss: above 1 means a cumulative gain, below 1 a cumulative loss. Because it swings on a small sample or one large winner, always read it alongside trade count and drawdown.
Is win rate or expectancy more important?
In practice, expectancy matters more. A high win rate can still produce negative expectancy when the average loss exceeds the average win. Only when you view win rate, average win, average loss and payoff ratio together does expectancy become meaningful.
Is a higher Sharpe ratio always better?
Not necessarily. Sharpe depends on the calculation frequency, the risk-free-rate assumption and the sample period, and it can look inflated or understated when trade count is low. Interpret it alongside other risk-adjusted measures such as Sortino and SQN and the actual return distribution.
What maximum drawdown is acceptable?
There is no single acceptable figure; it depends on capital, objectives and the intended horizon. Maximum drawdown is only the worst decline seen in past data, and the future can exceed it. Read it together with recovery period, Calmar and Ulcer to understand the shape of downside risk.
Why is a small trade count a problem?
With few trades, the confidence interval around each metric widens and you can mistake a lucky sequence for skill. In a sample of a few dozen, one large winner or losing streak dominates the picture. Check whether the edge holds across subperiods and whether you can gather more trades.
Can a large net profit still be misleading?
Yes. Even a large net profit is fragile if most of it comes from one or two outsized trades, or if the intervening maximum drawdown was extremely deep. Net profit should be decomposed into gross profit, gross loss, drawdown and distribution before you trust it.
Can I compare different strategies with the same metrics?
You can, provided the assumptions match. When period, symbol, timeframe, initial capital, costs and trade count differ, the same metric means different things. Align the assumptions first, then compare across all five groups: return, efficiency, downside risk, stability and data sufficiency.

Disclaimer

This article is for education and information—descriptively aggregating, visualising and analysing loaded backtest data. It does not recommend buying or selling any instrument, does not provide entries, exits, price forecasts, profit guarantees or ideal parameters or lot sizes, and is not investment advice. All figures and Strategies A / B / C shown are fictional, illustrative data and do not represent real performance, user numbers or conversion rates. Backtesting is validation on past data and does not guarantee future results; outcomes change with the assumptions, data and costs applied. No universal pass criteria exist for these metrics, and any reference points given are one example for relative comparison. TradingView’s names, interface and specifications can change, and this article implies no partnership, certification or endorsement by TradingView. SG Group features, pricing and free-plan scope can change; please check the latest details on the relevant service and plan pages.