PROTECTED SOURCE SCRIPT
EMAs & SMAs [Pacote com várias médias]

//version=5
indicator("EMAs-SMAs", overlay=true)
// Fonte
src = input.source(close, "Fonte (source)")
// ==============================
// EMAs
// ==============================
ema3 = ta.ema(src, 3)
ema4 = ta.ema(src, 4)
ema5 = ta.ema(src, 5)
ema7 = ta.ema(src, 7)
ema9 = ta.ema(src, 9)
ema17 = ta.ema(src, 17)
ema18 = ta.ema(src, 18)
ema21 = ta.ema(src, 21)
ema34 = ta.ema(src, 34)
ema40 = ta.ema(src, 40)
ema50 = ta.ema(src, 50)
ema55 = ta.ema(src, 55)
ema72 = ta.ema(src, 72)
ema80 = ta.ema(src, 80)
ema96 = ta.ema(src, 96)
ema100 = ta.ema(src, 100)
ema200 = ta.ema(src, 200)
plot(ema3, "EMA 3", color=color.new(color.blue, 0), linewidth=2)
plot(ema4, "EMA 4", color=color.new(color.red, 0), linewidth=2)
plot(ema5, "EMA 5", color=color.new(color.green, 0), linewidth=2)
plot(ema7, "EMA 7", color=color.new(color.orange, 0), linewidth=2)
plot(ema9, "EMA 9", color=color.new(color.orange, 0), linewidth=2)
plot(ema17, "EMA 17", color=color.new(color.blue, 0), linewidth=2)
plot(ema18, "EMA 18", color=color.new(color.red, 0), linewidth=2)
plot(ema21, "EMA 21", color=color.new(color.green, 0), linewidth=2)
plot(ema34, "EMA 34", color=color.new(color.orange, 0), linewidth=2)
plot(ema40, "EMA 40", color=color.new(color.orange, 0), linewidth=2)
plot(ema50, "EMA 50", color=color.new(color.blue, 0), linewidth=2)
plot(ema55, "EMA 55", color=color.new(color.red, 0), linewidth=2)
plot(ema72, "EMA 72", color=color.new(color.green, 0), linewidth=2)
plot(ema80, "EMA 80", color=color.new(color.orange, 0), linewidth=2)
plot(ema96, "EMA 96", color=color.new(color.orange, 0), linewidth=2)
plot(ema100, "EMA 100", color=color.new(color.blue, 0), linewidth=2)
plot(ema200, "EMA 200", color=color.new(color.red, 0), linewidth=2)
// ==============================
// SMAs
// ==============================
sma3 = ta.sma(src, 3)
sma4 = ta.sma(src, 4)
sma5 = ta.sma(src, 5)
sma7 = ta.sma(src, 7)
sma9 = ta.sma(src, 9)
sma17 = ta.sma(src, 17)
sma18 = ta.sma(src, 18)
sma21 = ta.sma(src, 21)
sma34 = ta.sma(src, 34)
sma40 = ta.sma(src, 40)
sma50 = ta.sma(src, 50)
sma55 = ta.sma(src, 55)
sma72 = ta.sma(src, 72)
sma80 = ta.sma(src, 80)
sma96 = ta.sma(src, 96)
sma100 = ta.sma(src, 100)
sma200 = ta.sma(src, 200)
plot(sma3, "SMA 3", color=color.new(color.blue, 60), linewidth=1, style=plot.style_line)
plot(sma4, "SMA 4", color=color.new(color.red, 60), linewidth=1, style=plot.style_line)
plot(sma5, "SMA 5", color=color.new(color.green, 60), linewidth=1, style=plot.style_line)
plot(sma7, "SMA 7", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma9, "SMA 9", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma17, "SMA 17", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma18, "SMA 18", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma21, "SMA 21", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma34, "SMA 34", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma40, "SMA 40", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma50, "SMA 50", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma55, "SMA 55", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma72, "SMA 72", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma80, "SMA 80", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma96, "SMA 96", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma100, "SMA 100", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma200, "SMA 200", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
indicator("EMAs-SMAs", overlay=true)
// Fonte
src = input.source(close, "Fonte (source)")
// ==============================
// EMAs
// ==============================
ema3 = ta.ema(src, 3)
ema4 = ta.ema(src, 4)
ema5 = ta.ema(src, 5)
ema7 = ta.ema(src, 7)
ema9 = ta.ema(src, 9)
ema17 = ta.ema(src, 17)
ema18 = ta.ema(src, 18)
ema21 = ta.ema(src, 21)
ema34 = ta.ema(src, 34)
ema40 = ta.ema(src, 40)
ema50 = ta.ema(src, 50)
ema55 = ta.ema(src, 55)
ema72 = ta.ema(src, 72)
ema80 = ta.ema(src, 80)
ema96 = ta.ema(src, 96)
ema100 = ta.ema(src, 100)
ema200 = ta.ema(src, 200)
plot(ema3, "EMA 3", color=color.new(color.blue, 0), linewidth=2)
plot(ema4, "EMA 4", color=color.new(color.red, 0), linewidth=2)
plot(ema5, "EMA 5", color=color.new(color.green, 0), linewidth=2)
plot(ema7, "EMA 7", color=color.new(color.orange, 0), linewidth=2)
plot(ema9, "EMA 9", color=color.new(color.orange, 0), linewidth=2)
plot(ema17, "EMA 17", color=color.new(color.blue, 0), linewidth=2)
plot(ema18, "EMA 18", color=color.new(color.red, 0), linewidth=2)
plot(ema21, "EMA 21", color=color.new(color.green, 0), linewidth=2)
plot(ema34, "EMA 34", color=color.new(color.orange, 0), linewidth=2)
plot(ema40, "EMA 40", color=color.new(color.orange, 0), linewidth=2)
plot(ema50, "EMA 50", color=color.new(color.blue, 0), linewidth=2)
plot(ema55, "EMA 55", color=color.new(color.red, 0), linewidth=2)
plot(ema72, "EMA 72", color=color.new(color.green, 0), linewidth=2)
plot(ema80, "EMA 80", color=color.new(color.orange, 0), linewidth=2)
plot(ema96, "EMA 96", color=color.new(color.orange, 0), linewidth=2)
plot(ema100, "EMA 100", color=color.new(color.blue, 0), linewidth=2)
plot(ema200, "EMA 200", color=color.new(color.red, 0), linewidth=2)
// ==============================
// SMAs
// ==============================
sma3 = ta.sma(src, 3)
sma4 = ta.sma(src, 4)
sma5 = ta.sma(src, 5)
sma7 = ta.sma(src, 7)
sma9 = ta.sma(src, 9)
sma17 = ta.sma(src, 17)
sma18 = ta.sma(src, 18)
sma21 = ta.sma(src, 21)
sma34 = ta.sma(src, 34)
sma40 = ta.sma(src, 40)
sma50 = ta.sma(src, 50)
sma55 = ta.sma(src, 55)
sma72 = ta.sma(src, 72)
sma80 = ta.sma(src, 80)
sma96 = ta.sma(src, 96)
sma100 = ta.sma(src, 100)
sma200 = ta.sma(src, 200)
plot(sma3, "SMA 3", color=color.new(color.blue, 60), linewidth=1, style=plot.style_line)
plot(sma4, "SMA 4", color=color.new(color.red, 60), linewidth=1, style=plot.style_line)
plot(sma5, "SMA 5", color=color.new(color.green, 60), linewidth=1, style=plot.style_line)
plot(sma7, "SMA 7", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma9, "SMA 9", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma17, "SMA 17", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma18, "SMA 18", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma21, "SMA 21", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma34, "SMA 34", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma40, "SMA 40", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma50, "SMA 50", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma55, "SMA 55", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma72, "SMA 72", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma80, "SMA 80", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma96, "SMA 96", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma100, "SMA 100", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
plot(sma200, "SMA 200", color=color.new(color.orange, 60), linewidth=1, style=plot.style_line)
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.