ta.ema

Exponential moving average (alpha = 2 / (length + 1)), seeded with the SMA of the first length values. An na source keeps the previous value.

ta.ema(source: float, length: simple int) -> series float

Parameters

Example

ta.ema(close, 9)