Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3693
- Rating:
- Published:
- 2018.06.06 12:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Ulcer Index (UI) shows the volatility decrease risk. It indicates lowering volatility, i.e. a possible drawdown or recovery within a given period.
The indicator has three input parameters:
- Period - calculation period;
- Inverse pair - inverse calculation;
- Applied price - price used for calculations.
The higher the indicator value, the greater the probability of volatility decrease.
Fig.1. Direct calculation
Fig.2. Inverse calculation
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20274

A trend oscillator.

The Highest Lowest indicator searches for bars having High above the High of bars on the left and on the right, as well as bars having Low below the Low of bars on the left and on the right. Uses the DRAW_ARROW style.