OPEN-SOURCE SCRIPT

Easy Directional Movement Index

Updated
Nothing more than a graphical tweak for the integrated Directional movement index (DMI). The purpose is to make the reading of the DMI easier and more immediate.
The area between DI+ and DI- is filled, and the indicator's range in divided into 4 sections, each of them representing a different price tendency:
- When ADX line is inside the red colored area (0-25), the market is in a ranging phase.
- When inside the aqua colored area (25-50), there is a trend.
- When inside the blue colored area (50-75), there is a strong trend
- When inside the navy colored area (75-100), there is an extremely strong trend.
However keep in mind that these are default levels that may be not always significant. You can change them from the script settings as you prefer, to better tweak your analysis.


Please support my work and follow me if you like my scripts. Many more of them are coming in the future.

Bezzus
Release Notes
Updates:
- Removed unnecessary code lines

Bezzus
Release Notes
.
Release Notes
Changelog:
- Added dummy variable for price data. You can compute DMI using Heikin Ashi prices by selecting the corresponding option in the setting.

Bezzus
Release Notes
.
Directional Movement Index (DMI)

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