squattter

10-500 EMA - V2 - Rainbow Edition

Updated, now with colours!
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?
study(title="10-500 EMA - V2 - Rainbow Edition", overlay=true)
src = input(close, title="Source")
len0 = input(10, minval=1, title="#1 10")
out0 = ema(src, len0)
len1 = input(17, minval=1, title="#2 17")
out1 = ema(src, len1)
len2 = input(38, minval=1, title="#3 38")
out2 = ema(src, len2)
len3 = input(80, minval=1, title="#4 80")
out3 = ema(src, len3)
len4 = input(125, minval=1, title="#5 125")
out4 = ema(src, len4)
len5 = input(200, minval=1, title="#6 200")
out5 = ema(src, len5)
len6 = input(300, minval=1, title="#7 300")
out6 = ema(src, len6)
len7 = input(400, minval=1, title="#8 400")
out7 = ema(src, len7)
len8 = input(500, minval=1, title="#9 500")
out8 = ema(src, len8)

o0 = plot(out0, linewidth=1, color=red, transp=0)
o1 = plot(out1, linewidth=1, color=yellow, transp=0)
o2 = plot(out2, linewidth=1, color=lime, transp=0)
o3 = plot(out3, linewidth=1, color=aqua, transp=0)
o4 = plot(out4, linewidth=2, color=#FF00FF, transp=0)
o5 = plot(out5, linewidth=3, color=red, transp=0)
o6 = plot(out6, linewidth=4, color=maroon, transp=0)
o7 = plot(out7, linewidth=4, color=maroon, transp=0)
o8 = plot(out8, linewidth=4, color=maroon, transp=0)

fill(o0,o1, color=red, transp=60)
fill(o1,o2, color=yellow, transp=60)
fill(o2,o3, color=lime, transp=60)
fill(o3,o4, color=aqua, transp=60)
fill(o4,o5, color=#FF00FF, transp=60)
fill(o5,o6, color=maroon, transp=60)
fill(o6,o7, color=maroon, transp=60)
fill(o7,o8, color=maroon, transp=60)