LogoLogo
Return to StockChartsCharts & ToolsArticlesChartSchoolYour Dashboard
  • 📋ChartSchool
  • Table of Contents
    • Overview
      • Why Analyze Securities?
      • Technical Analysis
      • Fundamental Analysis
      • Random Walk vs. Non-Random Walk
      • Asset Allocation and Diversification
      • John Murphy's 10 Laws of Technical Trading
      • John Murphy's "Charting Made Easy" eBook
      • Technical Analysis 101
        • TA 101 – Part 1
        • TA 101 – Part 2
        • TA 101 – Part 3
        • TA 101 – Part 4
        • TA 101 – Part 5
        • TA 101 – Part 6
        • TA 101 – Part 7
        • TA 101 – Part 8
        • TA 101 – Part 9
        • TA 101 – Part 10
        • TA 101 – Part 11
        • TA 101 – Part 12
        • TA 101 – Part 13
        • TA 101 – Part 14
        • TA 101 – Part 15
        • TA 101 – Part 16
        • TA 101 – Part 17
      • Irrational Exuberance
      • Cognitive Biases
      • Arthur Hill on Goals, Style and Strategy
      • Arthur Hill on Moving Average Crossovers
      • Multicollinearity
      • "The Trader's Journal" by Gatis Roze
        • Stage 1: Money Management
        • Stage 2: Business of Investing
        • Stage 3: The Investor Self
        • Stage 4: Market Analysis
        • Stage 5: Routines
        • Stage 6: Stalking Your Trade
        • Stage 7: Buying
        • Stage 8: Monitoring Your Investments
        • Stage 9: Selling
        • Stage 10: Re-Examine, Refine, Re-Enhance
        • Additional Reading
      • Bob Farrell's 10 Rules
      • Richard Rhodes' Trading Rules
      • Donchian Trading Guidelines
      • Why and How To Use Correlation
    • Chart Analysis
      • What Are Charts?
      • Support & Resistance
      • Trend Lines
      • Gaps and Gap Analysis
      • Introduction to Chart Patterns
      • Chart Patterns
        • Broadening Top or Megaphone Top
        • Double Top Reversal
        • Double Bottom Reversal
        • Head and Shoulders Top
        • Head and Shoulders Bottom
        • Falling Wedge
        • Rising Wedge
        • Rounding Bottom
        • Triple Top Reversal
        • Triple Bottom Reversal
        • Bump and Run Reversal
        • Flag, Pennant
        • Symmetrical Triangle
        • Ascending Triangle
        • Descending Triangle
        • Rectangle
        • Price Channel
        • Measured Move—Bullish
        • Measured Move—Bearish
        • Cup With Handle
      • Chart Types
        • Arms CandleVolume
        • CandleVolume
        • Elder Impulse System
        • EquiVolume
        • Heikin-Ashi Candlesticks
        • Kagi Charts
        • Renko Charts
        • Three Line Break Charts
        • MarketCarpets
        • Relative Rotation Graphs (RRG Charts)
        • Seasonality Charts
        • Yield Curve
      • Candlestick Charts
        • Introduction to Candlesticks
        • Candlesticks and Traditional Chart Analysis
        • Candlesticks and Support
        • Candlesticks and Resistance
        • Candlestick Bullish Reversal Patterns
        • Candlestick Bearish Reversal Patterns
        • Candlestick Pattern Dictionary
      • Point and Figure Charts
        • Point and Figure Basics
          • Introduction to Point & Figure Charts
          • Point & Figure Scaling and Timeframes
          • P&F Trend Lines
        • Classic Patterns
          • P&F Bullish Breakouts
          • P&F Bearish Breakdowns
          • P&F Signal Reversed
          • P&F Catapults
          • P&F Triangles
          • P&F Bull & Bear Traps
        • P&F Price Objectives
          • P&F Price Objectives: Breakout and Reversal Method
          • P&F Price Objectives: Horizontal Counts
          • P&F Price Objectives: Vertical Counts
        • Point & Figure Indicators
        • P&F Scans and Alerts
          • P&F Pattern Alerts
      • Chart Annotation Tools
        • Andrews' Pitchfork
        • Stock Market Cycles
        • Fibonacci Retracements
        • Fibonacci Arcs
        • Fibonacci Fans
        • Fibonacci Time Zones
        • Quadrant Lines
        • Raff Regression Channel
        • Speed Resistance Lines
    • Technical Indicators & Overlays
      • Introduction to Technical Indicators and Oscillators
      • Technical Indicators
        • Accumulation/Distribution Line
        • Alligator Indicator
        • Aroon
        • Aroon Oscillator
        • ATR Bands
        • ATR Trailing Stops
        • Average Directional Index (ADX)
        • Average True Range (ATR) and Average True Range Percent (ATRP)
        • Balance of Power (BOP)
        • Bollinger BandWidth
        • %B Indicator
        • Chaikin Money Flow (CMF)
        • Chaikin Oscillator
        • Chande Trend Meter (CTM)
        • CMB Composite Index
        • Commodity Channel Index (CCI)
        • ConnorsRSI
        • Coppock Curve
        • Correlation Coefficient
        • DecisionPoint Price Momentum Oscillator (PMO)
        • Detrended Price Oscillator (DPO)
        • Distance From Highs
        • Distance From Lows
        • Distance To Highs
        • Distance To Lows
        • Distance From Moving Average
        • Ease of Movement (EMV)
        • Force Index
        • Gopalakrishnan Range Index
        • High Low Bands
        • High Minus Low
        • Highest High Value
        • Linear Regression R2
        • Lowest Low Value
        • Mass Index
        • MACD (Moving Average Convergence/Divergence) Oscillator
        • MACD-Histogram
        • MACD-V
        • MACD-V Histogram
        • Median Price
        • Money Flow Index (MFI)
        • Negative Volume Index (NVI)
        • On Balance Volume (OBV)
        • Percentage Price Oscillator (PPO)
        • Percentage Volume Oscillator (PVO)
        • Performance Spread
        • Price Relative/Relative Strength
        • Pring's Know Sure Thing (KST)
        • Pring's Special K
        • Rate of Change (ROC)
        • Relative Strength Index (RSI)
        • Relative Volume (RVOL)
        • RRG Relative Strength
        • StockCharts Technical Rank
        • Slope
        • Standard Deviation (Volatility)
        • Stochastic Oscillator (Fast, Slow, and Full)
        • StochRSI
        • Traffic Light
        • TRIX
        • True Range
        • True Strength Index
        • TTM Squeeze
        • Typical Price
        • Ulcer Index
        • Ultimate Oscillator
        • Vortex Indicator
        • Weighted Close
        • Williams %R
      • Technical Overlays
        • Anchored VWAP
        • Bollinger Bands
        • Chandelier Exit
        • Double Exponential Moving Average (DEMA)
        • Hull Moving Average (HMA)
        • Ichimoku Cloud
        • Kaufman's Adaptive Moving Average (KAMA)
        • Keltner Channels
        • Linear Regression Forecast
        • Linear Regression Intercept
        • Moving Averages—Simple and Exponential
        • Moving Average Ribbon
        • Moving Average Envelopes
        • Parabolic SAR
        • Pivot Points
        • Price Channels
        • Triple Exponential Moving Average (TEMA)
        • Volume-by-Price
        • Volume-Weighted Average Price (VWAP)
        • ZigZag
    • Market Indicators
      • Introduction to Market Indicators
        • Market Indicator Dictionary
      • Advance-Decline Line
      • Advance-Decline Percent
      • Advance-Decline Volume Line
      • Advance-Decline Volume Percent
      • Arms Index (TRIN)
      • Bullish Percent Index (BPI)
      • DecisionPoint Intermediate-Term Breadth Momentum Oscillator (ITBM)
      • DecisionPoint Intermediate-Term Volume Momentum Oscillator (ITVM)
      • DecisionPoint Swenlin Trading Oscillator (STO)
      • High-Low Index
      • High-Low Percent
      • McClellan Oscillator
      • McClellan Summation Index
      • Net New 52-Week Highs
      • Percent Above Moving Average
      • Pring's Bottom Fisher
      • Pring's Diffusion Indicators
      • Pring's Inflation and Deflation Indexes
      • Pring's Net New High Indicators
      • Put/Call Ratio
      • Record High Percent
      • Volatility Indices
    • Market Analysis
      • Dow Theory
      • Sector Rotation Analysis
      • Intermarket Analysis
      • The DecisionPoint Chart Gallery
      • DecisionPoint Rydex Asset Analysis
      • Wyckoff Analysis Articles
        • Wyckoff Market Analysis
        • Wyckoff Stock Analysis
        • The Wyckoff Method: A Tutorial
      • Elliott Wave Analysis Articles
        • Introduction to Elliott Wave Theory
        • Identifying Elliott Wave Patterns
        • Guidelines for Applying Elliott Wave Theory
    • Trading Strategies & Models
      • DecisionPoint Trend Model
      • Trading Strategies
        • Bollinger Band Squeeze
        • CCI Correction
        • CVR3 VIX Market Timing
        • Faber's Sector Rotation Trading Strategy
        • Gap Trading Strategies
        • Harmonic Patterns
        • Hindenburg Omen
        • Ichimoku Cloud Trading Strategies
        • The 'Last' Stochastic Technique
        • MACD Zero-Line Crosses With Swing Points
        • Moving Average Trading Strategies
          • Finding Support and Resistance in Moving Averages
          • Guppy Multiple Moving Average: An MA Ribbon Designed to Tip the Market’s Hand
          • How To Trade Price-to-Moving Average Crossovers
          • Trading the Bounce: Finding Support and Resistance in Moving Averages
          • Trading the Death Cross
          • Trading Using the Golden Cross
          • Using the 5-8-13 EMA Crossover for Short-Term Trades
        • Moving Momentum
        • Narrow Range Day NR7
        • Percent Above 50-day SMA
        • Percent B Money Flow
        • The Pre-Holiday Effect
        • RSI(2)
        • Six-Month Cycle MACD
        • Slope Performance Trend
        • Stochastic Pop and Drop
        • Swing Charting
        • Trend Quantification and Asset Allocation
    • Index & Market Indicator Catalog
      • Advance-Decline Indicators
      • Cboe Indices and Indicators
      • CME Futures and Spot Prices
      • DecisionPoint Sentiment Indicators
      • Dow Jones Breadth Indicators
      • Dow Jones Global Indices
      • Dow Jones Select Indices
      • Dow Jones Titans Indices
      • Dow Jones US Indices
      • Economic Indicators
      • ICE Futures and Spot Prices
      • Intellidex Indices
      • MSCI Indices
      • New 52-week Highs and Lows for Exchanges
      • NYSE Arca Equity Indices
      • NYSE Equity Indices
      • Philadelphia Indices
      • S&P 500 Sector and Industry Groups
      • S&P GSCI Indices
      • StockCharts AD Percent
      • StockCharts AD Volume Percent
      • StockCharts Bullish Percent Index
      • StockCharts High-Low Index
      • StockCharts High-Low Percent
      • StockCharts Percent Above Moving Average
      • StockCharts Pseudo Symbols
      • StockCharts Record High Percent
      • StockCharts Theoretical Indices
      • US Treasury Yields
    • 📖Glossary
      • 📖Glossary - A
      • 📖Glossary - B
      • 📖Glossary - C
      • 📖Glossary - D
      • 📖Glossary - E
      • 📖Glossary - F
      • 📖Glossary - G
      • 📖Glossary - H
      • 📖Glossary - I
      • 📖Glossary - J
      • 📖Glossary - K
      • 📖Glossary - L
      • 📖Glossary - M
      • 📖Glossary - N
      • 📖Glossary - O
      • 📖Glossary - P
      • 📖Glossary - Q
      • 📖Glossary - R
      • 📖Glossary - S
      • 📖Glossary - T
      • 📖Glossary - U
      • 📖Glossary - V
      • 📖Glossary - W
      • 📖Glossary - X, Y, Z
    • Options Glossary
    • Educational Resources
