ALL IN ONE by coinsspor
Bollinger Bantları
İchimoku
Tillson T3
Mavilim
Mac_EMA
ma20,ma50,ma55,ma200
ema13,ema89,ema144
hepsini İndikatör Özeliklerinden Ekleyip Çıkarabilirsiniz.
//@version=3
//edited: FATİH ERDAL on twitter
study("ALL IN ONE by coinsspor", overlay=true)
MACEMASHOW = input(false, title="Show Mac_EMA")
src0 = close, len0 = input(13, minval=1, title="Trend Change EMA")
ema0 = ema(src0, len0)
plot_color = ema0 >= ema0[2] ? lime: ema0 < ema0[2] ? red : na
plot(MACEMASHOW and ema0 ? ema0:na, title="EMA", style=line, linewidth=3, color = plot_color)
BBSHOW = input(false, title="Show Bollinger Bands")
length = input(20, minval=1)
src = input(close, title="Source")
mult = input(1.0, minval=0.001, maxval=10, step=0.2)
basis = sma(src, length)
dev = mult * stdev(src, length)
upper = basis + dev
lower = basis - dev
mult2 = input(2.0, minval=0.001, maxval=10, step=0.2)
dev2 = mult2 * stdev(src, length)
upper2 = basis + dev2
lower2 = basis - dev2
mult3 = input(3.0, minval=0.001, maxval=10, step=0.2)
dev3 = mult3 * stdev(src, length)
upper3 = basis + dev3
lower3 = basis - dev3
plot(BBSHOW and basis ? basis:na, color=red) //sma
//p1a = plot(upper, color=orange)
//p1b = plot(lower, color=orange)
p2a = plot(BBSHOW and upper2 ? upper2:na, color=green )
p2b = plot(BBSHOW and lower2 ? lower2:na, color=green )
p3a = plot(BBSHOW and upper3 ? upper3:na, color=orange )
p3b = plot(BBSHOW and lower3 ? lower3:na, color=orange )
MAVILIMSHOW = input(false, title="Show MAVILIM")
MMM1= wma(close, 3)
MMM2= wma(MMM1, 5)
MMM3= wma(MMM2, 8)
MMM4= wma(MMM3, 13)
MMM5= wma(MMM4, 21)
MAVW= wma(MMM5, 34)
plot(MAVILIMSHOW and MAVW ? MAVW:na, color=blue, linewidth=2)
ICHSHOW = input(false, title="Show ICHIMOKU")
conversionPeriods = input(9, minval=1, title="Conversion Line Periods"),
basePeriods = input(26, minval=1, title="Base Line Periods")
laggingSpan2Periods = input(52, minval=1, title="Lagging Span 2 Periods"),
displacement = input(26, minval=1, title="Displacement")
donchian(len) => avg(lowest(len), highest(len))
conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)
plot(ICHSHOW and conversionLine ? conversionLine :na, color=#0496ff, title="Conversion Line")
plot(ICHSHOW and baseLine ? baseLine :na, color=#991515, title="Base Line")
plot(ICHSHOW and close ? close :na, offset = -displacement, color=#459915, title="Lagging Span")
p1 = plot(ICHSHOW and leadLine1 ? leadLine1 :na, offset = displacement, color=green,
title="Lead 1")
p2 = plot(ICHSHOW and leadLine2 ? leadLine2 :na, offset = displacement, color=red,
title="Lead 2")
fill(p1, p2, color = leadLine1 > leadLine2 ? green : red)
T3FiboLine = input(false, title="Show T3 Fibonacci Ratio Line?")
TC3SHOW = input(true, title="Show Tillson T3")
length1 = input(8, "T3 Length")
a1 = input(0.7, "Volume Factor")
e1=ema((high + low + 2close)/4, length1)
e2=ema(e1,length1)
e3=ema(e2,length1)
e4=ema(e3,length1)
e5=ema(e4,length1)
e6=ema(e5,length1)
c1=-a1a1a1
c2=3a1a1+3a1a1a1
c3=-6a1a1-3a1-3a1a1a1
c4=1+3a1+a1a1a1+3a1a1
T3=c1e6+c2e5+c3e4+c4*e3
col1= T3>T3[1]
col3= T3<T3[1]
color = col1 ? green : col3 ? red : yellow
plot(T3 and TC3SHOW ? T3 :na, color=color, linewidth=3, title="T3")
length12 = input(5, "T3 Length fibo")
a12 = input(0.618, "Volume Factor fibo")
e12=ema((high + low + 2close)/4, length12)
e22=ema(e12,length12)
e32=ema(e22,length12)
e42=ema(e32,length12)
e52=ema(e42,length12)
e62=ema(e52,length12)
c12=-a12a12a12
c22=3a12a12+3a12a12a12
c32=-6a12a12-3a12-3a12a12a12
c42=1+3a12+a12a12a12+3a12a12
T32=c12e62+c22e52+c32e42+c42*e32
col12= T32>T32[1]
col32= T32<T32[1]
color2 = col12 ? blue : col32 ? purple : yellow
plot(T3FiboLine and T32 ? T32 : na, color=color2, linewidth=2, title="T3fibo")
MAA20=input(false, title="Show MA20")
MAA50 = input(true, title="Show MA50")
MAA55 = input(false, title="Show MA55")
MAA100 = input(true, title="Show MA100")
MAA200 = input(true, title="Show MA200")
EMAA13 =input(false, title="Show EMA13")
EMAA89 = input(false, title="Show EMA89")
EMAA144 = input(true, title="Show EMA144")
s1= sma(close,20)
s2= sma(close,50)
s3= sma(close,55)
s4 = sma(close, 100)
s5 = sma(close, 200)
s6= ema(close,13)
s7= ema(close,89)
s8= ema(close,144)
plot(MAA20 and s1 ? s1:na, title = "ma20", color = gray, linewidth = 3)
plot(MAA50 and s2 ? s2:na, title = "ma50",color = maroon, linewidth = 3)
plot(MAA55 and s3 ? s3:na, title = "ma55",color = green, linewidth = 3)
plot(MAA100 and s4 ? s4:na, title = "ma100",color = yellow, linewidth = 3)
plot(MAA200 and s5 ? s5:na, title = "ma200",color = orange, linewidth = 3)
plot(EMAA13 and s6 ? s6:na, title = "ema13",color = olive, linewidth = 3)
plot(EMAA89 and s7 ? s7:na, title = "ema89",color = fuchsia, linewidth = 3)
plot(EMAA144 and s8 ? s8:na, title = "ema144",color = aqua, linewidth = 3)