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
Indicators

Dual Ulcer index - indicator for MetaTrader 5

Views:
5431
Rating:
(18)
Published:
2018.08.24 10:51
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Ulcer index was originally meant to be used for something different than finding out the trend (the original calculation "... is a measure of the depth and duration of draw-downs in prices from earlier highs ...") but if we imagine that the calculation can be done in the opposite direction too (perfect in Forex where a symbol can not have a 0 value - if it exists it must have some value) then we can get something like this:

Also, as an experiment (and a deviation to the original calculation) option to calculate "inverted" Ulcer index added. The direction of the calculation is changed in the inverted mode, and even though the direction is inverted, there is no repainting and it can be used as any other "regular" indicator. The results in the inverted mode are interesting (at the least) and it is recommended that you do a bit of experimenting to find out which version suits your trading style better.


Trix with LR signal Trix with LR signal

Trix with LR signal

Corrected T3 Corrected T3

Corrected T3

Corrected JMA Corrected JMA

Corrected JMA

Corrected RSI Corrected RSI

Corrected RSI