INVITE-ONLY SCRIPT

EMA Ribbon Freaddeleo

已更新
//version=3
study(title="EMA Ribbon [K]", shorttitle="EMA Ribbon", overlay=true)

dropn(src, n) =>
na(src[n]) ? na : src

length1 = input(12, title="MA-1 period", minval=1)
length2 = input(20, title="MA-2 period", minval=1)
length3 = input(30, title="MA-3 period", minval=1)
length4 = input(35, title="MA-4 period", minval=1)
length5 = input(40, title="MA-5 period", minval=1)
length6 = input(45, title="MA-6 period", minval=1)
length7 = input(50, title="MA-7 period", minval=1)
length8 = input(55, title="MA-8 period", minval=1)
length9 = input(200, title="MA-9 period", minval=1)
src = input(close, type=source, title="Source")
dropCandles = input(1, minval=0, title="Drop first N candles")

price = dropn(src, dropCandles)

plot(ema(price, length1), title="MA-1", color=#f5eb5d, transp=0, linewidth=2)
plot(ema(price, length2), title="MA-2", color=#f5b771, transp=0, linewidth=2)
plot(ema(price, length3), title="MA-3", color=#f5b056, transp=0, linewidth=2)
plot(ema(price, length4), title="MA-4", color=#f57b4e, transp=0, linewidth=2)
plot(ema(price, length5), title="MA-5", color=#f56d58, transp=0, linewidth=2)
plot(ema(price, length6), title="MA-6", color=#f57d51, transp=0, linewidth=2)
plot(ema(price, length7), title="MA-7", color=#f55151, transp=0, linewidth=2)
plot(ema(price, length8), title="MA-8", color=#aa2707, transp=0, linewidth=2)
plot(ema(price, length9), title="MA-9", color=#b3a6ee, transp=0, linewidth=2)


plot(close)
發行說明
//version=3
study(title="EMA Ribbon [Freaddeleo]", shorttitle="EMA Ribbon", overlay=true)

dropn(src, n) =>
na(src[n]) ? na : src

length1 = input(12, title="MA-1 period", minval=1)
length2 = input(20, title="MA-2 period", minval=1)
length3 = input(30, title="MA-3 period", minval=1)
length4 = input(35, title="MA-4 period", minval=1)
length5 = input(40, title="MA-5 period", minval=1)
length6 = input(45, title="MA-6 period", minval=1)
length7 = input(50, title="MA-7 period", minval=1)
length8 = input(55, title="MA-8 period", minval=1)
length9 = input(200, title="MA-9 period", minval=1)
src = input(close, type=source, title="Source")
dropCandles = input(1, minval=0, title="Drop first N candles")

price = dropn(src, dropCandles)

plot(ema(price, length1), title="MA-1", color=#f5eb5d, transp=0, linewidth=2)
plot(ema(price, length2), title="MA-2", color=#f5b771, transp=0, linewidth=2)
plot(ema(price, length3), title="MA-3", color=#f5b056, transp=0, linewidth=2)
plot(ema(price, length4), title="MA-4", color=#f57b4e, transp=0, linewidth=2)
plot(ema(price, length5), title="MA-5", color=#f56d58, transp=0, linewidth=2)
plot(ema(price, length6), title="MA-6", color=#f57d51, transp=0, linewidth=2)
plot(ema(price, length7), title="MA-7", color=#f55151, transp=0, linewidth=2)
plot(ema(price, length8), title="MA-8", color=#aa2707, transp=0, linewidth=2)
plot(ema(price, length9), title="MA-9", color=#b3a6ee, transp=0, linewidth=2)


plot(close)
Moving AveragesTrend Analysis

僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請聯繫ArnoVictorDorian以了解更多信息,或按照下面作者的說明進行操作。

TradingView 不建議購買並使用此腳本,除非您 100% 信任其作者並了解腳本的工作原理。在許多情況下,您可以在我們的社群腳本中免費找到良好的開源替代方案。

作者的說明

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。

免責聲明