schoolprofit.ru

thread_Spuda_18_stochastic

176 0 13
description of the strategy -
Remove from Favorite Scripts Add to Favorite Scripts
//Created By schoolprofit.ru definition strategy - http://schoolprofit.ru/spud


study(title="thread_Spuda_18_stochastic", shorttitle="thread_Spuda_18_stochastic", precision=0)
length1 = input(6, minval=1)
smoothK1 = input(3, minval=1) 
smoothD1 = input(3, minval=1)

length2 = input(7, minval=1)
smoothK2 = input(3, minval=1) 
smoothD2 = input(3, minval=1)

length3 = input(8, minval=1)
smoothK3 = input(3, minval=1) 
smoothD3 = input(3, minval=1)

length4 = input(9, minval=1)
smoothK4 = input(3, minval=1) 
smoothD4 = input(3, minval=1)

length5 = input(10, minval=1)
smoothK5 = input(3, minval=1) 
smoothD5 = input(3, minval=1)

length6 = input(11, minval=1)
smoothK6 = input(3, minval=1) 
smoothD6 = input(3, minval=1)

length7 = input(12, minval=1)
smoothK7 = input(3, minval=1) 
smoothD7 = input(3, minval=1)

length8 = input(13, minval=1)
smoothK8 = input(3, minval=1) 
smoothD8 = input(3, minval=1)

length9 = input(14, minval=1)
smoothK9 = input(3, minval=1) 
smoothD9 = input(3, minval=1)

length10 = input(15, minval=1)
smoothK10 = input(3, minval=1) 
smoothD10 = input(3, minval=1)

length11 = input(16, minval=1)
smoothK11 = input(3, minval=1) 
smoothD11 = input(3, minval=1)

length12 = input(17, minval=1)
smoothK12 = input(3, minval=1) 
smoothD12 = input(3, minval=1)

length13 = input(18, minval=1)
smoothK13 = input(3, minval=1) 
smoothD13 = input(3, minval=1)

length14 = input(19, minval=1)
smoothK14 = input(3, minval=1) 
smoothD14 = input(3, minval=1)

length15 = input(20, minval=1)
smoothK15 = input(3, minval=1) 
smoothD15 = input(3, minval=1)

length16 = input(21, minval=1)
smoothK16 = input(3, minval=1) 
smoothD16 = input(3, minval=1)

length17 = input(22, minval=1)
smoothK17 = input(3, minval=1) 
smoothD17 = input(3, minval=1)

length18 = input(23, minval=1)
smoothK18 = input(3, minval=1) 
smoothD18 = input(3, minval=1)

length19 = input(24, minval=1)
smoothK19 = input(3, minval=1) 
smoothD19 = input(3, minval=1)

upt = input(80, minval=50, maxval=100, title="Upper Line")
lot = input(20, minval=1, maxval=50, title="Lower Line")

k1 = sma(stoch(close, high, low, length1), smoothK1)
d1 = sma(k1, smoothD1)

k2 = sma(stoch(close, high, low, length2), smoothK2)
d2 = sma(k2, smoothD2)

k3 = sma(stoch(close, high, low, length3), smoothK3)
d3 = sma(k3, smoothD3)

k4 = sma(stoch(close, high, low, length4), smoothK4)
d4 = sma(k4, smoothD4)

k5 = sma(stoch(close, high, low, length5), smoothK5)
d5 = sma(k5, smoothD5)

k6 = sma(stoch(close, high, low, length6), smoothK6)
d6 = sma(k6, smoothD6)

k7 = sma(stoch(close, high, low, length7), smoothK7)
d7 = sma(k7, smoothD7)

k8 = sma(stoch(close, high, low, length8), smoothK8)
d8 = sma(k8, smoothD8)

k9 = sma(stoch(close, high, low, length9), smoothK9)
d9 = sma(k9, smoothD9)

k10 = sma(stoch(close, high, low, length10), smoothK10)
d10 = sma(k10, smoothD10)


