> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/indicators/exponential-moving-average.md).

# Exponential Moving Average

ema() calculates the Exponential Moving Average from candles for a set period and price column.

The Exponential Moving Average in Origami Tech applies weighted smoothing to price data, ideal for momentum and crossover strategies.

## Exponential Moving Average

`ema(candles: List[[Candle]], period: int = 14, column: str = "close") -> List[Decimal]`
