An Exponential Moving Average (EMA) is a first-order IIR Filter that weights recent samples more heavily than older ones. Each output is a blend of the current input and the previous output:
- where controls how quickly the average responds; a larger reacts faster to changes, a smaller smooths more aggressively.
Asymmetric EMA
Instead of a single , use separate values for growth and decay:
Useful in signal tracking where reacting quickly to a rising signal but holding on longer to a falling one reduces false “signal gone” declarations.