# Why do I get constant forecast with the simple moving average model?

I am trying to forecast time series data for next $n$ time periods and I am using various forecasting techniques like simple moving average, exponential smoothing (Single,double,triple) and auto.arima(). I am getting equal forecasting values for simple moving average and single exponential smoothing and at times, even auto.arima() function in R is giving me the same forecast values.

Here is the code that I am trying to use

mod_mva <- SMA(data.train,n=2)
forecast_mva <-forecast(mod_mva,ts_freq)


Here is the output:

For ARIMA, things are slightly different. A pure MA($q$) forecast will be flat after $q$ points. If there are AR components, the forecast will technically never be flat, but the oscillations will "die out" and be smaller and smaller, potentially looking flat to your eye.