The ulcer index is a stock market risk measure or
technical analysis
In finance, technical analysis is an analysis methodology for analysing and forecasting the direction of prices through the study of past market data, primarily price and volume. Behavioral economics and quantitative analysis use many of the sam ...
indicator devised by Peter Martin in 1987, 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.
Other volatility measures like
standard deviation
In statistics, the standard deviation is a measure of the amount of variation or dispersion of a set of values. A low standard deviation indicates that the values tend to be close to the mean (also called the expected value) of the set, while ...
treat up and down movement equally, but most market traders are
long
Long may refer to:
Measurement
* Long, characteristic of something of great duration
* Long, characteristic of something of great length
* Longitude (abbreviation: long.), a geographic coordinate
* Longa (music), note value in early music mens ...
and so welcome upward movement in prices, it is the downside that causes
stress
Stress may refer to:
Science and medicine
* Stress (biology), an organism's response to a stressor such as an environmental condition
* Stress (linguistics), relative emphasis or prominence given to a syllable in a word, or to a word in a phrase ...
and the
stomach ulcer
The stomach is a muscular, hollow organ in the gastrointestinal tract of humans and many other animals, including several invertebrates. The stomach has a dilated structure and functions as a vital organ in the digestive system. The stomach is ...
s that the index's name suggests. (The name pre-dates the discovery that most gastric ulcers are caused by a
bacterium
Bacteria (; singular: bacterium) are ubiquitous, mostly free-living organisms often consisting of one biological cell. They constitute a large domain of prokaryotic microorganisms. Typically a few micrometres in length, bacteria were among ...
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. 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
:
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
In mathematics and its applications, the root mean square of a set of numbers x_i (abbreviated as RMS, or rms and denoted in formulas as either x_\mathrm or \mathrm_x) is defined as the square root of the mean square (the arithmetic mean of the ...
(or
root mean square
In mathematics and its applications, the root mean square of a set of numbers x_i (abbreviated as RMS, or rms and denoted in formulas as either x_\mathrm or \mathrm_x) is defined as the square root of the mean square (the arithmetic mean of the ...
) of these values is taken, similar to a standard deviation calculation.
:
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
In finance, the Sharpe ratio (also known as the Sharpe index, the Sharpe measure, and the reward-to-variability ratio) measures the performance of an investment such as a security or portfolio compared to a risk-free asset, after adjusting for its ...
, which rates an investment's excess return (return above a safe cash rate) against risk, is
:
The ulcer index can replace the SD to make an ulcer performance index (UPI) or Martin ratio,
:
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
In finance, technical analysis is an analysis methodology for analysing and forecasting the direction of prices through the study of past market data, primarily price and volume. Behavioral economics and quantitative analysis use many of the sam ...
indicator, to show stocks going into ulcer-forming territory (for one's chosen time-frame), or to compare volatility in different stocks.
Discovering the Absolute-Breadth Index and the Ulcer Index
at Investopedia.com As with the Sharpe Ratio, a higher value of UPI is better than a lower value (investors prefer more return for less risk).
References
Further reading
Related topics
*Hindenburg Omen
The Hindenburg Omen was a proposed technical analysis pattern, named after the Hindenburg disaster of May 6, 1937. It was created bJim Miekka who believed that it predicted stock market crashes.
History
The theory is largely based on Norman G. ...
Books
* ''The Investor's Guide to Fidelity Funds'', Peter Martin and Byron McCann, John Wiley & Sons
John Wiley & Sons, Inc., commonly known as Wiley (), is an American multinational publishing company founded in 1807 that focuses on academic publishing and instructional materials. The company produces books, journals, and encyclopedias, in p ...
, 1989. Now out of print, but offered for sale in electronic form by Martin at his web sit
External links
Peter Martin's web site - Ulcer Index: An Alternative Approach to the Measurement of Investment Risk & Risk-Adjusted Performance
{{technical analysis
Technical indicators