All posts
Performance Analytics·8 min read
🌡️

Ulcer Index Explained: A Better Way to Measure Trading Pain

Two strategies can hit the exact same max drawdown and feel nothing alike to trade — one snaps back in a week, the other drags on for six months. Ulcer index is the metric built to catch that difference.

T
TradeEdge Team·September 1, 2026

Two strategies both show a 15% max drawdown on their tear sheet. Strategy A dips 15% below its equity high and recovers within three weeks. Strategy B dips the same 15% and grinds sideways underwater for seven months before making a new high. Max drawdown treats these as identical. Anyone who actually traded through both would tell you they were not remotely the same experience — and the metric built specifically to capture that gap is the ulcer index.

It gets its name, unglamorously, from exactly what you'd expect: creator Peter Martin named it after the stomach ulcers a long, grinding drawdown is more likely to cause than a sharp, short one — even when the two are the same depth on paper.

What Is the Ulcer Index?

Ulcer index measures both the depth and the duration of drawdowns, not just the single worst peak-to-trough decline the way max drawdown does. Instead of reporting one number for your worst moment, it looks at every period your equity spent below a prior high, squares each of those percentage drawdowns, and averages them — so a strategy that spends most of its life underwater scores worse than one that dips hard but recovers fast, even at an identical maximum depth.

Ulcer Index = √( Σ(Drawdown_i²) ÷ n )

Where Drawdown_i is the percentage decline from the highest prior equity peak at each period i (day, week, or trade — pick one and stay consistent), and n is the total number of periods measured. Squaring each drawdown does two things at once: it makes every value positive so deep and shallow dips don't cancel out, and it punishes large drawdowns disproportionately harder than small ones, similar to how standard deviation weights outliers in Sharpe ratio.

A Worked Example

Take the two strategies from the opening example, both with a 15% max drawdown over a 12-month stretch:

StrategyMax DrawdownTime Spent UnderwaterUlcer Index
A (fast recovery)15%3 weeks2.8
B (slow grind)15%7 months9.6

A tear sheet listing only max drawdown would show these two as equally risky. Ulcer index shows Strategy B is more than three times worse, because it isn't just measuring how deep the hole was — it's measuring how long the account sat in it. That distinction matters in practice: a trader is far more likely to abandon a working strategy, override its rules, or lose confidence in it during seven underwater months than during three underwater weeks, even though both strategies technically "recovered."

Why Duration Matters as Much as Depth

Max drawdown answers "how bad did it get." Ulcer index answers "how long did I have to live with it" — and that second question is often the one that actually determines whether a trader sticks with a strategy long enough to let its edge play out.

  • A long underwater period is what actually erodes discipline — traders don't usually quit on the worst single day, they quit on month five of a drawdown that hasn't turned yet
  • Two strategies with identical max drawdown can have very different real-world survivability depending on whether the recovery is fast or slow
  • Ulcer index penalizes strategies that spend a large share of their time below a prior equity peak, even if no single drawdown was ever historically "extreme"
  • Because it squares every drawdown period, it's far more sensitive to prolonged pain than a simple average of drawdowns would be

What Counts as a Good Ulcer Index?

Ulcer index doesn't have universal reference bands the way Sharpe ratio does, since it's expressed in the same percentage units as your drawdowns rather than a normalized ratio — a lower number is always better, and it's most useful compared against your own history or against another strategy measured the same way. As a rough guide:

  • Below 3: strong — drawdowns are shallow and short-lived, with minimal time spent underwater
  • 3–7: moderate — normal for an actively traded strategy with occasional multi-week rough patches
  • 7–12: elevated — either deep drawdowns, long underwater stretches, or both; worth investigating which
  • Above 12: severe — the strategy is spending significant time in meaningful drawdown, which is as much a psychological risk as a financial one
💡

TradeEdge tracks your equity curve continuously and calculates ulcer index alongside max drawdown, Sharpe, and Sortino ratio — so you can see not just how deep your worst drawdown was, but how long you actually had to live inside it.

Ulcer Index vs. Max Drawdown vs. Calmar Ratio

These three all measure drawdown risk, but they answer different questions, and reading them together catches things no single one would show alone:

  1. 1Max drawdown — the single worst peak-to-trough decline; a snapshot of your worst moment, blind to how long it lasted
  2. 2Calmar ratio — annualized return divided by max drawdown; tells you how well-compensated you were for the worst thing that happened
  3. 3Ulcer index — depth and duration combined across the whole equity curve; tells you how much sustained pain the strategy put you through, not just the worst instant of it

Traders who also want a risk-adjusted return figure built on ulcer index instead of standard deviation or max drawdown use the Martin ratio — average return divided by ulcer index — which behaves like a duration-aware cousin of Sharpe and Calmar ratio. Two strategies can post similar Calmar ratios and still show very different Martin ratios if one of them recovers from drawdowns far faster than the other.

