OPEN-SOURCE SCRIPT
Updated

DMI With Crosses (MyNewTrade)

23206
Directional Movement Indicator:
+DI and -DI
I changed the color of the bar bars according to the crossed of +DI and -DI . It helps us to have an idea of whether the trend is continuing or not.

+DI crossover to -DI barcolor is Aqua, if not bar color is Red.

It also helps us to find the lowest and highest points of the graph according to the positions of Adx +DI and -DI .
It gives warnings at the lowest and highest points, which helps us to detect the direction of the trend.
Release Notes
I edited the formula that calculates the highest and lowest points. and made it understandable.
Release Notes
I added Alert settings.
Release Notes
I solved some Alert problems.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.