Skip to main content

Drawdown

Max drawdown calculator ulcer index included

Peak to trough, the ulcer index, the pain index, and the worst drawdowns in the window. One close series, four ways the path hurt.

Closes

One column per asset, oldest first. The sample is already filled. First close 79718.00.

This run uses 5 credits.

BTC

Max drawdown 39.2%

Ulcer index 15.7%. The worst hole was deeper than the typical time spent underwater.

Max drawdown
39.2%

Worst peak to trough

Ulcer index
15.7%

RMS of drawdowns

Average drawdown
11.0%

Mean depth

Pain index
11.0%

Average drawdown through the window

Close path. Row by Close.
  • BTC
Worst drawdowns
DepthStart rowBottom rowEnd row
39.2%1790open
4.9%11113
0.9%141516
  • Each row is daily, 365 periods a year. Annualized figures use 365 periods.
  • 90 closes in the series. Computed by Thrive's portfolio engine. Rounded to the digit shown.

Depth is not the whole injury

Max drawdown is the worst peak-to-trough loss in the window. It says nothing about whether you sat in that hole for a week or a year.

The ulcer index is the root-mean-square of the drawdowns, so a long grind scores worse than a one-day spike that recovered. The pain index is the average drawdown. Together they describe the path a Sharpe ratio smooths over.

How this page runs it

Closes are treated as portfolio values. Thrive's portfolio engine returns the maximum drawdown, the ulcer index, the average drawdown, the pain index, and the worst few episodes with start and bottom.

Drawdown is a fraction of the prior peak. A print of 30% means the series gave back 30% from a high inside this window, not from your entry.

How to run it

  1. Paste closes, oldest first.
  2. Run the drawdown set.
  3. Read max drawdown next to the ulcer index. A shallow max with a high ulcer means you lived underwater.
  4. Check the worst episodes for how long the hole lasted.

FAQ

People also ask

It is the square root of the mean squared drawdown over the window. Martin designed it so a strategy that stays 10% underwater for months scores worse than one that dips 10% and snaps back.

No. Max drawdown measures the worst decline from a peak inside the series. If you bought the top, they match. If you bought lower, your personal loss is smaller than the series drawdown.

Up to three, with the depth and the observation where each one started and bottomed.

Yes. Drawdown does not need an annualization choice. The frequency control is there so the same series can be reused on the Sharpe and Sortino pages.

Know the hole before you size it.

Drawdown on a chart is history. Drawdown on your account is the number that knocks you out. Thrive tracks it on the fills.