k11 = sma(stoch(close, high, low, length11), smoothK11)
d11 = sma(k11, smoothD11)

k12 = sma(stoch(close, high, low, length12), smoothK12)
d12 = sma(k12, smoothD12)

k13 = sma(stoch(close, high, low, length13), smoothK13)
d13 = sma(k13, smoothD13)

k14 = sma(stoch(close, high, low, length14), smoothK14)
d14 = sma(k14, smoothD14)

k15 = sma(stoch(close, high, low, length15), smoothK15)
d15 = sma(k15, smoothD15)

k16 = sma(stoch(close, high, low, length16), smoothK16)
d16 = sma(k16, smoothD16)

k17 = sma(stoch(close, high, low, length17), smoothK17)
d17 = sma(k17, smoothD17)

k18 = sma(stoch(close, high, low, length18), smoothK18)
d18 = sma(k18, smoothD18)

k19 = sma(stoch(close, high, low, length19), smoothK19)
d19 = sma(k19, smoothD19)





upperLine = upt
lowerLine = lot

plot(k1, title="Fast Stochastic", style=line, linewidth=2, color=red)
//plot(d1, color=orange)
plot(k2, title="Medium Stochastic", style=line, linewidth=2, color=red)
//plot(d2, color=orange)
plot(k3, title="Slow Stochastic", style=line, linewidth=2, color=red)
//plot(d3, color=orange)

plot(k4, title="Fast Stochastic", style=line, linewidth=2, color=red)
//plot(d1, color=orange)
plot(k5, title="Medium Stochastic", style=line, linewidth=2, color=red)
//plot(d2, color=orange)
plot(k6, title="Slow Stochastic", style=line, linewidth=2, color=red)
//plot(d3, color=orange)

plot(k7, title="Fast Stochastic", style=line, linewidth=2, color=red)
//plot(d1, color=orange)
plot(k8, title="Medium Stochastic", style=line, linewidth=2, color=red)
//plot(d2, color=orange)
plot(k9, title="Slow Stochastic", style=line, linewidth=3, color=black)
//plot(d3, color=orange)

plot(k10, title="Fast Stochastic", style=line, linewidth=2, color=blue)
//plot(d1, color=orange)
plot(k11, title="Medium Stochastic", style=line, linewidth=2, color=blue)
//plot(d2, color=orange)
plot(k12, title="Slow Stochastic", style=line, linewidth=2, color=blue)
//plot(d3, color=orange)

plot(k13, title="Fast Stochastic", style=line, linewidth=2, color=blue)
//plot(d1, color=orange)
plot(k14, title="Medium Stochastic", style=line, linewidth=2, color=blue)
//plot(d2, color=orange)
plot(k15, title="Slow Stochastic", style=line, linewidth=2, color=blue)
//plot(d3, color=orange)

plot(k16, title="Fast Stochastic", style=line, linewidth=2, color=blue)
//plot(d1, color=orange)
plot(k17, title="Medium Stochastic", style=line, linewidth=2, color=blue)
//plot(d2, color=orange)
plot(k18, title="Slow Stochastic", style=line, linewidth=2, color=blue)
//plot(d3, color=orange)
plot(k19, title="Slow Stochastic", style=line, linewidth=2, color=blue)
//plot(d3, color=orange)
p1 = plot(upperLine, title="Upper Line", style=line, linewidth=1, color=black)
p2 = plot(lowerLine, title="Lower Line", style=line, linewidth=1, color=black)
fill(p1, p2, color=purple, transp=80)
RU Русский
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Домой Скринер акций Forex Screener Crypto Screener Экономический календарь О проекте Особенности Правила поведения Модераторы Решения для сайтов и брокеров Виджеты Компонент графиков Отзывы и предложения Блог и новости ЧаВо Справка и Wiki Твиттер
Профиль Настройки профиля Счёт и оплата Мои запросы в поддержку Связаться с поддержкой Опубликовано идей Подписчики Подписан Личные сообщения Чат Выйти