TradingView
kingthies
18 de Set de 2019 08:07

KDJ Indicator (Pine v4) - KingThies 

Bitcoin / U.S. dollarBitstamp

Descrição

Updated to PineScript v4 - Enjoy!

Notas de Lançamento

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

Notas de Lançamento

Formatting Adjustments

Notas de Lançamento

Upgraded to Pine v5
Comentários
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?
Mais