KingThies_

KDJ Indicator (Pine v4) - KingThies

586 views
83
586 4
Updated to PineScript v4 - Enjoy!
Remove from Favorite Scripts Add to Favorite Scripts
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)
Reply
Hi Mate, Could you please shed some light on how to use and what to interpret out of it etc. please.
+1 Reply
@tooraje, Thank you
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out