WaveRiders

Double Stochastic

Double Stochastic is use Slow Stochastic (21,3,3) and Fast Stochastic (5,1,1) to monitor price movement.
Slow Stochastic use for monitor cycle of price.
Fast Stochastic use for monitor price swing and divergence.
Both Stochastic turn together mean price will reverse for real.
Fast Stochastic turn away from Slow Stochastic mean price only minor swing.
.....
Designed by Wave Riders
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Double Stochastic", shorttitle="DBLStoch")
length1 = input(21, minval=1), smoothK1 = input(3, minval=1), smoothD1 = input(3, minval=1)
length2 = input(5, minval=1), smoothK2 = input(1, minval=1), smoothD2 = input(1, minval=1)
k1 = sma(stoch(close, high, low, length1), smoothK1)
d1 = sma(k1, smoothD1)
plot(k1, color=blue)
plot(d1, color=red)
k2 = sma(stoch(close, high, low, length2), smoothK2)
d2 = sma(k2, smoothD1)
plot(k2, color=orange)

h0 = hline(80)
h1 = hline(20)
fill(h0, h1, color = yellow, transp=90)
Thanks for indicator! question is the line correct? d2 = sma(k2, smoothD1) or should the smoothD1 actually be smoothD2.
Reply
WaveRiders traderdose
thanks ... revised coding already
Reply
United States
United Kingdom
India
Deutschland
España
France
Việt Nam
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out