Powered by GitBook
LogoLogo

ON STOCKCHARTS

  • Charts & Tools
  • Articles
  • StockCharts TV
  • ChartSchool

MEMBERS

  • Your Dashboard
  • Your ChartLists
  • Advanced Scans
  • Technical Alerts

HELP

  • Support Center
  • FAQs
  • Contact Us
  • Pricing

COMPANY

  • About Us
  • What's New
  • Careers
  • StockCharts Store

© StockCharts.com, Inc. All Rights Reserved.

On this page
  • What Is the Ulcer Index?
  • Calculating the Ulcer Index
  • Interpretating the Ulcer Index
  • Comparing Funds
  • Risk-Adjusted Return
  • The Bottom Line
  • Using with SharpCharts
  • Suggested Scans
  • Weeding Out High Volatility
  • Further Study

Was this helpful?

Export as PDF
  1. Table of Contents
  2. Technical Indicators & Overlays
  3. Technical Indicators

Ulcer Index

PreviousTypical PriceNextUltimate Oscillator

Last updated 9 months ago

Was this helpful?

What Is the Ulcer Index?

Developed by Peter Martin and Byron McCann in 1987, the Ulcer Index is a volatility indicator that measures downside risk. It was first introduced in their 1989 book, The Investor's Guide to Fidelity Funds. Originally, the index was designed with mutual funds in mind, which is why it is only focused on downside risk. Mutual funds are designed to make money by increasing in value; the only risk, therefore, is the drawdown or downside. As its name implies, the Ulcer Index measures the drawdown investors can expect to stomach on any given security. Many consider the Ulcer Index superior to the standard deviation and other measures of risk.

