smma
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.smma(source: ArrayLike, period: int = 13) -> np.ndarrayWilder's smoothed average: seeded with the mean of the first period values.
Parameters
| Name | Type | Default |
|---|---|---|
| source | ArrayLike | |
| period | int | 13 |
Then (previous * (period - 1) + price) / period. After a gap it restarts with a new seed.
Also known as smma and wilder.