Ulcer Index (Indicator)
Input Information
Name | Expression | Default | Description |
Price | Numeric | Close | Specifies the price used to calculate the Ulcer Index. |
Length | Numeric | 14 | Number of bars to include in the calculation of the Ulcer Index. |
SafeLevel | Numeric | 5 | The level above which the Ulcer Index is considered to be high. |
Market Synopsis
The Ulcer Index is a measure of the stress level related to an investment's market behavior. It uses price retracements to measure the "stressfulness." This is done by comparing recent price action with past price action. As stated by Peter Martin and Byron McCann, "the higher an investment's Ulcer Index, the more likely investing in it will cause ulcers or sleepless nights."
Plot Information
Number | Name | Default Color | Description |
Plot1 | UlcerX | Red | Plots the Ulcer Index value. |
Plot2 | SafeLevel | Dark Green | Plots the Safety Level value. |
When applied to a chart, this indicator contains a two plots (a histogram and line), displayed in a separate subgraph from the price data.