Ulcer Index
9 min read
Quantify downside risk with the root-mean-square of drawdowns — a volatility measure that only penalizes losses.
9 min read
Quantify downside risk with the root-mean-square of drawdowns — a volatility measure that only penalizes losses.
Standard deviation punishes you for making money. The Ulcer Index only cares about what actually hurts -- drawdowns.
The Ulcer Index (UI) is a volatility metric designed by Peter Martin in 1987 that measures downside risk exclusively. Unlike standard deviation, which treats upside and downside moves symmetrically, the Ulcer Index only considers the depth and duration of drawdowns from prior peaks.
The name is deliberately vivid: it measures the amount of "ulcer-inducing" stress a portfolio or trading system inflicts on its operator. A smooth, steadily rising equity curve has a low Ulcer Index. A choppy, drawdown-heavy curve has a high one.
This makes it one of the most psychologically honest risk metrics available.
The Ulcer Index is the root mean square (RMS) of percentage drawdowns from the running peak. Here is the step-by-step process:
Track the running peak: At each point in time, record the highest equity value achieved so far.
Calculate percentage drawdown: At each point, compute how far below the running peak the current equity sits.
Drawdown_i = (Equity_i - Peak_i) / Peak_i * 100
When equity is at a new peak, the drawdown is 0%. When equity is below the peak, the drawdown is negative.
Square all drawdowns: This amplifies larger drawdowns disproportionately, penalizing deep declines more than shallow ones.
Take the mean of the squared drawdowns: Average them over the entire observation period.
Take the square root: This returns the result to the same scale as the original drawdowns.
Ulcer Index = sqrt( (1/N) * sum(Drawdown_i^2) )
The result is always a non-negative number expressed as a percentage. A Ulcer Index of 0.05 (5%) means the average RMS drawdown from peak is 5%.
| Ulcer Index | Assessment | What It Means |
|---|---|---|
0.00 - 0.03 | Excellent | Equity curve is smooth with minimal drawdowns. Very tradable. |
0.03 - 0.05 | Good | Modest drawdowns that resolve quickly. Healthy system. |
0.05 - 0.10 | Moderate | Noticeable drawdowns. Requires discipline to trade through. |
0.10 - 0.15 | Rough | Significant and/or prolonged drawdowns. Psychologically demanding. |
> 0.15 | Severe | Deep, extended drawdowns dominate the equity curve. High stress. |
Context matters. A Ulcer Index of 0.08 might be acceptable for an aggressive momentum strategy but unacceptable for a conservative mean-reversion system. Always compare within the same strategy class.
This is the key insight that separates the Ulcer Index from standard deviation.
Standard deviation measures the dispersion of returns around the mean -- both above and below. A strategy that occasionally produces outsized winners will have high standard deviation, even though those large upside moves are exactly what traders want. Standard deviation treats a +5R winner the same as a -5R loser from a volatility perspective.
The Ulcer Index eliminates this problem entirely:
This means two strategies with identical standard deviations can have wildly different Ulcer Indexes:
Standard deviation says they are equally risky. The Ulcer Index correctly identifies that Strategy B is far more painful to trade.
Just as the Sharpe Ratio divides excess return by standard deviation, you can divide excess return by the Ulcer Index to get the Ulcer Performance Index (also called Martin Ratio):
UPI = (Return - Risk-Free Rate) / Ulcer Index
This produces a risk-adjusted return metric that only penalizes downside risk. A higher UPI means more return per unit of drawdown stress.
The UPI is often a better tool for comparing trading strategies than the Sharpe Ratio because:
| Dimension | Sharpe Ratio | Ulcer Index / UPI |
|---|---|---|
| Risk measure | Standard deviation (up + down) | RMS drawdown (down only) |
| Penalizes large gains | Yes | No |
| Sensitive to drawdown depth | Partially | Strongly (squared) |
| Sensitive to drawdown duration | No | Yes (more periods below peak = higher UI) |
| Distribution assumptions | Assumes normality | Distribution-free |
| Psychological relevance | Moderate | High |
The Sharpe Ratio assumes returns are normally distributed. Trading returns almost never are -- they exhibit fat tails and skewness. The Ulcer Index makes no distributional assumptions, making it more reliable for evaluating real trading systems.
One subtle but powerful property of the Ulcer Index is that it naturally incorporates drawdown duration.
Consider two drawdown events, both reaching a maximum depth of 10%:
Drawdown B produces a much higher Ulcer Index, even though the maximum depth was identical. This is correct behavior -- extended drawdowns are psychologically harder and represent greater systemic risk than brief sharp drops that recover quickly.
Monitoring Your Equity Curve
Calculate the rolling Ulcer Index over your last 50 or 100 trades. Plot it alongside your equity curve. A rising Ulcer Index even while equity is flat or rising slightly is an early warning -- it means drawdowns are deepening or extending.
Comparing Systems or Setups
If you trade multiple setups, calculate the Ulcer Index for each one independently. Some setups may contribute disproportionately to overall portfolio drawdown. Identifying and addressing these can dramatically improve the aggregate Ulcer Index.
Position Sizing Adjustment
Use the Ulcer Index to scale position size inversely. When the rolling Ulcer Index rises above a threshold (e.g., 0.10), reduce risk per trade. When it falls below a comfort level (e.g., 0.04), you have room to increase sizing.
Strategy Selection
When choosing between two strategies with similar returns, prefer the one with the lower Ulcer Index. You are far more likely to stick with a low-UI strategy through its inevitable rough patches.