The Ulcer Index study plots values of Ulcer function. For your convenience, the main plot is complemented with safe level: when Ulcer Index goes beyond this level, an asset might be considered risky.

Input Parameters

Parameter Description
price The price for which percentage retracement is found.
length The number of bars used to calculate the root mean square and price percentage retracement.
safe level The border dividing risky and risk-free zones.


Plot Description
UlcerX The Ulcer Index plot.
Safe Level The safe level.


*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.