DMI Stochastic Extreme Refurbished

andre_007 Updated   

DMI Stochastic Extreme was originally published by Barbara Star, PhD, in TASC magazine of January 2013.
Basically it describes an improved version of the ADX DI+/DI- indicator, created by J. Welles Wilder.

In the setup described by the author, the DMI Oscillator is used together with a stochastic oscillator of DMI.
First, the DMI Oscillator is obtained by subtracting the minus directional movement indicator value (DI-) from the plus directional movement value (DI+).
The final result is the "DMI Stochastic Extreme" indicator, in which the stochastic oscillator is calculated. Only instead of using the price value, the stochastic is obtained through the DMI value.

█ Goals

The final indicator described by Barbara is the Stochastic Oscillator of DMI.
However, to use the DMI oscillator together (as described in the magazine), it is necessary to plot it in a separate indicator, which consumes screen space.
That's why the idea of ​​joining both the DMI oscillator and the DMI Stochastic Oscillator into one thing came up, optimizing the visualization.
Taking advantage of the fact that my hands are already dirty :), I created some fine adjustments.


Here are some examples:

1. With default params:

2. With custom DI Length of 21 (Histogram), DI Length of 13 (for Stoch Oscilator), Stoch Length of 5, and another theme.

3. Another params with less noise:


- Barbara Star (original creator)
- ucsgears (arrow logic)
Release Notes:

"Your accomplishments are the greatest gift you can leave for humanity, for your riches will create more riches for everyone. Let your generosity create opportunities for others to be happier."


- Price bars are blue when the DMI is above zero and red when it is below zero
- Price bars are yellow when DMI Stochastic creates a signal
- Price bars are lime when DMI Stochastic creates a signal inside the main trend (bullish or bearish)
- DMI histogram has been modified for a better appearance
- Opacity fill on overbought and oversough areas has been changed to zero, in order to eliminate excess colors and redundancy (this is not a casino).
(all this is customizable)

I needed to complement the concepts:

- "DMI" stands for "Directional Movement Index". The DMI Oscillator histogram identifies trends or divergences.
- "DMI Stochastic Extreme" is the stochastic derived from DMI. It is a momentum indicator, and can often even signal support and resistance.
- Basically it is suggested to use two strategies: a trend following strategy, or a counter-trend strategy.
- Trend following strategy: follow the trend signaled by the DMI oscillator. If the DMI histogram is blue above zero, signaling an uptrend, I should look for possible bullish pullbacks through Stochastic. And vice versa: if the histogram is red, below zero, indicating a downtrend, I should look for possible bearish pullbacks through Stochastic.
- Bullish Countertrend Strategy: when the DMI histogram is equal to or greater than +20, I should look for a fast decline through Stochastic when it points down through the arrow.
- Downtrend countertrend strategy: when the DMI histogram is equal to or less than -20, I should look for a fast rise through Stochastic, when it points up through the arrow.

Examples of support and resistance:

Countertrend example:

To contribute to my work, I accept cryptocurrency donations.
⚡Bitcoin Lightning Network:
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵Litecoin: ltc1q4lssqlf6lnmpe4w7npdl5ws2uamm4v5zxwmf5j
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 a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?