drizzla
New member
I currently have 5 different EMAs on a couple of my charts, a 9, 20, 50, 100, 200. I would love to be able to combine these all into one single multi-EMA indicator, and I would love to have the individual indicator settings available in the customizations page (color, width, change EMA length, etc.). I am capable of doing some basic design edits to the actual script too, if need be, but not functional edits per se.
Here is a similar TradingView example: https://www.tradingview.com/script/lFGM42Wi-Multiple-EMA/
Sorry if this is a bit of lazy request, haha. Please feel free to link me to any existing indicators like this. Thank you!
Here is my current EMA chart for reference:
Here is a similar TradingView example: https://www.tradingview.com/script/lFGM42Wi-Multiple-EMA/
Sorry if this is a bit of lazy request, haha. Please feel free to link me to any existing indicators like this. Thank you!
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Salemselva
//@version=4
study(title="Multiple EMA", shorttitle="5EMA by SelNach", overlay=true)
len1 = input(10, minval=1, title="Length")
src1 = input(close, title="Source")
ema10 = ema(src1, len1)
plot(ema10, color=#f00b0b, transp=50, style=plot.style_line, linewidth=2, title="EMA(10)")
len2 = input(20, minval=1, title="Length")
src2 = input(close, title="Source")
ema20 = ema(src2, len2)
plot(ema20, color=#80ff33, transp=50, style=plot.style_line, linewidth=2, title="EMA(20)")
len3 = input(50, minval=1, title="Length")
src3 = input(close, title="Source")
ema50 = ema(src3, len3)
plot(ema50, color=#337dff, transp=50, style=plot.style_line, linewidth=2, title="EMA(50)")
len4 = input(100, minval=1, title="Length")
src4 = input(close, title="Source")
ema100 = ema(src4, len4)
plot(ema100, color=#af11aa, transp=50, style=plot.style_line, linewidth=2, title="EMA(100)")
len5 = input(200, minval=1, title="Length")
src5 = input(close, title="Source")
ema200 = ema(src5, len5)
plot(ema200, color=#f3ed16, transp=50, style=plot.style_line, linewidth=2, title="EMA(200)")
Here is my current EMA chart for reference: