Creating a average for a oscillator

sir how do i code for a 9 period moving average of 14 period rsi,
is it possible in tradescript ???
plz give the code if available

SMA(RSI(CLOSE,14),9)