study(title="Intraday - Exponential Moving Average 3 CrossOver", shorttitle="EMA3CO", overlay=true)
length1 = input(5, minval=1)
src1 = input(close, title="Source")
e1 = ema(src1, length1)
plot(e1, color=lime,linewidth=1)

length2 = input(15, minval=1)
src2 = input(close, title="Source")
e2 = ema(src2, length2)
plot(e2, color=green,linewidth=2)

length3 = input(25, minval=1)
src3 = input(close, title="Source")
e3 = ema(src3, length3)
plot(e3, color=red,linewidth=3)


plotshape(crossover(e1,e2), "Up Arrow", shape.triangleup,location.belowbar,blue,0,0)
plotshape(crossover(e2,e3), "Up Arrow", shape.triangleup,location.belowbar,green,0,0)


plotshape(crossover(e2,e1), "Down Arrow", shape.triangledown,location.abovebar,purple,0,0)
plotshape(crossover(e3,e2), "Down Arrow", shape.triangledown,location.abovebar,red,0,0)


면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.