TradingView
kingthies
Sep 18, 2019 8:07 AM

KDJ Indicator (Pine v4) - KingThies 

Bitcoin / U.S. dollarBitstamp

Description

Updated to PineScript v4 - Enjoy!

Release Notes

Upgrading the original function from @iamaltcoin, as the previous version was a calculation of the same numbers without using the original function.
Additionally added %KDJ, which takes the average of each the %K, the %D and the %J into a single plot if preferred

Release Notes

Formatting Adjustments

Release Notes

Upgraded to Pine v5
Comments
thunderstrike
Hi Mate, Could you please shed some light on how to use and what to interpret out of it etc. please.
kingthies
@tooraje, Thank you
Aporio
Hello, on an indicator how is the value of the indicator painted (plot)in the code?
for example in this.
Thank you.
study(title="Commodity Channel Index", shorttitle="CCI", format=format.price, precision=2)
length = input(14, minval=1)
src = input(close, title="Source")
ma = sma(src, length)
cci = (src - ma) / (0.015 * dev(src, length))
plot(cci, color=color.olive)
band1 = hline(175, color=color.gray, linestyle=hline.style_dashed)
band0 = hline(-175, color=color.gray, linestyle=hline.style_dashed)
fill(band1, band0, color=color.olive)
wen9003
Hi Bro, mind to share what is bcwsma? i try to understand the formula that you used in this script.

Please do share some knowledge and how you derive 'bcwsma' formula.

Many thanks
jc78607
what is is bcwsma? wsma = weight simple moving average?
More