OPEN-SOURCE SCRIPT

Directional Movement Index 4 colors (DMI 4c)

It is a normal Directional Movement Index, but instead of using lines for +DI and -DI it uses histogram and 4 colors. It also contains an horizontal line (default value 20) to indicate when a trend is confirmed or not.
ADXcolorsDirectional Movement Index (DMI)DMIeasygreenTechnical IndicatorsRED

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer