Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
6884
Rating:
(18)
Published:
2018.01.29 14:09
UlcerIndex.mq5 (2.68 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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:

  • Downward trending UI - Confirms rising trend with decreasing downside volatility.
  • Upward trending UI - Confirms falling trend with increasing downside volatility.

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.

Fig 1 - Falling UI indicates rising prices

Fig 2 - Rising UI confirms falling prices

Vertical Horizontal Filter Vertical Horizontal Filter

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

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.

Chandes Quick Stick (Qstick) Chandes Quick Stick (Qstick)

Chandes Quick Stick (Qstick)

RAVI iFish RAVI iFish

Range Action Verification Index (RAVI) with inverse Fisher transform.