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

16 lines
409 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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)
​