CapnOscar

Stochastic In Bands

What about to display Stochastic Oscilator in EMA-ATR Bands? If you like the idea I would code advanced             version
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Stochastic In Bands", shorttitle="SIB", overlay=true)
ATRlength = input(14, minval=1)
ATRMult = input(2.70, minval=1)
ATRBase = input(3.50, minval=1)
ATR = rma(tr(true), ATRlength)

len = input(21, minval=1, title="Length")
src = input(close, title="Source")
out = ema(src, len)

emaup = out+(ATR*ATRMult)
emadw = out-(ATR*ATRMult)
emabs = out-(ATR*ATRBase)
plot(out, title="EMA", color=orange)
plot(emaup, title="EMAUP", color=silver)
plot(emadw, title="EMADW", color=silver)

Stlength = input(14, minval=1), smoothK = input(5, minval=1), smoothD = input(3, minval=1)
k = sma(stoch(close, high, low, Stlength), smoothK)
d = sma(k, smoothD)

MDiff = emaup-emadw
StM = emabs+((k*MDiff)/80)
StS = emabs+((d*MDiff)/80)
plot(StM, title="Main", color=red)
plot(StS, title="Signal", color=blue)




Really interesting!, Good job!
Reply
I like very much your idea
Reply
excellent, like always
Reply
Excellent idea :)
+1 Reply
CapnOscar Freeeze
Thank you..
Reply
Freeeze CapnOscar
Thumb up to the captain ;)
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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 My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out