The equations are as follows:
\[
\begin{align*}
\bar{x}_t &= (1-\alpha) \cdot \bar{x}_{t-1} + \alpha \cdot x_t \\
t_t &= (1-\beta) \cdot t_{t-1} + \beta \cdot (\bar{x}_t - \bar{x}_{t-1})
\end{align*}
\]
where $\bar{x}_t$ is the smoothed value at time $t$, $x_t$
Show more…