This Ulcer Index (UI) indicator is a technical indicator devised by Peter Martin in his 1987 book "The Investors Guide to Fidelity Funds".
Typically used in measuring downside risk in stock market funds, the index looks at measuring downside volatility over a period.
The use of the indicator is simple:
This code can be used across any instrument and time frame. However, the shorter the time the more chance of volatility and false signals like any other trend confirmation. Like most other indicators, it is not recommend for sole use, but rather as a trend confirmation tool to complement your strategy.
The first picture (Below) shows falling UI in the face of rising prices, while the second picture shows rising UI in the face of falling prices.
The Vertical Horizontal Filter ("VHF") determines whether prices are in a trending phase or a congestion phase. The VHF was first presented by Adam White in an article published in the August, 1991 issue of Futures Magazine.Relative Momentum Index
Relative Momentum Index (RMI) is a variation of the RSI indicator. The RMI counts up and down days from the Close relative to the Close X days ago (where X is not limited to 1 as is required by the RSI) instead of counting up and down days from Close to Close as the RSI does.