public SMMA(DataSeries ds, int period, string description) public static SMMA Series(DataSeries ds, int period)
PREVSUM = SMMA(i-1) *N SMMA(i) = (PREVSUM-SMMA(i-1)+CLOSE(i))/N