# 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.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.4870498478412628, "perplexity": 1392.7551313571225}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-16/segments/1585370529375.49/warc/CC-MAIN-20200405053120-20200405083120-00330.warc.gz"}