## EMA Algorithm

The Exponential Moving Average (EMA) is one of the most used indicators in technical analysis today.

**Formula**

Where

**S**_{t} is the result of the EMA at time **t**
**m**_{t} is the measurement from sensor at time **t**,
**α** is a coefficient in the range **<0,1>** that decides how many samples the EMA algorithm should take into account.
- A low
**α** will be very slow to rapid input changes and takes many samples into account.
- A high
**α** will be fast, but average over fewer samples.

Most commonly way to initialize

Reference