Calculating the Ulcer Index

Based on closing prices, the Ulcer Index measures volatility based on price depreciation from its high over a specific look-back period. The index is zero if prices close higher each period. This means there is no downside risk because prices are steadily rising. Prices, of course, do not steadily rise, so there will be declines along the way. Using a default setting of 14 periods, the Ulcer Index reflects the expected percentage drawdown over this period. The table shows a sample calculation for 14-periods.

Percent-Drawdown = ((Close - 14-period Max Close)/14-period Max Close) x 100

Squared Average = (14-period Sum of Percent-Drawdown Squared)/14

Ulcer Index = Square Root of Squared Average

Interpretating the Ulcer Index

The following comes from Peter G. Martin himself:

“Ulcer Index measures the depth and duration of percentage drawdowns in price from earlier highs. The greater a drawdown in value, and the longer it takes to recover to earlier highs, the higher the UI. Technically, it is the square root of the mean of the squared percentage drawdowns in value. The squaring effect penalizes large drawdowns proportionately more than small drawdowns.”

It is hard to say it much better than that so we will leave it as is.

Comparing Funds

As a statistical measure, investors can compare Ulcer Index values to determine relative risk. Martin notes that the Ulcer Index works well with weekly data. The first chart below shows weekly closes for the Fidelity Select Technology Fund (FSPTX) with the 9-period Ulcer Index in the indicator window. A 52-period moving average was added to smooth the index and show a long-term average. There were three spikes above 10 in 2008 and another in 2011 (yellow highlights); perhaps 2008 was an anomaly because of the financial crisis. With only one spike above 10 since 2008, investors can conclude that a spike above 10 is relatively rare. The 52-period moving average was at 4.71 and this value could be used to measure adjusted return.

