99
99
// EMA Inputs
default_ema_period = input.int(70, title='Default EMA')
fast_ema_period = input.int(43, title='Fast EMA')
slow_ema7_period = input.int(30, title='Slow EMA 7')
slow_ema8_period = input.int(35, title='Slow EMA 8')
slow_ema9_period = input.int(40, title='Slow EMA 9')
slow_ema10_period = input.int(45, title='Slow EMA 10')
slow_ema11_period = input.int(50, title='Slow EMA 11')
slow_ema12_period = input.int(60, title='Slow EMA 12')
// Calculate EMAs
fast_ema = ta.ema(close, fast_ema_period)
slow_ema7 = ta.ema(close, slow_ema7_period)
slow_ema8 = ta.ema(close, slow_ema8_period)
slow_ema9 = ta.ema(close, slow_ema9_period)
slow_ema10 = ta.ema(close, slow_ema10_period)
slow_ema11 = ta.ema(close, slow_ema11_period)
slow_ema12 = ta.ema(close, slow_ema12_period)
default_ema = ta.ema(close, default_ema_period)
// Trend Colors
downtrend_color = #4682B4
uptrend_color = #00FFFF
neutral_color = #e9112e