study(title="Wma Fibonacci", shorttitle="WMA", overlay=true)
Length1 = input(5, minval=1)
Length2 = input(8, minval=1)
Length3 = input(13, minval=1)
Length4 = input(21, minval=1)
Length5 = input(34, minval=1)
Length6 = input(55, minval=1)
Length7 = input(89, minval=1)
Length8 = input(144, minval=1)
Length9 = input(233, minval=1)
Length10 = input(377, minval=1)
Length11 = input(610, minval=1)
Length12 = input(987, minval=1)
Length13 = input(1587, minval=1)
Length14 = input(2584, minval=1)
Length15 = input(4171, minval=1)
xPrice = close
WMA1 = wma(xPrice, Length1)
WMA2 = wma(xPrice, Length2)
WMA3 = wma(xPrice, Length3)
WMA4 = wma(xPrice, Length4)
WMA5 = wma(xPrice, Length5)
WMA6 = wma(xPrice, Length6)
WMA7 = wma(xPrice, Length7)
WMA8 = wma(xPrice, Length8)
WMA9 = wma(xPrice, Length9)
WMA10 = wma(xPrice, Length10)
WMA11 = wma(xPrice, Length11)
WMA12 = wma(xPrice, Length12)
WMA13 = wma(xPrice, Length14)
WMA14 = wma(xPrice, Length14)
WMA15 = wma(xPrice, Length15)
plot(WMA1, color=color.gray, title="5", linewidth=1)
plot(WMA2, color=color.gray, title="8", linewidth=1)
plot(WMA3, color=color.gray, title="13", linewidth=1)
plot(WMA4, color=color.red, title="21", linewidth=3)
plot(WMA5, color=color.gray, title="34", linewidth=1)
plot(WMA6, color=color.orange, title="55", linewidth=3)
plot(WMA7, color=color.gray, title="89", linewidth=1)
plot(WMA8, color=color.blue, title="144", linewidth=3)
plot(WMA9, color=color.black, title="233", linewidth=3)
plot(WMA10, color=color.gray, title="377", linewidth=1)
plot(WMA11, color=color.purple, title="610", linewidth=3)
plot(WMA12, color=color.green, title="987", linewidth=3)
plot(WMA13, color=color.gray, title="1587", linewidth=1)
plot(WMA14, color=color.gray, title="2584", linewidth=1)
plot(WMA15, color=color.gray, title="4171", linewidth=1)