TD_SMOOTHMA ( SERIES_SPEC (time_series), FUNC_PARAMS ( MA ({ CUMULATIVE |MEAN | MEDIAN | EXPONENTIAL }) [ , WINDOW (integer) ] [ , ONE_SIDED ({ 0 | 1 }) ] [ , LAMBDA (float) ] [ , PAD (float) ] [ , WEIGHTS (float [,...]) ] [ , WELL_KNOWN (“3MA” | “5MA” | “2x12MA” | “3x3MA” | “3x5MA” | “S15MA” | “S21MA” | “H5MA” | “H9MA” | “H13MA” | “H23MA”) } ] ) [, OUTPUT_FMT (INDEX_STYLE ({ NUMERICAL_SEQUENCE | FLOW_THROUGH })) ] );
Wherever 1 appears in the syntax, the function also accepts a positive integer greater than 0 that it treats as 1.