LTI Exponential Moving Averages
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © DTyler1997

//@version=5
indicator("LTI Exponential Moving Averages", shorttitle="LTI EMAs", overlay=true, timeframe="", timeframe_gaps=true)
len1 = input.int(8, minval=1, title="Fast EMA 1 Length")
src1 = input(close, title="Fast EMA 1 Source")
len2 = input.int(21, minval=1, title="Fast EMA 2 Length")
src2 = input(close, title="Fast EMA 2 Source")
len3 = input.int(50, minval=1, title="Slow EMA 1 Length")
src3 = input(close, title="Slow EMA 1 Source")
len4 = input.int(200, minval=1, title="Slow EMA 2 Length")
src4 = input(close, title="Slow EMA 2 Source")
FastEMA1 = ta.ema(close, 8)
FastEMA2 = ta.ema(close, 21)
SlowEMA1 = ta.ema(close, 50)
SlowEMA2 = ta.ema(close, 200)
plot(FastEMA1, title="Fast EMA 1", color=color.yellow, linewidth=1)
plot(FastEMA2, title="Fast EMA 2", color=color.blue, linewidth=1)
plot(SlowEMA1, title="Slow EMA 1", color=color.red, linewidth=1)
plot(SlowEMA2, title="Slow EMA 2", color=color.green, linewidth=1)