Where Traders Get Ulcer Index Wrong

The most common mistake is measuring it over too short a period, the same trap that inflates Sharpe and Sortino ratio on thin samples — a strategy that hasn't yet lived through a real prolonged drawdown will show an artificially low ulcer index that says more about the sample than the strategy. A second mistake is mixing measurement frequencies when comparing strategies: a daily-measured ulcer index and a weekly-measured one aren't directly comparable, since more frequent sampling captures more of the underwater period's texture.

Why This Needs a Journal, Not a Quick Mental Estimate

Calculating ulcer index by hand means tracking your equity curve at every period, identifying the prior peak at each point, computing the percentage drawdown, squaring it, and averaging across the entire history — not something anyone recalculates from memory after a handful of new trades. A trading journal that logs every closed trade can track running equity automatically and recompute ulcer index the moment a new trade closes, alongside max drawdown, Calmar ratio, and Sharpe ratio — turning a metric almost nobody tracks by hand into one you can check as often as your win rate.

Frequently Asked Questions

What is the ulcer index in trading?

Ulcer index is a risk metric that measures both the depth and duration of drawdowns, not just the single worst peak-to-trough decline like max drawdown does. It squares the percentage drawdown at each period below a prior equity high and averages them, so strategies that stay underwater longer score worse even at the same maximum depth.

How is ulcer index different from max drawdown?

Max drawdown only reports the single worst peak-to-trough decline, ignoring how long the account took to recover. Ulcer index accounts for every period spent below a prior high, so two strategies with identical max drawdown can have very different ulcer index scores if one recovers in weeks and the other takes months.

What is a good ulcer index for a trading strategy?

As a rough guide, below 3 is strong (shallow, short-lived drawdowns), 3–7 is moderate and typical for active trading, 7–12 is elevated, and above 12 signals the strategy spends significant time in meaningful drawdown. Ulcer index is most useful compared against your own history or a competing strategy measured the same way, since it isn't normalized like Sharpe ratio.

What is the Martin ratio and how does it relate to ulcer index?

Martin ratio divides average return by ulcer index, the same way Sharpe ratio divides return by standard deviation and Calmar ratio divides return by max drawdown. It gives a risk-adjusted return figure that accounts for both how deep and how long your drawdowns were, rather than just their depth.

Tags

ulcer indexmax drawdownrisk-adjusted returnstrading statisticsperformance analytics
Live Preview

See TradeEdge in Action

This mirrors the real app UI on sample data — 10 screens, all interactive. Switch tabs, hover the chart, tap a calendar day, expand a trade, run the calculator.

app.tradeedge.io/dashboard
Net P&L
+$0.00

▲ On track

Win Rate
0.0%
Avg win/loss trade
2.66
$403.13$-151.67
Profit Factor
0.00

▲ Profitable

Avg. Hold Time
N/A

Avg time in trade

Total Trades
0

Total trades taken this period.

Insights
Patterns computed directly from your trade history.

"A+ Setup" is your best setup

Trades tagged "A+ Setup" average +$500.28 (100% win rate) across 18 trades — lean into it.

NY PM session is your weak spot

Trades during NY PM average -$149.00 (0% win rate) over 5 trades.

Cumulative Net P&L
Weekly P&L of the Month
Your P&L for each week this month.
Recent Trades
Your most recently logged trades for the selected period.
View All
InstrumentDate / TimeSideP&LRRStatus
NQ
20/11/2026
buy
$300.003.00R
Win
MNQ
20/11/2026
sell
$-100.00-1.00R
Loss
ES
19/11/2026
buy
$425.004.25R
Win
NQ
19/11/2026
buy
$150.001.50R
Win
NQ
18/11/2026
buy
$425.004.25R
Win
Daily Overview
Calendar and visual notes for your day.

November2026

16 win streak

Monthly P&L

+$5540.00

Win Rate

73%

Total Trades

22

Avg Daily P&L

+$426.15

Best Trade

+$900.00

Worst Trade

-$240.00

Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
—
2
+$235
2t1W1L
3
+$650
1t1W
4
—
5
+$175
2t1W1L
6
+$530
2t2W
7
—
8
—
9
+$425
1t1W
10
+$660
2t1W1L
11
—
12
+$440
2t2W
13
+$295
2t1W1L
14
—
15
—
16
+$800
1t1W
17
+$130
2t1W1L
18
+$425
1t1W
19
+$575
2t2W
20
+$200
2t1W1L
21
—
22
—
23
—
24
—
25
—
26
—
27
—
28
—
29
—
30
—
1
2
3
4
5
Try It Free — No Card Required

Set up your journal in under 2 minutes