The second chart shows the Fidelity Select Health Care Fund (FSPHX) with the same chart features. The Ulcer Index breached 10 twice, once in 2008 and once in 2011. The 52-week moving average is at 3.24, which is much lower than the moving average for the technology fund. This means the health care fund has less risk or drawdown potential than the technology fund.

Risk-Adjusted Return

The Sharpe Ratio is used to measure risk-adjusted return. It is simply total return less the risk-free return divided by the standard deviation. As noted above, the standard deviation is considered inferior because it accounts for both upside and downside volatility. Long-only investors are not concerned with upside volatility; it is downside volatility that produces drawdowns and stomach ulcers. To account for this, Martin introduced the Ulcer Performance Index (UPI), or Martin Ratio. This is simply total return less the risk-free return divided by the Ulcer Index. The goal is to find securities (funds) with the highest UPI, which means the highest risk-adjusted return.

The table above compares the Fidelity Select Technology Fund (FSPTX) with the Fidelity Select Health Care Fund (FSPHX). The 10-year Treasury Yield ($TNX) represents the risk-free rate. The Ulcer Index is a 52-week average of the 9-week Ulcer Index. The expected return is based on the 10-year total return data from Morningstar. The expected return and the Ulcer Index are both higher for the technology fund. Based on the higher UPI, the health care fund appears to provide a better risk-adjusted return than the technology fund.

The Bottom Line

The Ulcer Index measures risk by focusing on drawdowns represented by price declines. This means it is best suited for long-only investors or traders. The index hovers near zero when prices regularly record higher highs and advance. The index rises when prices move lower and extend from their recent high. Keep in mind that the Ulcer Index is not an indicator per se. It is just a measure of downside risk that can be used to compute risk-adjusted returns.


Using with SharpCharts

Suggested Scans

Weeding Out High Volatility

The Ulcer Index can be used in scans to weed out securities with extremely high volatility. This simple scan searches for S&P 600 stocks that are in an uptrend. The final scan clause excludes high volatility stocks from the results.

[group is SP600]
AND [Daily EMA(50,close) > Daily EMA(200,close)]

AND [ULCER(14) < 10]

Further Study

The Ulcer Index is available as an indicator for SharpCharts. Once selected, users can place the indicator above, below or behind the underlying price plot. Placing the Ulcer Index directly behind the price plot accentuates the movements relative to the price action of the underlying security. Users can apply “advanced options” to add horizontal lines to set a risk threshold. for a live example of the Ulcer Index in action.

Learn More. For more details on the syntax for Ulcer Index scans, please see our in the Support Center.

John J. Murphy

Martin Pring

Click here
Technical Analysis of the Financial Markets
Technical Analysis Explained
Scanning Indicator Reference
Chart 1
Spreadsheet
Chart 2
Chart 3
Chart 4
Chart 5
Chart 6