RicardoSantos

[RS]jangseohee Moving Average System V0

Request for jangseohee, scalar ma system.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?
study(title="[RS]jangseohee Moving Average System V0", shorttitle="[RS]jangseohee MAS.V0", overlay=true)
base = input(6)
multi = input(3)
source = close
ma0 = ema(source, base)
ma1 = ema(source, base+multi)
ma2 = ema(source, base+multi*2)
ma3 = ema(source, base+multi*3)
ma4 = ema(source, base+multi*4)
ma5 = ema(source, base+multi*5)
ma6 = ema(source, base+multi*6)
ma7 = ema(source, base+multi*7)
ma8 = ema(source, base+multi*8)
ma9 = ema(source, base+multi*9)
ma10 = ema(source, base+multi*10)
ma11 = ema(source, base+multi*11)
ma12 = ema(source, base+multi*12)
ma13 = ema(source, base+multi*13)
ma14 = ema(source, base+multi*14)
ma15 = ema(source, base+multi*15)
ma16 = ema(source, base+multi*16)

plot(ma0, color=black, linewidth=2)
plot(ma1, color=red, linewidth=1)
plot(ma2, color=red, linewidth=1)
plot(ma3, color=red, linewidth=1)
plot(ma4, color=yellow, linewidth=1)
plot(ma5, color=yellow, linewidth=1)
plot(ma6, color=yellow, linewidth=1)
plot(ma7, color=yellow, linewidth=1)
plot(ma8, color=green, linewidth=1)
plot(ma9, color=green, linewidth=1)
plot(ma10, color=green, linewidth=1)
plot(ma11, color=green, linewidth=1)
plot(ma12, color=blue, linewidth=1)
plot(ma13, color=blue, linewidth=1)
plot(ma14, color=blue, linewidth=1)
plot(ma15, color=blue, linewidth=1)
plot(ma16, color=black, linewidth=2)