script("Moving Average", kind="indicator") input length = 20 input length2 = 50 ma = ta.sma(close, length) ma2 = ta.sma(close, length2) plot(ma, title="MA", color="#4CAF50", width=2) plot(ma2, title="MA 50", color="#2962FF", width=2)