1,155 bytes added,
17:50, 30 September 2021 DMI (Directional Movement Index) calculates and plots the DMI Plus and DMI Minus values. DMI Plus is based on a comparison of the highs of a number of consecutive bars and the true range; DMI Minus is based on the lows of a number of consecutive bars versus the true range. ADX (Average Directional Movement) is calculated and plotted according to DMI Plus and DMI Minus values.
<br>
ADX may be used to determine if the market is trending. Rising ADX values indicate a trending market. The trend direction may be defined by DMI Plus and DMI Minus. If DMI Plus is above DMI Minus the trend is bullish, and vice versa.
== Default Inputs ==
'''Length (14)''' - number of bars included in DMI Plus, DMI Minus and ADX calculation.<br>
'''ADXTrend (25)''' - value used as the alert criteria.<br>
== Plots ==
'''Plot1 (DMI+, Cyan)''' - DMI Plus line.<br>
'''Plot2 (DMI-, Red)''' - DMI Minus line. <br>
'''Plot3 (ADX, Yellow)''' - ADX line.
<div style="background-color: #E3FBE5;">'''Note''': All the plots will be displayed in a separate sub chart from the price data when the indicator is applied to a chart. </div>
[[Category:Pre-built Indicators]]