What is drawdown? Maximum drawdown explained
By Oalgo · Last reviewed
Drawdown is how far your account value has fallen from its highest point so far, written as a percentage. The largest drawdown over a period is the maximum drawdown. It shows the worst stretch your rules went through.
How is drawdown measured?
#- Keep track of the highest value reached so far, the peak.
- On each candle, drawdown = (peak − current value) ÷ peak.
- The maximum drawdown is the largest of those numbers over the whole period.
| Made-up example | Value |
|---|---|
| Peak value | 10,000 |
| Later low | 7,500 |
| Fall | 10,000 − 7,500 = 2,500 |
| Drawdown | 2,500 ÷ 10,000 = 25% |
Why does recovering take a bigger gain?
#After a fall you have less, so the same percentage gain is worth less. A 25% fall leaves 75 of every 100, and getting back to 100 takes 25 ÷ 75 = 33.3%. The gain needed is the fall ÷ (100 − fall).
| Fall from the peak | Gain needed to get back |
|---|---|
| 10% | 11.1% |
| 25% | 33.3% |
| 50% | 100% |
| 75% | 300% |
The drawdown recovery calculator does this sum for any fall.
How does a backtest report show drawdown?
#In Oalgo, a backtest report shows the Drawdown as the largest fall, in percent, from a high point of the account value to a later low. While a trade is open, the test also counts the lowest price inside each candle, not only the close, so a dip that recovers before the close still shows. The backtest report guide explains the other numbers.
What can drawdown not tell you?
#- It looks backward. The next fall can be deeper than any fall in the test.
- It depends on the dates you chose. A short or calm period can show a small drawdown.
- It is one number for the worst stretch. It does not say how long the fall lasted or how long the recovery took.
- Ask whether you could stay with the rules through a fall of that size.
Read next
- What is a stop loss? How to set oneA stop loss closes a trade when price moves a set distance against it. Learn how a stop is set, what it cannot promise, and what a Live Strategy needs.
- How to read backtest results: a step-by-step guideHow to read backtest results step by step: trades and dates first, then drawdown and fees, and the end result last. Plain definitions of each number.