The Directional Movement Index (DMI) is a trend-strength indicator that plots three lines: the positive directional indicator (+DI), the negative directional indicator (-DI), and the Average Directional Index (ADX). When +DI crosses above -DI with a rising ADX, a strong uptrend is confirmed, and vice versa.
This sample displays CSCO daily OHLC data on the main plot and renders the DMI indicator with a DI period of 14 and an ADX period of 20 in a 30% height subplot. The chart features dual Y-axes on both plots, a synchronized line scroller, a range picker, and a range selector, with the default view spanning June 1998 to September 2002.
See the Technical Indicators documentation for all configuration options.