NOONOO TRADINGStart in the bot

Ulcer Index: Measuring Both Drawdown Depth and Duration

A strategy recovering from a 20% drawdown within a month and one remaining underwater for nine months both show “MDD 20%.” Holding the account feels very different. The Ulcer Index combines drawdown depth with how long it persists.

What Is the Ulcer Index?

The Ulcer Index, UI, is the root mean square of an equity curve's percentage drawdowns below its previous peak. Peter Martin and Byron McCann developed it in 1987 to compare funds. Its name refers to the discomfort of remaining underwater.

The calculation has three steps.

① Calculate drawdown at each observation: the percentage below the highest value reached so far.
② Square each drawdown.
③ Average those squares and take the square root.

UI = √(Σ(Drawdown %)² ÷ N). Include zero-drawdown observations at new highs in N. Frequent new highs contribute many zeros and lower UI; remaining underwater repeatedly contributes nonzero values and raises it.

Squaring penalizes deeper drawdowns more heavily. A −20% observation contributes four times the penalty of −10%, not twice. This reflects the observation that investor discomfort accelerates rather than scaling evenly with loss.

A Five-Observation Calculation

Month-End Equity

January: $10,000; running high 10,000 → 0% drawdown.
February: $11,000; running high 11,000 → 0%.
March: $10,450; high 11,000 → (10,450−11,000)÷11,000 = −5.0%.
April: $10,120; high 11,000 → (10,120−11,000)÷11,000 = −8.0%.
May: $11,200, a new high → 0%.

Sum of squares = 0 + 0 + 25 + 64 + 0 = 89
Mean = 89 ÷ 5 = 17.8
UI = √17.8 = 4.22

The same period's MDD is 8.0%.

Use the highest value known at each point, the running maximum. May's 11,200 does not retroactively become March's reference. This matches MDD calculation; getting it wrong distorts the indicator.

Identical MDD, Nearly Double the UI

Consider two strategies with the same maximum drawdown of 20%.

A: V-Shaped Recovery, 12 Monthly Drawdowns
0, 0, 0, −20, 0, 0, 0, 0, 0, 0, 0, 0
Sum of squares 400 → Mean 33.3 → UI 5.77

B: Prolonged Recovery
0, 0, 0, −20, −18, −16, −14, −12, −10, −6, −3, 0
Sum of squares 1,465 → Mean 122.1 → UI 11.05

Both have 20% MDD; B's UI is 1.9× A's.

A regains its peak in one month; B leaves the account underwater for nine months. MDD cannot distinguish them, and the Calmar ratio, with MDD in its denominator, has the same limitation. UI is one of the few standard measures that separates this experience.

Duration often causes abandonment more than depth. As described in drawdown psychology, people can find months without recovery harder to bear than one sharp fall.

UPI, or Martin Ratio: Adding Return

UI measures risk alone, with lower values preferable. To combine it with return, use the Ulcer Performance Index, UPI, or Martin ratio.

UPI = (CAGR − Risk-free rate) ÷ Ulcer Index

Same Return, Different UPI

Both strategies: CAGR 26%; assumed risk-free rate 4%.
Excess return = 26 − 4 = 22 percentage points.

A: UI 5.77 → UPI = 22 ÷ 5.77 = 3.81
B: UI 11.05 → UPI = 22 ÷ 11.05 = 1.99

Same return and MDD, but UPI differs by almost twofold.

The Sharpe ratio treats upside and downside volatility as risk; the Sortino ratio considers downside volatility. Both measure fluctuations and do not directly represent drawdown duration. A slow nine-month decline can have low measured volatility and a superficially reasonable Sharpe ratio. UPI penalizes that interval.

The definitions differ: Sharpe measures total volatility, Sortino downside volatility, Calmar the single worst drawdown, and Ulcer the combined depth and duration of drawdowns. They complement rather than replace one another. Adding profit factor fills out the comparison.

Practical Use

Fix the sampling interval. Daily and monthly UI differ. Daily sampling captures smaller fluctuations and tends to increase the value. The original convention is monthly, but whichever you choose, compare the same interval and period. Mixing them is using different rulers.

Apply it to equity, not merely price. UI can analyze an individual asset, but strategy evaluation requires the account curve after fees, slippage, and funding. Ignoring costs makes drawdowns appear shallower.

Do not trust short periods. A bot run for three months has had few chances to encounter a major drawdown. Use at least 12 months, preferably 36. If backtested UI looks good, first investigate whether overfitting artificially reduced drawdowns, and cite values from periods that passed walk-forward validation.

Use relative benchmarks. There is no universal UI threshold. “Below 5 is good” breaks across assets, intervals, and leverage. Use it to rank candidates under comparable conditions. To assess a broader range, shuffle trade order through Monte Carlo simulation and examine the UI distribution.

More leverage also raises UI. Doubling exposure roughly doubles drawdowns and UI. UPI's numerator and denominator rise together, leaving the ratio broadly unchanged. Leverage cannot rescue a low-UPI strategy. Leverage concerns position sizing, not improving the metric.

Limitations

It summarizes the past. UI compresses a historical curve; it does not cap future drawdowns. Live drawdowns commonly exceed backtested ones.

Many zeros lower it. Long periods with little trading can contribute many zero-drawdown observations and make UI artificially low. Account for this when comparing very different trading frequencies.

It is less familiar. Unlike Sharpe, “UI 8.4” may convey little by itself. Common practice reports it alongside MDD and recovery duration. Treat it as a complementary dimension that MDD misses.

Three Key Points

① UI squares each drawdown, averages, then takes the square root, combining depth and duration in one risk measure.
② At the same 20% MDD, one-month and nine-month recoveries can have nearly twofold UI differences, a dimension MDD and Calmar miss.
③ UPI = Excess return ÷ UI combines return and risk. Compare only equal intervals and periods using equity curves after costs.

Notice

Capital, return, and drawdown figures are hypothetical calculation examples, not measured strategy performance or forecasts. All performance metrics summarize historical data and guarantee neither future profit nor a drawdown ceiling. Leveraged trading can lose all principal. Investment decisions and responsibility are yours.

NOONOO TRADING invites you to follow live trading in our free chat.

Start in the bot

📈 OKX trading fee discount for new registrations

Register for the OKX Fee Discount →