KDJ Indicator (Pine v4) - KingThies

Updated to PineScript v4 - Enjoy!
版本注释: 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
版本注释: Formatting Adjustments

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。



Hi Mate, Could you please shed some light on how to use and what to interpret out of it etc. please.
+6 回复
kingthies tooraje
@tooraje, Thank you
+4 回复
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)
+1 回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 关于 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 私人消息 在线聊天 退出