GAIN MORE GURU 7 EMA
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © gurucharanrao

//@version=5 
indicator("GAIN MORE GURU 7 EMA", overlay=true)

Lenthema1 = input.int(title = "EMA1", defval = 7, minval =1, maxval =500)
Lenthema2 = input.int(title = "EMA2", defval = 25, minval =1, maxval =500)
Lenthema3 = input.int(title = "EMA3", defval = 50, minval =1, maxval =500)
Lenthema4 = input.int(title = "EMA4", defval = 99, minval =1, maxval =500)
Lenthema5 = input.int(title = "EMA5", defval = 150, minval =1, maxval =500)
Lenthema6 = input.int(title = "EMA6", defval = 200, minval =1, maxval =500)
Lenthema7 = input.int(title = "EMA7", defval = 300, minval =1, maxval =500)


/// EMA INDICATOR

EMA1 = ta.ema(close,Lenthema1)
EMA2 = ta.ema(close,Lenthema2)
EMA3 = ta.ema(close,Lenthema3)
EMA4 = ta.ema(close,Lenthema4)
EMA5 = ta.ema(close,Lenthema5)
EMA6 = ta.ema(close,Lenthema6)
EMA7 = ta.ema(close,Lenthema7)


/// PLOT

plot(EMA1, color = color.new(color.green,1))
plot(EMA2, color = color.new(color.orange,2))
plot(EMA3, color = color.new(color.silver,3))
plot(EMA4, color = color.new(color.fuchsia,4))
plot(EMA5, color = color.new(color.maroon,5))
plot(EMA6, color = color.new(color.blue,6))
plot(EMA7, color = color.new(color.red,7))
