# forge.ta.tema

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

Triple exponential average: ``3 * E1 - 3 * E2 + E3``. After a gap the cascade restarts.

Since Forge API 1.

## Class forge.ta.TEMA

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

Exponential average with most of its lag removed.

TEMA = 3 * EMA(x) - 3 * EMA(EMA(x)) + EMA(EMA(EMA(x)))

Each average starts at the bar where the one before it is defined. After a gap the whole calculation starts again.

Since Forge API 1.
