Guide · Robots
Profit Factor, Ret/DD and R²: how to read a robot's numbers
A robot can make a lot with a scary curve, or a little with one that barely dips. Three figures sum up which one you're looking at. None is enough on its own.
Profit Factor: money won against money lost
It's the sum of the winning trades divided by the sum of the losing ones. At 1.0 the robot breaks even; below that, it loses money.
As a rough reference, systems that last for years tend to sit between 1.3 and 1.6. A value above 3 with few trades deserves suspicion: it often points to overfitting. A single huge trade can also inflate it.
Ret/DD: how much you make for every euro you were down at the worst point
Net profit divided by the maximum drawdown of the period. A Ret/DD of 3 means it made three times what it lost at its worst point. It measures what hurts most: how much you have to sit through to get paid.
It depends on the time span: a high Ret/DD is easier over two years than over three months. Always compare robots measured over similar periods.
R²: how straight the curve is
It runs from 0 to 1. Close to 1, the balance curve rises steadily; near 0, in jumps. Two robots with the same profit can differ widely in consistency.
In a backtest, a perfect curve with no drawdowns is sometimes the result of over-tuning the inputs. The consistency that matters is the kind that holds up on new data.
Read them together
- High Profit Factor with a low Ret/DD: it wins, but with deep drawdowns.
- High Ret/DD with a low R²: a good result, achieved in bursts.
- All three good with few trades: still too early to trust it.
Look at the sample size as well. A brilliant figure from 20 trades says less than a decent one from 300.
An example with two robots
Robot A makes $10,000 in a year with a maximum drawdown of $2,000. Robot B earns $15,000 after going as far as $7,500 down.
A has a Ret/DD of 5; B, of 2. Although the second brings in more, it demands sitting through a slump almost four times larger.
With the account sized to the same drawdown, A would end up returning quite a bit more than its rival.
Other figures worth knowing
- Win rate: how many trades end in profit. On its own it's misleading: you can win 80% of the time and still lose money.
- Average win to average loss: how much each good entry makes up for a bad one.
- Maximum drawdown: the largest drop from a balance peak. It marks the capital you need to ride it out.
- Recovery time: the days it takes to get back to its previous high after a slump.
- Number of trades: without a large sample, none of the figures above is reliable.
Every term is explained in the algorithmic trading glossary. Each figure also has its own page: trading metrics.
How to calculate Profit Factor
Add up what the winning trades made. Divide it by what the losing ones lost.
With $9,000 in winners against $6,000 in losers: 9,000 ÷ 6,000 = 1.5.
What is a good Profit Factor
- Below 1: it loses money.
- From 1 to 1.2: a worse broker's costs wipe it out.
- From 1.3 to 1.6: the usual range for a durable system.
- Above 2: rare over hundreds of trades.
Profit Factor or win rate
The win rate counts how many trades end well; the Profit Factor, how much money. An 80% win rate can come with a value below 1 if the few losses are huge.
Profit Factor or Sharpe ratio
The first adds up amounts; it ignores order and consistency. The Sharpe compares the average result with how much it varies from one trade to the next.
Two robots with a Profit Factor of 1.5 can have very different Sharpe ratios: the more erratic one scores worse.
Mistakes when reading them
- Comparing a three-month system with a five-year one.
- Trusting a value calculated without commissions or swaps.
- Choosing by a single metric while forgetting the rest.
- Accepting a backtest without checking it live afterwards.
Frequently asked questions
What is a good Profit Factor?
As a reference, a good Profit Factor sits between 1.3 and 1.6 over a large sample. A value above 3 with few trades is a reason for suspicion.
What is Ret/DD?
Ret/DD is the net profit divided by the maximum drawdown of the period. It shows how much the robot made for every euro it was down at its worst.
What does R² tell you about a trading strategy?
R² measures how steadily the balance curve rises, from 0 to 1. The closer to 1, the more consistent the result.
How do you calculate Profit Factor?
Divide the money made on winning trades by the money lost on losing ones. With $9,000 against $6,000, the Profit Factor is 1.5.
Profit Factor vs win rate: what's the difference?
The win rate counts how many trades end in profit. The Profit Factor measures how much money the winners make compared with what the rest lose.