Skip to content
Syed Ibrahim Omer edited this page Apr 13, 2026 · 1 revision

EMA (Exponential Moving Average)

What it is

EMA is a moving average that weights recent prices more heavily than older prices.

Output column

  • ema

Formula (conceptual)

EMA is commonly written recursively:

[ EMA_t = \alpha \cdot close_t + (1-\alpha)\cdot EMA_{t-1} ]

where ( \alpha ) is a smoothing factor derived from the configured span/window.

Configuration

  • Config key: ema_window
  • Value: integer span, keyed by period + timeframe

Notes

  • EMA reacts faster than SMA to recent changes.
  • Early rows may be null or depend on initialization details.

Related pages:

Clone this wiki locally