merhaba
tr trading indikatör matriks IQ nasıl düzenleye bilirim
aşağıdaki örneğin çevirisi nasıldır.
study(title="al sat", overlay=true)
sma5 = sma(close, 5)
ema21 = ema(close, 21)
ema34 = ema(close, 34)
ema2 = ema(close, 2)
ema55 = ema(close, 55)
ema1 = ema(close, 1)
ema3 = ema(close, 3)
sma13 = sma(close, 13)
sma8 = sma(close, 8)
sma21 = sma(close, 21)
sma50 = sma(close, 50)
ema144 = ema(close, 144)
sma200 = sma(close, 200)
ema13 = ema(close, 13)
plot((3*ema1+ema2+ema3)/5, title = "Öncü", color = blue, linewidth = 4)
plot((11*sma5+sma8+sma13)/13, title = "Ortanca", color = red, linewidth = 4)
plot((ema21+ema34+ema55)/3, title = "Son", color = black, linewidth = 4)
plot(sma21, title = "BASİT ORT.21", color = green, linewidth = 4)
plot(sma50, title = "BASİT ORT.50", color = maroon, linewidth = 4)
plot(sma200, title = "BASİT ORT.200", color = orange, linewidth = 4)
src = input(title="Source", type=source, defval=close)
uzunluk1 = input(13,"üstel trend takip")
plot(ema(src, uzunluk1), color=black, linewidth=3, title="üstel trend takip")
uzunluk2 = input(10,"basit trend takip")
plot(sma(src, uzunluk2), color=orange, linewidth=3, title="basit trend takip")
u1 = input(13,"saatlik al")
plot(ema(src, u1), color=maroon, linewidth=3, title="saatlik al")
u2 = input(21,"saatlik sat")
plot(ema(src, u2), color=black, linewidth=3, title="saatlik sat")
plot(cross(sma50, sma200) and sma50[1] < sma200[1] ? sma50 : na, title="Dikkat Golden Cross", style=cross, linewidth=4, color=yellow) // golden cross
plot(cross(sma21, sma50) and sma21[1] < sma50[1] ? sma50 : na, title="Dikkat Silver Cross", style=cross, linewidth=4, color=white) // silver cross
plotshape(cross(sma50, sma200) and sma50[1] < sma200[1] ? true : na, style=shape.triangleup, text="Dikkat Golden Cross",color=orange,size=size.small, location=location.belowbar,transp=false)
plotshape(cross(sma21, sma50) and sma21[1] < sma50[1] ? true : na, style=shape.triangleup, text="Dikkat Silver Cross",color=blue,size=size.tiny, location=location.belowbar,transp=false)
barcolor(cross(sma50, sma200) and sma50[1] < sma200[1] ? orange: cross(sma21, sma50) and sma21[1] < sma50[1] ? blue: close < open ? red: green)