DEFINITION of Ulcer Index - UI

The Ulcer Index (UI) is a technical indicator that measures downside risk, in terms of both the depth and duration of price declines. The index increases in value as the price moves farther away from a recent high and falls as the price rises to new highs. The indicator is usually calculated over a 14-day period, with the Ulcer Index showing the percentage drawdown a trader can expect from the high over that period.

The greater the value of the Ulcer Index, the longer it takes for a stock to get back to the former high.

BREAKING DOWN Ulcer Index - UI

The Ulcer Index was developed by Peter Marin and Byron McCann in 1987 for analyzing mutual funds. Marin and McCann first published it in their 1989 book, <em>The Investor's Guide to Fidelity Funds.</em> The indicator looks only at downside risk, not overall volatility. Other volatility measures, like standard deviation, treat up and down movement equally, but a trader typically does not mind upward movement; it is the downside that causes stress and stomach ulcers, as the index's name suggests.

Calculating the Ulcer Index

The indicator is calculated in three steps:

  • Percentage Drawdown = [(Close - 14-period High Close)/14-period High Close] x 100
  • Squared Average = (14-period Sum of Percentage Drawdown Squared)/14 
  • Ulcer Index = Square Root of Squared Average

Which price high is used in the Ulcer Index calculation is determined by adjusting the look-back period. A 14-day Ulcer Index measures declines off the highest point in the past 14 days. A 50-day Ulcer Index measures declines off the 50-day high. A longer look-back period provides investors with a more accurate representation of the long-term price declines they may face. A shorter-term look-back period provides traders a gauge of recent volatility.

Using the Ulcer Index

Martin recommends the Ulcer Index as a measure of risk in various contexts where the standard deviation is usually used. The Ulcer Index can also be charted over time and used as a kind of technical analysis indicator, to show stocks going into ulcer-forming territory, or to compare volatility in different stocks.

Investors can use the Ulcer Index to compare different investment options. A lower average Ulcer Index means lower drawdown risk compared with an investment with a higher average UI. Applying a moving average to the Ulcer Index will show which stocks and funds have lower volatility overall.

Watching for spikes in Ulcer Index that are beyond "normal" can also be used to indicate times of excessive downside risk, which investors may wish to avoid by exiting long positions.

Apple chart screen shot

Source: Stockcharts.com