Trading glossary
Exponential moving average (EMA)
Trading involves risk. You could lose more than your deposit.
An exponential moving average smooths a price series while weighting recent observations more heavily than older ones, so it turns faster than a simple average of the same length.
A moving average in which each observation carries a weight that decays geometrically with age. Where a simple average gives every price in its window the same weight and drops the oldest one entirely each time it advances, an exponential average keeps a diminishing share of everything that came before, so nothing ever leaves the calculation completely.
The calculation is recursive and needs only two inputs: the latest price and the previous value of the average. A smoothing factor is derived from the chosen number of periods, the latest price is multiplied by that factor, the previous average is multiplied by one minus it, and the two are added. A shorter period means a larger factor, which means the average tracks price more closely and lags it less.
Because it responds faster it also reverses more often, and that is the trade rather than an improvement: an exponential average of a given length crosses a price series more frequently than a simple one of the same length, which produces earlier signals and more of the signals that immediately reverse. A second point catches people comparing charts: the recursion needs a starting value, and platforms seed it differently, some with the first close and some with a simple average of the opening window, so two charts can print marginally different lines for the same setting. Like every moving average it is computed from prices that have already happened, so it describes what a series has been doing, not what it will do.
How it is calculated
The smoothing factor equals two divided by the number of periods plus one. Each new exponential moving average equals the latest close multiplied by that factor, plus the previous average multiplied by one minus the factor.
Advancing the average by one bar
- Periods
- 10
- Smoothing factor
- 2 ÷ (10 + 1) = 0.1818
- Previous exponential moving average
- 100.00
- Latest close
- 102.00
- New exponential moving average
- (102.00 × 0.1818) + (100.00 × 0.8182) = 100.36
Illustrative figures, not YAL prices. A simple average of the same length would have moved less on the same bar, because it weights the new close no more heavily than the nine before it.
Where you see it
MetaTrader 5 offers Exponential as a Method on its Moving Average indicator, alongside simple, smoothed and linear weighted.
In the curriculum
Taught in 2 lessons.
Part of an ordered curriculum of 139 lessons across 10 modules, free and with nothing behind a sign-up.
Get started
Open your account in four steps.
A clear path from sign-up to your first trade, in four steps.
No depositNo documents
01/ 04step 1 of 4
Register
A few details to get started.
No deposit to open
02/ 04step 2 of 4
Verify
Confirm your identity, securely.
ID and proof of address
03/ 04step 3 of 4
Fund
Add money by bank transfer or card.
From $0
04/ 04step 4 of 4
Trade
Go live on the platform you already know.
MetaTrader 5



