// Calculate Indicators ShortMA = MA(Close, ShortPeriod); LongMA = MA(Close, LongPeriod); RSI = RSI(Close, 14);