Profit factor versus win rate

Win rate measures the fraction of trades with positive results. Profit factor divides the sum of gains by the magnitude of the sum of losses. For either metric, define a trade consistently and apply execution costs before classifying wins and losses.

Compare two sets of ten trades

Sample Positive trades Negative trades Win rate Profit factor Net
A 9 × 1 1 × −10 90% 0.90 −1
B 4 × 3 6 × −1 40% 2.00 6

The calculator starts with sample B. Enter sample A as nine rows of 1 followed by one row of −10. Keep all ten trades selected. If there are zero-loss rows, classify them as break-even and include them in the count. The plot leaves profit factor undefined when there are no negative results.

Trade results and win rate StockSharp JS-Charts

Loading calculator…

Also report trade count and the largest gain and loss. The ratio is sensitive to a few outsized trades. Compare metrics using the same costs, attribution window and trade grouping. Profit Factor in the MetaTrader testing report · Model fees and slippage.