TD_MAMEAN ( SERIES_SPEC , FUNC_PARAMS ( FORECAST_PERIODS ( integer ) , ALGORITHM ( { MA | MEAN | NAIVE } ) [ , PREDICTION_INTERVALS( { NONE | 80 | 95 | BOTH } ) ] [ , FIT_METRICS ( { 1 | 0 } ) ] [ , RESIDUALS ( { 1 | 0 } ) ] [ , K_ORDER ( integer ) ] ) ;