Profit factor is one of the first numbers visible in the TradingView Strategy Tester. It has a simple definition and is easy to compute, which makes it tempting to treat as a headline measure of quality. It is useful, but it has a specific failure mode that causes traders to overrate it — and understanding that failure mode is what makes the number actually informative.
What profit factor is
Profit factor is gross profit divided by gross loss. Gross profit is the sum of all winning trades. Gross loss is the sum of all losing trades, expressed as a positive number. A profit factor of 1.5 means the strategy made $1.50 for every $1.00 it lost. A value above 1.0 means more money came in than went out. Below 1.0, the strategy is a net loser. Use the profit factor calculator to compute it from your own gross figures.
The formula is arithmetically equivalent to: (win rate × average win) ÷ (loss rate × average loss). This means profit factor and expectancy encode the same information in different forms. A profit factor above 1.0 means positive expectancy; below 1.0 means negative expectancy. Neither tells you anything about drawdown, sample size, or whether the edge is stable across different market conditions.
A rough interpretation guide
| Profit factor | What it means | How to read it |
|---|---|---|
| Below 1.0 | Losing strategy | Stop here. The system is destroying capital. |
| 1.0 – 1.25 | Marginal | Barely profitable. High sensitivity to costs and slippage. |
| 1.25 – 1.5 | Acceptable | Worth investigating further if sample is large enough. |
| 1.5 – 2.0 | Good | A reasonable result with 100+ trades behind it. |
| Above 2.0 | Strong — or suspect | Excellent if sample is large. Likely overfitted if sample is small. |
The "strong — or suspect" label on values above 2.0 is not a mistake. A genuinely robust strategy rarely produces profit factors above 2.5 on a large, out-of-sample dataset. When a backtest shows 3.0, 4.0, or higher, the most likely explanation is a small sample, an overfitted parameter set, or a survivorship bias in the test data. The number deserves scrutiny, not celebration.
The sample size problem
This is where most traders misread profit factor. A profit factor of 2.5 on 12 trades is statistically indistinguishable from random. A coin that flips heads 8 times out of 12 does not have a 67% bias; it has normal variation. The same logic applies to a strategy: a small trade sample cannot confirm an edge, regardless of what the profit factor says.
| Trades | PF = 2.0 — confidence | PF = 1.4 — confidence |
|---|---|---|
| 10 | Very low — could easily be luck | Very low — meaningless |
| 30 | Low — borderline interesting | Very low — still noise |
| 100 | Moderate — worth examining | Low — starting to mean something |
| 300+ | High — likely a real edge | Moderate — reasonably trustworthy |
The practical implication: always check the trade count before reading any metric. If the Strategy Tester shows fewer than 50 trades, close it, change the date range or the timeframe, and come back when there is a meaningful sample. The full Strategy Tester metrics guide covers this problem across every metric in the panel.
What profit factor hides
Profit factor tells you the ratio of gross profit to gross loss. It says nothing about how the path between those two numbers looked. A strategy that produced a profit factor of 1.6 by slowly grinding upward for three years and one that produced 1.6 by going up 200%, falling 80%, and recovering are the same number. The second one is not tradeable for most people, and profit factor cannot distinguish them.
This is why profit factor is always paired with maximum drawdown. A profit factor of 1.5 alongside a 15% maximum drawdown is a very different result from a profit factor of 1.5 alongside a 65% maximum drawdown. The max drawdown calculator and the drawdown recovery calculator give the companion numbers that profit factor cannot.
Profit factor in the context of expectancy
Profit factor and expectancy are two views of the same underlying arithmetic. If you already know your win rate and average win and loss, you know both. Profit factor is the quicker number to compute from a Strategy Tester result; expectancy in R-multiples is more portable for comparing strategies traded at different sizes. For a full treatment of why expectancy is the more useful long-run predictor, see expectancy explained and the companion post on why win rate alone is misleading.
Getting these numbers from a Pine Script strategy
Profit factor is visible directly in the TradingView Strategy Tester once your rules are coded as a strategy. If you have an indicator with entry and exit signals and want to convert it into something the Tester can evaluate, the indicator to strategy guide walks through the exact conversion. PineScripter generates the strategy code from a plain-English description of your rules, so you can reach the Tester and start reading real profit factor numbers rather than estimating them from a chart.
Disclaimer: PineScripter is a coding tool for Pine Script development. It does not provide financial advice and does not guarantee trading profits. Always backtest strategies thoroughly and understand the risks before live trading.