ulcer
Ulcer Index
Reference/Volatility/Function
ulcer(length)
Drawdown-based risk — how deep and long price stayed below a recent high. Default 14.
Parameters
| Name | Type | Description |
|---|---|---|
length | int default 14 | Lookback in bars. Default 14. |
Return value
series
Example
oscillator plot ulcer(14) as "Ulcer"