CapnOscar

Bouncer Stochastic

87
Coded for Bouncer Moving Average timing entries
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?
study(title="Bouncer Stochastic", shorttitle="BStoch")
length = input(14, minval=1), smoothK = input(3, minval=1), smoothK2 = input(5, minval=1), smoothD = input(8, minval=1)
k = sma(stoch(close, high, low, length), smoothK)
d = sma(k, smoothD)
k2 = sma(stoch(close, high, low, length), smoothK2)
d2 = sma(k2, smoothD)
davg = (d +d2 ) /2

wid = d > d2 and rising(d,1) ? green : d < d2 and falling(d,1) ? red : orange

plot(d, color=green, transp=0)
plot(d2, color=red, transp=0)
plot(davg, color=wid, transp=0, linewidth=2)
h0 = hline(80)
h1 = hline(20)
h2 = hline(48)
h3 = hline(52)