API ChartStyles Community Components Community Indicators IndexDefinitions Knowledge Base Misc Optimizers PosSizers Providers Standard Indicators TASC Traders Tips TASCIndicators Visualizers |

**Main Page**- Category List
- Knowledge Base
- Tutorial Videos
- Traders Tips
- Indicator documentation
- Addin examples

Advanced Search »

```
public SMMA(DataSeries ds, int period, string description)
public static SMMA Series(DataSeries ds, int period)
```

ds |
Data series |

period |
Indicator lookback period |

PREVSUM = SMMA(i-1) *N SMMA(i) = (PREVSUM-SMMA(i-1)+CLOSE(i))/N

Where:

SUM1 — is the total sum of closing prices for N periods;

PREVSUM — is the smoothed sum of the previous bar;

SMMA1 — is the smoothed moving average of the first bar;

SMMA(i) — is the smoothed moving average of the current bar (except for the first one);

CLOSE(i) — is the current closing price;

N — is the smoothing period.

PREVSUM — is the smoothed sum of the previous bar;

SMMA1 — is the smoothed moving average of the first bar;

SMMA(i) — is the smoothed moving average of the current bar (except for the first one);

CLOSE(i) — is the current closing price;

N — is the smoothing period.