Win Rate, Profit Factor and Expectancy: What Do They Measure?

Wait 5 sec.

Win Rate, Profit Factor and Expectancy: What Do They Measure?S&P 500SP_DLY:SPXTrendAdvantageπŸ“Š Win Rate, Profit Factor and Expectancy: How Well Do They Describe a Strategy's Results? πŸ“Œ Summary β€’ Tested on two strategies, 92 US stocks and 20 years of daily data. β€’ Profit factor and expectancy describe a backtest's profitability well. Win rate does so only moderately. β€’ None of the three reflects drawdown well, because drawdown depends on the sequence of wins and losses. β€’ Use profit factor or expectancy to judge profitability, and always check drawdown separately. ──────────────────────────────────────── ❓ The Question When traders look at a backtest, three numbers usually come first: win rate, profit factor and expectancy. All three are shown in the TradingView strategy report. However, how well does each one reflect the results that matter: how much the strategy made, and how deep the drawdowns were during the investment period? ──────────────────────────────────────── πŸ“ The Three Metrics Win rate The percentage of closed trades that ended in profit. Win rate = (Number of winning trades Γ· Total number of trades) Γ— 100% On TradingView: shown as Profitable trades (Key stats). β€’ What it measures: how often the strategy produced profitable trades. It does not reflect how much is won or lost. β€’ Where it misleads: a tight take-profit and a wide stop-loss can push win rate above 80% while the strategy still loses money. A few large losses can offset many small wins. A trend-following strategy can be profitable with a win rate of 35%. Profit factor The total profit of all winning trades divided by the total loss of all losing trades. Profit factor = Gross profit Γ· Gross loss On TradingView: shown as Profit factor (Key stats). β€’ What it measures: how much the strategy made for each unit it lost. Above 1 means profitable overall; below 1 means a net loss. β€’ Where it misleads: it ignores the number of trades, so a profit factor of 3.0 from 12 trades is far less reliable than 1.5 from 300. One outlier win can inflate it. It cannot be calculated when there are no losing trades. It also does not reflect the size of drawdowns. Expectancy The average profit or loss per trade. Expectancy = (Win rate Γ— Average win) βˆ’ (Loss rate Γ— Average loss) On TradingView: shown as Expectancy (Trades analysis β†’ Distribution), in money. This study uses the percentage version: the average of the Net PnL % column in the List of trades, so that every trade counts equally despite compounding. β€’ What it measures: how much the strategy gains or loses on an average trade. It can be shown in money (e.g. +$60 per trade), as a percentage (e.g. +1.2% per trade), or compared with the amount risked on each trade: an expectancy of 0.6R means that for every $100 you risk, you make $60 on average. β€’ Where it misleads: it is a per-trade figure, so it ignores how often the strategy trades. Lower expectancy with many more trades can make more money in total. Like the other two, it ignores the order of trades, and therefore drawdown. How they are linked All three are built from the same components: win rate and the sizes of the average win and average loss. Profit factor depends only on win rate and the payoff ratio (average win Γ· average loss): Profit factor = Γ— Payoff ratio For example, a win rate of 40% with a payoff ratio of 2 gives a profit factor of (0.40 Γ· 0.60) Γ— 2 = 1.33. Win rate alone tells you nothing about profitability unless you also know the payoff ratio. ──────────────────────────────────────── πŸ§ͺ How the Test Works Two strategies, one of each major style β€’ Trend following: price and the 20-day simple moving average. Buy when the close crosses above the 20-day SMA; sell when it crosses below. Strategies like this usually win less often but rely on a few large gains. β€’ Mean reversion: RSI 35/65. Using the 7-period RSI, buy when the RSI crosses below 35; sell when it crosses above 65. Strategies like this usually win more often but rely on many small gains. The 7-period RSI is used instead of the standard 14-period RSI because the longer period produces too few trades on daily stock data to measure reliably. Same conditions for every stock β€’ 92 large capitalization US-listed stocks, daily bars, 31 Mar 2006 to 31 Mar 2026 β€’ Long only. Signals on the close; orders filled at the next bar's open. β€’ Each trade uses 100% of equity, so results compound. β€’ Transaction cost of 0.10% per side, covering commission and price slippage. All figures are after costs. β€’ No optimisation: settings were fixed before the test. β€’ No stop-loss or take-profit. What is compared For each stock and each strategy, the three metrics are calculated and compared with three results: β€’ Cumulative return: how much the strategy made β€’ Maximum drawdown: the deepest decline from a previous equity peak β€’ Return Γ· maximum drawdown: how much return it delivered for each unit of drawdown The comparison uses a rank correlation (ρ). It asks a simple question: if you rank the 92 stocks by the metric and again by the result, how similar are the two rankings? β€’ ρ = 1: the rankings are identical β€’ ρ = 0: no relationship β€’ ρ = βˆ’1: the rankings are reversed For drawdown, the strength of the link is how far ρ is from 0. A negative ρ means a higher metric goes with a shallower drawdown, which is the favourable direction. ──────────────────────────────────────── πŸ“Š Results What the strategies produced Median stock over 20 years: β€’ 20-day SMA: win rate 31.0%, profit factor 1.11, expectancy 0.16% per trade, cumulative return 10%, maximum drawdown 56% β€’ RSI(7) 35/65: win rate 71.8%, profit factor 1.83, expectancy 1.45% per trade, cumulative return 234%, maximum drawdown 52% The trend-following strategy won less than one trade in three, and 40 of the 92 stocks lost money. The mean-reversion strategy won more than seven trades in ten, and only 5 stocks lost money. How closely each metric matches each result Rank correlation (ρ), 20-day SMA first, then RSI(7) 35/65. * = statistically significant. Cumulative return β€’ Win rate: 0.57* | 0.66* β€’ Profit factor: 0.99* | 0.92* β€’ Expectancy: 0.98* | 0.95* Maximum drawdown β€’ Win rate: βˆ’0.27* | βˆ’0.19 β€’ Profit factor: βˆ’0.50* | βˆ’0.44* β€’ Expectancy: βˆ’0.44* | βˆ’0.06 Return Γ· maximum drawdown β€’ Win rate: 0.57* | 0.65* β€’ Profit factor: 0.99* | 0.95* β€’ Expectancy: 0.98* | 0.89* The main table above shows these correlations. The scatter plots below show the data behind these correlations. How to read the scatter plots Each dot is one stock. Blue dots are the 20-day SMA strategy and orange dots are the RSI(7) 35/65 strategy. ρ is calculated separately for each colour. The horizontal axis shows the metric: win rate, profit factor or expectancy. The vertical axis shows cumulative return (left column) or maximum drawdown (right column). β€’ Dots that rise from left to right show a positive link; dots that fall show a negative one. On the drawdown charts, a falling pattern is the favourable direction: a higher metric goes with a shallower drawdown. β€’ The more closely the dots follow a single path, the stronger the link. The path does not have to be straight. ρ measures whether the two rankings agree, so a curve that keeps rising still gives a ρ close to 1. β€’ The return axis uses a log scale so that losses and gains of several hundred percent fit on one chart. This changes how the pattern looks, not ρ. β€’ An asterisk (*) means the link is statistically significant: it is unlikely to be due to chance. How strong the link is depends on the size of ρ. 1. Return: profit factor and expectancy match it almost perfectly, win rate only moderately Profit factor and expectancy rank the stocks almost exactly as cumulative return does (ρ 0.92 to 0.99). Win rate does so only moderately (0.57 and 0.66). Stocks with the same win rate ranged from large losses to gains of several hundred percent. However, the near-perfect match is largely arithmetic. Profit factor, expectancy and cumulative return are all built from the size of the same wins and losses, so they are bound to agree. Win rate counts only how many trades won, not by how much, which is why it agrees less. The result confirms that profit factor and expectancy describe a backtest's profitability well, and much better than win rate does. 2. Drawdown: none of the three metrics captures it well The links with drawdown are weak to moderate. Profit factor does best (ρ βˆ’0.50 and βˆ’0.44), but even so, stocks with similar profit factors often had very different drawdowns, so profit factor says only a little about how deep a strategy's losses can go. Win rate's link is weak, and for the RSI strategy it is not significant. Expectancy shows a moderate link for the moving-average strategy and almost none for the RSI strategy. 3. Why: drawdown depends on the order of trades To investigate further, we used the actual 297 trades from one stock, Goldman Sachs (GS), produced by the 20-day simple moving average. We kept every trade exactly as it was, but shuffled the order in which they occurred. We repeated this 2,000 times, which gave us 2,000 alternative histories of the same strategy with the same trades. The chart below shows three equity curves: the actual order, and the shuffles with the shallowest and the deepest drawdown. In all 2,000 equity curves, the win rate (31.6%), profit factor (1.11), expectancy (0.20% per trade) and final return (8%) stayed exactly the same, because none of these depend on the order of the trades. Maximum drawdown varied considerably. In the actual order it was 66% (measured on closed trades). Across the shuffled versions it ranged from 39% in the most favourable order to 89% in the least favourable. So two strategies can have identical win rate, profit factor and expectancy, and still reflect a very different investment experience. One might fall 39% from its peak at its worst point, which takes a 64% gain to recover. The other might fall 89%, which takes a gain of about 800% to recover, and in practice most traders would abandon the strategy, or run out of capital, long before that. The order in which wins and losses arrive, especially whether losses cluster together, determines the depth of the drawdown. None of the three metrics can capture that. 4. Return Γ· drawdown: tracked closely by profit factor and expectancy Profit factor and expectancy match this ratio closely (ρ 0.89 to 0.99), mainly because return is its numerator. Win rate again matches it only moderately. 5. How well a metric works depends on the strategy The same metric did not describe both strategies equally well. The clearest case is expectancy and drawdown: a moderate link for the moving-average strategy (ρ βˆ’0.44), but almost none for the RSI strategy (βˆ’0.06). Win rate's link with drawdown was also significant for the moving-average strategy (βˆ’0.27) but not for the RSI strategy (βˆ’0.19). Part of the reason is how each strategy reacts to volatile stocks. With the RSI strategy, more volatile stocks tended to have larger rebounds after dips, which raised expectancy, but they also fell further before recovering, which deepened drawdown. Normally, stocks with higher expectancy tend to have shallower drawdowns, but with the RSI strategy this volatility effect was strong enough to offset that pattern. As a result, there is no clear relationship between expectancy and drawdown for the RSI strategy, so expectancy says almost nothing about its drawdowns. Profit factor was the most consistent: its links with return and drawdown were similar for both strategies. So before relying on any metric, consider the type of strategy it is describing. A metric that works well for one strategy might fail to capture the characteristics of another. ──────────────────────────────────────── πŸ’‘ What This Means for Traders β€’ Don't judge a strategy by win rate alone. It was the weakest description of return for both strategies, and a 31% win rate was normal for the trend-following strategy. β€’ Profit factor and expectancy summarise profitability well. They are the better choice for describing how profitable a backtest was. β€’ Read expectancy together with the number of trades. It is a per-trade figure: the same expectancy over many more trades compounds into a much larger return. β€’ None of the three is a risk measure. They cannot tell you how deep the drawdowns were. Always check maximum drawdown, or a ratio such as return Γ· drawdown, separately. β€’ Match the metric to the strategy. Expectancy described drawdown moderately for the trend-following strategy and hardly at all for the mean-reversion strategy. Profit factor was the most consistent across both. ──────────────────────────────────────── ⚠️ A Word of Caution: Describing Is Not Predicting The analysis above describes results that have already happened. Many traders, however, use these metrics to choose a strategy or its settings, selecting the one with the highest profit factor or expectancy in the backtest and assuming it will keep performing the same way. A metric can summarise past trades perfectly and still say little about how future trades will turn out. Strong backtest numbers describe what the strategy did. They are not a forecast of what it will do next. ──────────────────────────────────────── πŸ”¬ How It Was Tested (For Readers Who Want the Detail) β€’ Correlations are Spearman rank correlations across the 92 stocks, calculated separately for each strategy. β€’ 95% confidence intervals were estimated by bootstrap resampling of stocks (10,000 resamples). They were used to check how precise each correlation is (not shown). β€’ "Significant" means significant after Benjamini–Hochberg false discovery rate (FDR) correction across the nine correlations for each strategy (q < 0.05). β€’ Expectancy is the average net percentage result per trade. Profit factor is calculated from percentage results, so early and late trades count equally despite compounding. β€’ Maximum drawdown is measured daily, including open trades. The trade-shuffling test in section 3 uses drawdown on closed trades, because shuffling works on whole trades. β€’ Every stock had at least 89 trades with each strategy (median 301 for the 20-day SMA and 102 for RSI), and at least 21 losing trades, so profit factor was always defined. β€’ All backtests and statistics were computed in Python. ──────────────────────────────────────── 🚧 Limitations β€’ The results apply to two simple strategies over one 20-year period. Other strategies, settings or markets may behave differently. β€’ The mean-reversion strategy has no stop-loss, so it includes occasional long losing trades. A version with a stop would behave differently. β€’ The 92 stocks are large companies listed today. Companies that were delisted, acquired or went bankrupt during the period are not included, so the results may be affected by survivorship bias. β€’ Stocks are not fully independent: they move with the same market and sector conditions, so the confidence intervals may be somewhat narrower than they would be for fully independent observations. This Idea is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Win Rate, Profit Factor and Expectancy Study β€” Educational Reference by TrendAdvantage