1nTest · strategy backtester and trading bot builder

Profit factor (PF)

Profit factor is the sum of winning trades divided by the sum of losing trades. Above 1 the strategy made money; 1.5 means it earned $1.50 for every $1 lost.

What it means

PF close to 1 is fragile: a small change in costs or execution turns it into a loss. In our library, the order block example has PF 0.93 after costs — close to break-even.

PF says nothing about how deep the losing streaks are; read it together with drawdown.

How 1nTest computes it

1nTest calculates profit factor on net trade results, after commission, spread and swap.

Related concepts

← All concepts