# forge.ta.rma

```python
forge.ta.rma(source: ArrayLike, period: int = 13) -> np.ndarray
```

Wilder's smoothed average: seeded with the mean of the first ``period`` values.

Then ``(previous * (period - 1) + price) / period``. After a gap it restarts with a new seed.
Also known as ``smma`` and ``wilder``.

Since Forge API 1.

## Class forge.ta.RMA

```python
forge.ta.RMA(**inputs: Any) -> None
```

Wilder's smoothing: a slow average seeded with the mean of the first N values.

RMA[period-1] = mean of the first period values

RMA[i] = (RMA[i-1] * (period - 1) + x[i]) / period

After a gap the average starts again with a new seed.

Since Forge API 1.
