yax22

StochJDJ_Ya

31
This KDJ indicator is modification based on Stochastic. Modified by Yanga
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.

Disclaimer

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?
//
// @author modified by Yanga
//
// This KDJ indicator is modification based on Stochastic
// 
// This script is released free of charge with no warranty
// Please leave a not to the author of this script if it is used
// whole or in part
//
study(title="StochJDJ_Ya", shorttitle="StochKDJ_Ya")
length = input(9, minval=1), smoothK = input(3, minval=1), smoothD = input(3, minval=1)
k = sma(stoch(close, high, low, length), smoothK)
d = sma(k, smoothD)
j = 3 * k-2 * d
plot(k, color=blue)
plot(d, color=orange)
plot(j, color=fuchsia)
h0 = hline(80)
h1 = hline(20)
h2 = hline(100)
h3 = hline(0)
fill(h0, h1, color=purple, transp=75)