Files
2024-01-25 04:03:36 +03:30

409 B
Raw Permalink Blame History

EMA

The EMA is designed to improve on the idea of an SMA by giving more weight to the most recent price data, which is considered to be more relevant than older data. Since new data carries greater weight, the EMA responds more quickly to price changes than the SMA does.

Fromula

EMA = Price(t) × k + EMA(y) × (1−k)

where:

t = today y = yesterday N = number of days in EMA k = 2 ÷ (N + 1) ​