Drawdown is how much the account lost from its best value to its worst before growing again. Not from the deposit — from the peak. It is the one number for any algorithm worth reading first: returns tell you where you will arrive, drawdown tells you what you will have to live through on the way.
Drawdown in plain words
You deposit $10,000. A month later the account is at $11,000 — that is the peak. Then a bad period: the account falls to $9,020. The gap between peak and bottom is $1,980, or 18% of the peak. That is the drawdown.
What is drawn here, without the terms. In January the bot traded profitably and took the account to $11,000. From February to April it went through a streak of losing trades: the account fell, bounced briefly in February, hit bottom in March, returned to $11,000 in April. Those three months — February, March, April — are the drawdown. From May the account grows again, and that is new territory. For algorithmic trading such a streak is not a breakdown but a planned part of the job: below I explain why every bot has it and where exactly −18% comes from.
Three things in this example that matter more than the number.
Measure from the peak, not the deposit. From the starting $10,000 you lost 9.8%, but the drawdown is 18%, because it is measured from the best point. That is how MT5 counts it in the tester report1, 2, that is how Myfxbook counts it3. If a developer writes "drawdown from deposit", they are understating.
A drawdown does not end when the account stops falling. It ends when the account makes a new high. On the chart the bottom was in mid-March, but the drawdown closed only at the end of April — when the account got back to $11,000.
A drawdown has two sizes: depth and duration. −18% is the depth. Three months, February–April, is the duration. For the nerves the second is often harder than the first: looking at a minus for twelve weeks in a row.
How to read the chart
The grey dashed line is the peak level; everything below it is shaded blue — that is the drawdown zone. Three dots — peak, bottom, new high. The bracket below is the duration.
Note: inside the drawdown the account does not fall in a straight line. In February there was a bounce from $10,400 to $10,700, and at that moment it looks like it is over. It is not. A drawdown is not closed until there is a new high. This is the main mistake in reading any track record: taking a bounce for a recovery.
Why an algorithm always has drawdowns
An algorithm is a rule that works over distance, not in every trade. Take a strategy with 45% winning trades and an average profit one and a half times the average loss. Over a hundred trades it is profitable. But a streak of 8–10 losses in a row in such a strategy is not an accident but statistics: at 45% wins, ten losses in a row happen roughly once in 400 trades. For a bot that makes 40 trades a month, that is once a year.
| Losing trades in a row | 1% risk per trade | 2% risk per trade | No fixed risk, 10% each |
|---|---|---|---|
| 3 | −3.0% | −5.9% | −27% |
| 10 | −9.6% | −18.3% | −65% |
| 20 | −18.2% | −33.2% | −88% |
If risk per trade is 1% of the deposit, ten losses in a row is minus 9.6%. Twenty — minus 18%. That is the mechanics of an algorithm's drawdown: not an error but a planned streak. That is why an honest developer names the drawdown before launch instead of explaining it afterwards.
What reduces a drawdown is not "a better signal" but a portfolio. Several strategies that do not correlate with each other rarely lose at the same time: while one is in a streak, the others work. The depth of the combined drawdown comes out smaller than any single strategy's. How the algorithm itself and its four rules are built — in "Algorithmic trading: what it is and where it came from".
Where the model drawdown comes from
The model drawdown is calculated with Monte Carlo: the strategy's real trades are shuffled into random order thousands of times to see which drawdowns are possible with the same strategy but a different sequence of trades. The result is not one number but a range: the average and the worst drawdown. We run this calculation for every robot we develop and show it to the client before handover.
A caveat: Monte Carlo shuffles past trades, and if the market changes so that the strategy itself stops working, no model will show it. So the model drawdown is a guide for patience, not a ceiling on losses. Past performance does not guarantee future results.
How much to sit through and when to switch off
The only working criterion is comparison with the model, not with feelings.
- Drawdown within the model — keep going. −12% against a modelled −18% is unpleasant, but it is the streak the bot was chosen for.
- Drawdown approaching the model — do not touch, watch closer. Still normal, but at the edge.
- Drawdown noticeably deeper than the model — stop and investigate. For example, −25% against a modelled −18%: on our own accounts this is where we switch the bot off and look at the trades — the market changed, the spread changed, execution broke. Not because it is "scary", but because the strategy has left its parameters.
- Duration is a separate criterion. If the depth is normal but the drawdown drags on twice as long as the longest one in the backtest, that is also a reason to look.
I would not switch a bot off on the feeling "too long in the red". I would switch it off on a number I wrote down before launch. Write it down now: "I stop at −X% or after Y months without a new high". What manual interference in the bot's trades does and why it breaks the result — in "Algorithmic trading vs manual trading".
What next
Before launching any bot — your own, ours, someone else's — three numbers on paper: the expected maximum drawdown by the model, the longest drawdown in the backtest, and your personal stop threshold. If the developer cannot name the first two, you do not have the third.
Risks
Drawdown is an inseparable part of any trading, including algorithmic: its depth and duration in the future can exceed modelled and historical values. Monte Carlo and backtests are hypothetical calculations on past trades, not a forecast. With margin trading, losses can be faster and deeper than in a calm market. The chart in the article is a hypothetical example, not the result of a real account.
Trading involves risk of capital loss. Past performance is not indicative of future results. A Labs is a software developer, not a broker and not a financial adviser.
Tell us about your idea
The request takes 2 minutes. We reply within one business day and suggest the next step.
