IndicatorBuilt inVolatility

Ulcer Index

Use on chart

Loading the chart…

Live chart with this indicator added. Change the symbol and timeframe inside the chart. 00 uses2 views0

What the Ulcer Index shows

Measures downside risk by averaging how far price has fallen below its recent high, squared, then taking the square root.

The Ulcer Index was created by Peter Martin and Byron McCann in 1987 as a measure of investor stress. For each bar it finds the percentage drop from the highest price of the last N bars, squares it, averages those over N, and takes the square root.

Only falls from a peak are counted. Rising prices do not add to the index. A reading of zero means price is at new highs throughout the window. A higher reading means deeper or longer drawdowns. Traders and investors use it to compare how rough the ride has been for different stocks or funds, and to watch whether drawdown stress is building.

The defaults are Length 14 on the close. For long-term comparisons on daily charts, a longer length such as 50 or more is used. On intraday charts the index is very small as drops are small. It does not show direction on its own.

How to use it

  1. Click Use on chart to add it with the default settings.
  2. Open its settings to change the length or the price source.
  3. Compare its level between stocks on the same timeframe to see which has had deeper drawdowns.

Settings and what it draws

Settings

InputTypeDefault
LengthWhole number14
SourcePrice sourceclose

Draws in its own pane

  • Ulcer IndexLine

Comments (0)

    No comments yet. Be the first to say how it worked for you.

    More built-in tools

    See all
    • Majority Rule

      Majority Rule shows the percentage of the last bars that closed higher than the bar before. Majority Rule is a simple measure of how often price has gone up over a recent window, as a percentage of…

      Other 101
    • Historical Volatility

      Shows the annualised standard deviation of log price returns over the last N bars, as a percentage. Historical Volatility measures how much price has actually moved. It takes the logarithm of the…

      Volatility 100
    • Double EMA

      The double exponential moving average: an EMA built to remove part of the lag of a normal EMA. The Double Exponential Moving Average (DEMA) was introduced by Patrick Mulloy. It takes an EMA and an…

      Trend 010