OPEN-SOURCE SCRIPT

KDJ Indicator

The KDJ indicator is derived from the Stochastic with the one difference being the addition of the J line. This implies that the KDJ indicator has a total of three lines; %K%D%J. The %J is simply put, the difference between the %K and the %D lines, which is similar to the MACD.

The difference between the %J and that of the MACD is that it is plotted as a histogram and the second being that the value are weighted and as such delivers more emphasis on the shorter term %K line.

What we now have is a line that moves quite slowly and has the knack to move beyond the range of a normal stochastic indicator.
Bearish PatternsBullish PatternsbuybuysignalCentered OscillatorsMoving AveragesOscillatorsSELLsellsignal

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