Ulcer index

The ulcer index is a stock market risk measure or technical analysis indicator devised by Peter Martin in 1987,[1] and published by him and Byron McCann in their 1989 book The Investors Guide to Fidelity Funds. It is a measure of downwards volatility, the amount of drawdown or retracement over a period.[2]

Other volatility measures like standard deviation treat up and down movement equally, but most market traders are long and so welcome upward movement in prices, it is the downside that causes stress and the stomach ulcers that the index's name suggests. (The name pre-dates the discovery that most gastric ulcers are caused by a bacterium rather than stress.)

The term ulcer index has also been used (later) by Steve Shellans, editor and publisher of MoniResearch Newsletter for a different calculation, also based on the ulcer-causing potential of drawdowns.[3] Shellans' index is not described in this article.

Calculation

The index is based on a given past period of N days. Working from oldest to newest a highest price (highest closing price) seen so-far is maintained, and any close below that is a retracement, expressed as a percentage

R i = 100 × p r i c e i m a x p r i c e m a x p r i c e {\displaystyle R_{i}=100\times {price_{i}-maxprice \over maxprice}}

For example, if the high so far is $5.00 then a price of $4.50 is a retracement of −10%. The first R is always 0, there being no drawdown from a single price. The quadratic mean (or root mean square) of these values is taken, similar to a standard deviation calculation.

U l c e r = R 1 2 + R 2 2 + R N 2 N {\displaystyle Ulcer={\sqrt {R_{1}^{2}+R_{2}^{2}+\cdots R_{N}^{2} \over N}}}

The squares mean it does not matter if the R values are expressed as positives or negatives, both come out as a positive Ulcer Index.

The calculation is relatively immune to the sampling rate used. It gives similar results when calculated on weekly prices as it does on daily prices. Martin advises against sampling less often than weekly though, since for instance with quarterly prices a fall and recovery could take place entirely within such a period and thereby not appear in the index.

Usage

Martin recommends his index as a measure of risk in various contexts where usually the standard deviation (SD) is used for that purpose. For example, the Sharpe ratio, which rates an investment's excess return (return above a safe cash rate) against risk, is

S h a r p e r a t i o = R e t u r n R i s k F r e e R e t u r n s t a n d a r d d e v i a t i o n {\displaystyle Sharpe\,ratio={Return-RiskFreeReturn \over standard\,deviation}}

The ulcer index can replace the SD to make an ulcer performance index (UPI) or Martin ratio,

U P I = R e t u r n R i s k F r e e R e t u r n u l c e r i n d e x {\displaystyle UPI={Return-RiskFreeReturn \over ulcer\,index}}

In both cases, annualized rates of return would be used (net of costs, inclusive of dividend reinvestment, etc.).

The index can also be charted over time and used as a kind of technical analysis indicator, to show stocks going into ulcer-forming territory (for one's chosen time-frame), or to compare volatility in different stocks.[4] As with the Sharpe Ratio, a higher value of UPI is better than a lower value (investors prefer more return for less risk).

References

  1. ^ Peter Martin's Ulcer Index page
  2. ^ "Ulcer Index and UPI Measure Investment Risk and Risk-Adjusted Performance". www.tangotools.com. Retrieved 2024-03-24.
  3. ^ Pankin Managed Funds, client newsletter 3rd Quarter 1996, Questions and Answers
  4. ^ Discovering the Absolute-Breadth Index and the Ulcer Index at Investopedia.com

Further reading

Related topics

  • Hindenburg Omen

Books

  • The Investor's Guide to Fidelity Funds, Peter Martin and Byron McCann, John Wiley & Sons, 1989. Now out of print, but offered for sale in electronic form by Martin at his web site [1].
  • v
  • t
  • e
Technical analysis
Concepts
  • Breakout
  • Dead cat bounce
  • Dow theory
  • Elliott wave principle
  • Market trend
Charts
Patterns
Chart
Candlestick
Simple
Complex
Point and figure
Indicators
Support &
resistance
Trend
Momentum
Volume
Volatility
Breadth
Other
Analysts