Trying to define what "dema" is. For some reason, it's giving me the error in the title. I know that means there is something wrong with indentations, but don't know where it's wrong. Would appreciate the help!
dema = (indicator(title="Double EMA", shorttitle="DEMA", overlay=true, timeframe="", timeframe_gaps=true)
length = input.int(200, minval=1)
src = input(close, title="Source")
e1 = ta.ema(src, length)
e2 = ta.ema(e1, length)
dema = 2 * e1 - e2
plot(dema, "DEMA", color=#43A047))