SpreadEagle71

Sniper Stochastics 2

Sniper Stochastics 2 is like the other one - a triple stochastics consisting of different lengths, in this case 55,89,144.

One thing I noticed was that the stochastics lines can be a kind of divergence detector with the slow (red), medium (blue) and fast(black) lines making breakaways once they converge.
For example, if the lines are together and the black line starts to diverge upwards, it means that there is a positive divergence which will happen quickly and then end. The blue and the red lines are longer term divergences.

I wanted to share this one and the unique and interesting use of divergences with this indicator.
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
study(title="Sniper Stochastics 2", shorttitle="Snp Stoch2")
plotchar = location.top
length1 = input(55, minval=1), smoothK1 = input(1, minval=1), smoothD1 = input(3, minval=1)
length2 = input(89, minval=1), smoothK2 = input(1, minval=1), smoothD2 = input(1, minval=1)
length3 = input(144,minval=1),smoothk3 = input(1,minval=1),smoothD3 = input(1,minval=1)
k1 = sma(stoch(close, high, low, length1), smoothK1)
d1 = sma(k1, smoothD1)
plot(k1, color=black)
k2 = sma(stoch(close, high, low, length2), smoothK2)
d2 = sma(k2, smoothD2)
plot(k2, color=blue)
k3 = sma(stoch(close,high,low,length3),smoothk3)
d3 = sma(k3,smoothD3)
plot(k3,color=red)