squattter

6x EMA - 50-500

50, 100, 200, 300, 400, 500 EMA for your convenience.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?
study(title="50-500 EMA", overlay=true)
src = input(close, title="Source")
len0 = input(50, minval=1, title="Length")
out0 = ema(src, len0)
len1 = input(100, minval=1, title="Length")
out1 = ema(src, len1)
len2 = input(200, minval=1, title="Length")
out2 = ema(src, len2)
len3 = input(300, minval=1, title="Length")
out3 = ema(src, len3)
len4 = input(400, minval=1, title="Length")
out4 = ema(src, len4)
len5 = input(500, minval=1, title="Length")
out5 = ema(src, len5)

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