//@version=5 indicator("Simple Moving Average Strategy", overlay=true) // Set the length for moving averages short_ma_length = 9 long_ma_length = 21 // Calculate moving averages short_ma = ta.sma(close, short_ma_length) long_ma = ta.sma(close, long_ma_length) // Plot the moving averages plot(short_ma, color=color.blue, title="Short MA (9)") plot(long_ma,...