WMA 3-987

214 2 19
WMA 3-987 - line of the Fibonacci series
WMA - Weighted moving average
Remove from Favorite Scripts Add to Favorite Scripts
// @author traderUS180

study(title="WMA 3-987", overlay=true)
src = input(close, title="Source")
len0 = input(3, minval=1, title="Length")
out0 = wma(src, len0)
len1 = input(5, minval=1, title="Length")
out1 = wma(src, len1)
len2 = input(8, minval=1, title="Length")
out2 = wma(src, len2)
len3 = input(13, minval=1, title="Length")
out3 = wma(src, len3)
len4 = input(21, minval=1, title="Length")
out4 = wma(src, len4)
len5 = input(34, minval=1, title="Length")
out5 = wma(src, len5)
len6 = input(55, minval=1, title="Length")
out6 = wma(src, len6)
len7 = input(89, minval=1, title="Length")
out7 = wma(src, len7)
len8 = input(144, minval=1, title="Length")
out8 = wma(src, len8)
len9 = input(233, minval=1, title="Length")
out9 = wma(src, len9)
len10 = input(377, minval=1, title="Length")
out10 = wma(src, len10)
len11 = input(610, minval=1, title="Length")
out11 = wma(src, len11)
len12 = input(987, minval=1, title="Length")
out12 = wma(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)
6 months ago
What program did you use to make this?
traderUS180 AlexYates23
6 months ago
scripts the Pine
Ideas Scripts Chart
United States
United Kingdom
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out