Ulcer and Pain Index and Ratios
This is the well known ulcer index and associated ulcer performance index, used as performance metrics or sometimes as technical indicators.
Cite As
Matthaeus (2025). Ulcer and Pain Index and Ratios (https://www.mathworks.com/matlabcentral/fileexchange/52348-ulcer-and-pain-index-and-ratios), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.11.0.0 | Changed numerator (return) to CAGR (assumes input bars are 1 biz day), but gross return or mean daily return could also be used. Also added pain index/ratio, which is a similar indicator. Finally, allowed for output of moving indicator. |
||
1.1.0.0 | Revised the title |
||
1.0.0.0 |