Hi. Does anyone know the code for a prior moving average value?

I am trying to output the 5 prior ema values, from the current value,...