traderUS180

SMA 3-987 Fibonacci

808
SMA 3-987 - line of the Fibonacci series
SMA -Simple Moving Average
A simple moving average (SMA) is an arithmetic moving average calculated by adding the closing price of the security for a number of time periods and then dividing this total by the number of time periods.

오픈 소스 스크립트

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

면책사항

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

차트에 이 스크립트를 사용하시겠습니까?
// @author traderUS180

study(title="SMA 3-987", overlay=true)
src = input(close, title="Source")
len0 = input(3, minval=1, title="Length")
out0 = sma(src, len0)
len1 = input(5, minval=1, title="Length")
out1 = sma(src, len1)
len2 = input(8, minval=1, title="Length")
out2 = sma(src, len2)
len3 = input(13, minval=1, title="Length")
out3 = sma(src, len3)
len4 = input(21, minval=1, title="Length")
out4 = sma(src, len4)
len5 = input(34, minval=1, title="Length")
out5 = sma(src, len5)
len6 = input(55, minval=1, title="Length")
out6 = ema(src, len6)
len7 = input(89, minval=1, title="Length")
out7 = sma(src, len7)
len8 = input(144, minval=1, title="Length")
out8 = sma(src, len8)
len9 = input(233, minval=1, title="Length")
out9 = sma(src, len9)
len10 = input(377, minval=1, title="Length")
out10 = sma(src, len10)
len11 = input(610, minval=1, title="Length")
out11 = sma(src, len11)
len12 = input(987, minval=1, title="Length")
out12 = sma(src, len12)



plot(out0, linewidth=2, color=white, transp=0)
plot(out1, linewidth=2, color=green, transp=0)
plot(out2, linewidth=2, color=yellow, transp=0)
plot(out3, linewidth=2, color=orange, transp=0)
plot(out4, linewidth=3, color=red, transp=0)
plot(out5, linewidth=3, color=maroon, transp=0)

plot(out6, linewidth=3, color=yellow, transp=0)
plot(out7, linewidth=3, color=orange, transp=0)
plot(out8, linewidth=4, color=green, transp=0)
plot(out9, linewidth=4, color=maroon, transp=0)
plot(out10, linewidth=4, color=blue, transp=0)
plot(out11, linewidth=4, color=white, transp=0)
plot(out12, linewidth=4, color=red, transp=0)