First published: 29 July 2019 · Reviewed and updated: 22 September 2026
The exponential moving average is the most widely used trend line in forex. It is the default on most platforms, it sits inside the MACD, and the 50 and 200 EMAs on the daily chart are watched on every major desk. This page explains exactly what it measures, shows the arithmetic on a EUR/USD example you can reproduce, and gives you a calculator to check your own numbers.
Quick answer
EMA stands for exponential moving average. In forex it is a line that averages a currency pair’s recent closing prices while giving the newest candles the most weight, so it turns faster than a simple moving average of the same length.
The formula: EMA = (close − previous EMA) × K + previous EMA, where K = 2 ÷ (periods + 1).
How traders use it: price above a rising EMA signals an uptrend, price below a falling EMA a downtrend. The 9/21 pair is common for intraday, 50/200 on the daily chart for trend bias, and 12/26 powers the MACD.
EMA /ˌiː.emˈeɪ/ · exponential moving average /ˌek.spəˈnen.ʃəl ˈmuː.vɪŋ ˈæv.ər.ɪdʒ/ noun · technical analysis
A moving average of price that gives the latest candle the most weight and lets the weight of older candles fade by a constant factor. It reacts to new prices faster than a simple moving average of the same length.
Full form: Exponential Moving Average. Synonyms: exponentially weighted moving average (EWMA), exponential MA. Compare: SMA (simple), WMA (weighted). Not to be confused with: EMA as an abbreviation outside trading, such as the European Medicines Agency.
Used in a sentence:
- “EUR/USD closed back above the 50 EMA, so the pullback looks finished.”
- “The 9 EMA crossed below the 21 on the hourly chart after the ECB press conference.”
- “As long as USD/JPY stays under its 200-day EMA, I only look for shorts.”
EMA calculator
Paste closing prices, oldest first, separated by commas, spaces or new lines. Set the period. The result updates as you type.
Needs at least N prices.
EMA(5) = 1.11134
K = 2 ÷ (5 + 1) = 0.3333 · seeded with the SMA of the first 5 closes
Your platform may differ slightly in the first values if it seeds differently or loads a longer history. After a few multiples of N the difference disappears.
1. What EMA means in forex
An exponential moving average smooths a currency pair’s closing prices into a single line. Every moving average does that; what makes the EMA different is how it weights the past. A simple moving average treats the last 20 candles as equally important and forgets candle 21 entirely. An EMA gives the newest candle the most weight, the one before slightly less, and so on, with older prices fading gradually rather than dropping off a cliff.
The practical result is that an EMA turns sooner when the market changes direction. In forex, where a single central bank statement can re-price a pair within minutes, that speed is the main reason most traders default to the EMA over the SMA.
- Trend direction — price above a rising EMA is an uptrend; below a falling EMA, a downtrend.
- Dynamic support and resistance — in a steady trend, price repeatedly pulls back to the EMA and bounces.
- Crossovers — a fast EMA crossing a slow one marks a change in momentum.
- Building block — the MACD is two EMAs and a third EMA of their difference.
A note on the abbreviation: outside trading, “EMA” has other meanings, most prominently the European Medicines Agency. On a price chart and in any forex context it always means exponential moving average.

2. What “exponential” actually means
The word describes the weights. Each step back in time, the weight on a candle is multiplied by the same factor, 1 − K. That constant-ratio decay is exponential decay, and it is easiest to understand by looking at it:
The 86.5% rule
Here is a fact most guides miss: whatever period you choose, an N-period EMA puts about 86.5% of its total weight on the last N candles. A 20 EMA puts 86.5% on the last 20; a 200 EMA puts 86.5% on the last 200. The remaining 13.5% is spread across everything older. So an N-period EMA and an N-period SMA are looking at roughly the same window — the EMA simply leans harder on its most recent part.
3. EMA formula and worked example
K = 2 ÷ (N + 1)
EMAtoday = (Closetoday − EMAyesterday) × K + EMAyesterday
N is the number of periods, and K is the smoothing factor — the share of the new close that gets absorbed into the average. For a 5-period EMA, K = 2 ÷ 6 = 0.3333. Because the formula needs a previous EMA, the first value is seeded with a simple moving average of the first N closes.
Step by step on EUR/USD
Ten illustrative daily closes, a 5-period EMA and, for comparison, a 5-period SMA. You can load the same numbers into the calculator above and check every line.
| Day | Close | Calculation | EMA(5) | SMA(5) |
|---|---|---|---|---|
| 1 | 1.1050 | — | — | — |
| 2 | 1.1062 | — | — | — |
| 3 | 1.1058 | — | — | — |
| 4 | 1.1071 | — | — | — |
| 5 | 1.1080 | Seed: (1.1050 + 1.1062 + 1.1058 + 1.1071 + 1.1080) ÷ 5 | 1.10642 | 1.10642 |
| 6 | 1.1102 | (1.1102 − 1.10642) × 0.3333 + 1.10642 | 1.10768 | 1.10746 |
| 7 | 1.1095 | (1.1095 − 1.10768) × 0.3333 + 1.10768 | 1.10829 | 1.10812 |
| 8 | 1.1120 | (1.1120 − 1.10829) × 0.3333 + 1.10829 | 1.10952 | 1.10936 |
| 9 | 1.1131 | (1.1131 − 1.10952) × 0.3333 + 1.10952 | 1.11072 | 1.11056 |
| 10 | 1.1126 | (1.1126 − 1.11072) × 0.3333 + 1.11072 | 1.11134 | 1.11148 |
4. EMA periods decoded: 7 to 200
Traders refer to EMAs by their period — “the 21”, “the 200”. The table shows what each common period actually does. Half-life is the number of candles after which a price’s influence on the EMA has halved; it is the most intuitive way to compare how fast different EMAs respond.
| EMA | K = 2 ÷ (N+1) | Half-life (candles) | Typical use in forex |
|---|---|---|---|
| 7 EMA | 0.2500 | 2.4 | Very short-term momentum; scalping |
| 9 EMA | 0.2000 | 3.1 | Fast line of the 9/21 intraday pair; also the MACD signal line |
| 12 EMA | 0.1538 | 4.1 | Fast EMA inside the MACD |
| 14 EMA | 0.1333 | 4.8 | Short-term swing; matches the default look-back of many oscillators |
| 18 EMA | 0.1053 | 6.2 | Short swing, between the 12 and the 21 |
| 20 EMA | 0.0952 | 6.9 | Short-term trend and pullback line on hourly to daily charts |
| 21 EMA | 0.0909 | 7.3 | Slow line of the 9/21 pair; about one trading month on a daily chart |
| 26 EMA | 0.0741 | 9.0 | Slow EMA inside the MACD |
| 50 EMA | 0.0392 | 17.3 | Medium-term trend; fast line of the Golden and Death Cross |
| 100 EMA | 0.0198 | 34.7 | Intermediate trend filter on 4-hour and daily charts |
| 200 EMA | 0.0100 | 69.3 | Long-term trend filter; slow line of the Golden and Death Cross |
K and half-life are calculated exactly: half-life = ln(0.5) ÷ ln(1 − K). They hold on any timeframe — a 50 EMA on the hourly chart has a half-life of about 17 hours; on the daily chart, about 17 days.
5. EMA vs SMA vs WMA
| Feature | EMA | SMA | WMA |
|---|---|---|---|
| Weighting | Decays by a constant ratio; newest candle heaviest | Equal for every candle in the window | Falls in straight-line steps; newest heaviest |
| Memory | All past prices, fading | Exactly N candles, then nothing | Exactly N candles, then nothing |
| Reaction to a jump | Fastest start, slow finish | Slow start, completes in exactly N candles | Between the two |
| Whipsaw in ranges | Higher | Lower | Medium to high |
| “Drop-off” effect | None | Yes: the line can jump when an old outlier leaves the window | Small |
| Formula | (C − EMA₋₁) × K + EMA₋₁ | ΣC ÷ N | Σ(wᵢCᵢ) ÷ Σwᵢ |
| Best forex use | Crossovers, intraday trend, dynamic support and resistance | Long-term filters, where smoothness matters more than speed | Short-term momentum confirmation |
“Faster” is not the whole story
It is usually said that the EMA is simply faster than the SMA. That is only half true, and the other half matters when price gaps on news:
In practice that means the EMA gives an earlier signal that a move is real, but after a large, sustained re-pricing — the kind central bank surprises produce — it takes longer to fully “accept” the new level. Pullbacks towards a lagging EMA after a gap are common for exactly this reason.
6. How to use the EMA in forex
Reading the trend
The simplest use is also the most reliable. Slope first, then position: a rising EMA with price above it is an uptrend; a falling EMA with price below it is a downtrend. A flat EMA with price crossing it repeatedly is a range — and a signal to stop using trend rules.
A stack of EMAs makes this clearer. When the 9, 21 and 50 are ordered 9 > 21 > 50 and all rising, the trend is aligned across three speeds. When they are tangled, there is no trend worth trading.
Dynamic support and resistance
In a steady trend, price tends to pull back towards a well-watched EMA — the 20 or 50 on hourly and 4-hour charts — and resume from there. Traders use the EMA as an area to look for a long entry in an uptrend, with the stop beyond the EMA and the most recent swing low, not as a level to buy blindly on touch.
Crossovers
- 9 / 21 — the standard intraday pair on 1- to 15-minute charts.
- 12 / 26 — the engine of the MACD. The MACD line is
EMA12 − EMA26, and its signal line is a 9-period EMA of that difference. - 50 / 200 — the Golden Cross (50 above 200) and Death Cross (50 below 200) on the daily chart, marking slow, multi-month regime changes.
Crossovers are the most popular EMA signal and the least reliable on their own. They make money in trends and bleed in ranges. The standard fix is to take a crossover only in the direction of a higher-timeframe EMA.

7. Settings by timeframe
| Timeframe | Fast | Medium | Slow | Typical use |
|---|---|---|---|---|
| 1–5 min | 9 | 21 | 50 | Scalping the London and New York opens |
| 15 min | 12 | 26 | 50 | Intraday; aligns with MACD |
| 1 hour | 20 | 50 | 200 | Intraday swing and session trades |
| 4 hour | 20 | 50 | 200 | Swing trading the majors |
| Daily | 20 | 50 | 200 | Trend bias; Golden and Death Cross |
| Weekly | 20 | 50 | 200 | Position trading; long-term carry context |
These are conventions, not optimal values. Their main advantage is that many other traders watch the same lines, which is part of why price reacts around them. In the thinner Asian session, short EMAs produce more false signals; widen the period or stand aside.
8. EMAs around central bank decisions
Currency trends are driven, above all, by the expected path of interest rates in one economy relative to another. That is what produces the sustained moves EMAs are built to follow — and it is also what produces the violent, two-way spikes around announcements that make short-term EMA signals unreliable.
September 2026: four decisions in nine days
| Date | Decision | What it means for EMA traders |
|---|---|---|
| 10 Sep 2026 | ECB raises all three key rates by 25 bp; deposit rate 2.50% | Second hike of 2026 after June. A tightening cycle that was already under way: judge the euro on the daily EMA stack, not the release candle |
| 16 Sep 2026 | Federal Reserve raises by 25 bp to 3.75–4.00%, 12–0 | First US hike since 2023, reversing the 2025 cuts. A genuine regime change — the kind that eventually shows up as a crossover on the daily chart, not the hourly |
| 17 Sep 2026 | Bank of England holds at 3.75%, 6–3 | No rate change, but three votes for a hike. A “hold” can still move sterling; short-term EMA crosses on the release are noise until the vote split is digested |
| 18 Sep 2026 | Bank of Japan raises to around 1.25%, 7–2 | Highest since 1995 — and the yen weakened, because the hike was fully priced. A trader reading “hike = buy yen” would have fought the EMA; a trader reading the EMA would not |
The lesson from the Bank of Japan
The September 2026 BoJ decision is the clearest recent example of why price, not headlines, is what the EMA should be judged against. The decision was hawkish on paper. The currency reaction was the opposite, because the market had already assumed it. An EMA is agnostic about news — it only reports what price actually did — which in that moment made it a better guide than the headline.
A working rule for decision days
- Before: note where price sits relative to the 50 and 200 EMA on the daily and 4-hour charts. That is the trend the market brings into the event.
- During: ignore crossovers on 1- to 15-minute charts from shortly before the release until the press conference ends. Spreads widen and both directions get tested.
- After: check whether the 4-hour close has moved to the other side of the 50 EMA. If it has, and holds, the decision has changed the trend. If it has not, the spike was noise.
For the policy language behind these moves, see our guide to hawkish vs dovish monetary policy.
9. What the research says
Moving-average rules are among the most studied trading rules in academic finance, and forex is where they have historically looked strongest.
- Brock, Lakonishok and LeBaron (1992), in the Journal of Finance, tested simple moving-average and trading-range rules on nearly a century of Dow Jones data and found that buy signals were followed by higher returns than sell signals — one of the papers that made technical rules a serious academic subject.
- Neely and Weller, in a Federal Reserve Bank of St. Louis working paper, found that technical trading rules can earn economically significant excess returns in foreign exchange, and attributed this to strong, persistent trends in exchange rates.
A correction to a common claim. Earlier versions of this page, like many trading sites, said that Neely and Weller found central bank intervention data improves technical rules. Their revised paper found the reverse: adding intervention information did not improve out-of-sample performance. They concluded that the rules profit from persistent trends that intervention is intended to reverse. We have corrected the text accordingly.
Two caveats apply to all of this research. Results are historical and before trading costs, and published edges tend to shrink once widely known. The EMA is a tool for structuring decisions, not a source of guaranteed returns.
10. Pre-trade checklist
- Trend bias written down — the slope of the daily 50 and 200 EMA, and which side of them price is on.
- Stack aligned on the 4-hour and hourly charts: 9 > 21 > 50 for longs, the reverse for shorts.
- Not a range — if the EMAs are flat and tangled, no crossover trades today.
- Session checked — London or New York liquidity; treat Asian-session breaks with suspicion.
- Calendar checked — no Fed, ECB, BoE or BoJ decision or major data release inside the trade’s planned holding window.
- Signal confirmed — a closed candle beyond the EMA, or a pullback with a clear rejection, not an intrabar touch.
- Stop placed beyond the EMA and the recent swing; position sized so the stop costs no more than your fixed risk per trade.
- Costs checked — on short timeframes, the spread is a meaningful share of the target.
11. Common mistakes
| Mistake | What goes wrong | Fix |
|---|---|---|
| Trading crosses in a range | A string of small losses as the lines weave | Treat flat, tangled EMAs as a stop sign for trend rules |
| Trading the release candle | Two-way spikes trigger crosses that immediately reverse | Wait for the 4-hour close after the press conference |
| Buying every touch | Price often slices through the EMA without reversing | Require a closed rejection candle at the EMA |
| Using the EMA alone | It lags by construction and cannot see the calendar | Combine with a higher-timeframe trend and the policy calendar |
| Assuming “faster” means “better” | Faster start, but slower to fully absorb a large move | Expect pullbacks towards a lagging EMA after gaps |
| Reading headlines, not price | A hawkish decision can still weaken a currency if it was priced | Let the EMA report what price did, then decide |
| Optimising the period | A “perfect” historical period rarely survives live trading | Use widely watched periods and test them out of sample |
12. Frequently asked questions
What does EMA mean in forex?
In forex, EMA means exponential moving average: a line on the chart that averages a currency pair’s recent closing prices while giving the newest candles the most weight. Traders use it to read the direction of the trend, to find areas where price tends to pull back to, and to time entries with crossovers between a fast and a slow EMA. In other contexts the same letters can mean something else, such as the European Medicines Agency, but on a trading chart EMA always means exponential moving average.
What does EMA stand for?
EMA stands for exponential moving average. It is also called an exponentially weighted moving average, or EWMA. The word exponential refers to the way the weight given to each older price shrinks by a constant factor from one candle to the next.
How is the EMA calculated?
EMA today equals the closing price minus yesterday’s EMA, multiplied by the smoothing factor K, plus yesterday’s EMA. K equals 2 divided by the number of periods plus 1, so K is 0.1818 for a 10-period EMA and 0.0952 for a 20-period EMA. The very first EMA value is seeded with a simple moving average of the first N closes, and every value after that is built recursively from the one before.
What is the difference between EMA and SMA?
A simple moving average gives every candle in its window the same weight and ignores everything older. An exponential moving average gives the newest candle the most weight and lets older candles fade gradually without ever dropping to zero. As a result the EMA turns sooner after a change in direction, while the SMA is smoother and moves less on single noisy candles.
Why is it called an exponential moving average?
Because the weight on each past candle falls by the same proportion every step back in time, which is exponential decay. For a 10-period EMA the latest candle gets 18.2 percent of the weight, the one before it 14.9 percent, then 12.2 percent, and so on. Whatever the period, an N-period EMA puts about 86.5 percent of its total weight on the last N candles.
What are the best EMA settings for forex?
There is no single best setting, but a few periods are standard because so many traders watch them. The 9 and 21 EMAs are common on 1 to 15 minute charts, the 20 and 50 on hourly and 4-hour charts, and the 50 and 200 on daily charts for trend bias. The 12 and 26 EMAs matter because they are the two averages inside the MACD indicator. Choose the period for the timeframe and holding period you actually trade.
What does the 200 EMA mean?
The 200 EMA is a 200-period exponential moving average, most often used on the daily chart as the dividing line between a long-term uptrend and a long-term downtrend. Price holding above a rising 200 EMA is read as a bullish backdrop and price below a falling one as bearish. Because its half-life is about 69 candles, it moves slowly and is used as a filter rather than as an entry signal.
What are the 12 and 26 EMAs used for?
The 12 and 26 EMAs are the building blocks of the MACD indicator: the MACD line is the 12-period EMA minus the 26-period EMA, and the signal line is a 9-period EMA of that difference. Anyone trading MACD signals is therefore trading the relationship between these two exponential moving averages, whether they plot them or not.
What is an EMA crossover strategy?
An EMA crossover strategy buys when a faster EMA closes above a slower one and sells when it closes below. Common pairs are 9 and 21 for intraday trading and 50 and 200 for longer-term bias. Crossovers work in trending conditions and generate repeated false signals in ranges, so they are normally filtered by the direction of a higher-timeframe EMA.
What are the Golden Cross and the Death Cross?
A Golden Cross is the 50-period moving average crossing above the 200-period moving average, read as a shift to a long-term bullish trend. A Death Cross is the 50 crossing below the 200, read as bearish. On daily currency charts these crosses mark slow regime changes and usually arrive well after the turn in price, so they confirm a trend rather than call its start.
Is the EMA a leading or lagging indicator?
The EMA is a lagging indicator, because it is calculated only from prices that have already happened. Its advantage over a simple moving average of the same length is that it lags less at the start of a move: after a sudden 100 pip jump, a 20-period EMA covers half the gap in about 7 candles against 10 for a 20-period SMA.
How do central bank decisions affect EMA signals?
Rate decisions change the expected path of interest rates, and that is what produces the sustained trends EMAs are built to follow. The immediate reaction, however, is often a spike in both directions that triggers short-term crossovers and then reverses. A practical rule is to ignore short-timeframe EMA signals in the window around the announcement and let the higher-timeframe EMA show whether the decision has changed the trend. In September 2026 the Bank of Japan raised rates and the yen still weakened, which shows why the reaction, not the headline, is what the EMA should be judged against.
Can I use the EMA for forex scalping?
Yes, but with more care than on higher timeframes. On 1 to 5 minute charts the 9 and 21 EMAs are commonly used during the London and New York sessions, when spreads are tightest, with signals taken only in the direction of a higher-timeframe EMA. Spread costs matter far more at this speed, so a setup that is profitable on paper can be unprofitable after costs.
Does the EMA work in ranging markets?
Not well. When price moves sideways the EMAs flatten and weave through each other, and crossover strategies produce a string of small losses. Flat, intertwined EMAs are themselves the useful signal: they tell you the market is ranging and that trend-following rules should be switched off until the averages separate again.
13. Sources
Primary sources for the data and research cited on this page:
- Federal Reserve — FOMC statement of 16 September 2026: federalreserve.gov
- European Central Bank — key ECB interest rates, including the 10 September 2026 decision: ecb.europa.eu
- Bank of England — Monetary Policy Summary and minutes, September 2026: bankofengland.co.uk
- Bank of Japan — monetary policy decisions: boj.or.jp
- Bank for International Settlements — OTC foreign exchange turnover in April 2025: bis.org
- Neely, C. J. and Weller, P. — Technical Analysis and Central Bank Intervention, Federal Reserve Bank of St. Louis Working Paper 1997-002: fraser.stlouisfed.org
- Brock, W., Lakonishok, J. and LeBaron, B. (1992) — Simple Technical Trading Rules and the Stochastic Properties of Stock Returns, Journal of Finance 47(5): doi.org/10.1111/j.1540-6261.1992.tb04681.x
All charts, weights, half-lives and the worked example are calculated directly from the EMA and SMA formulas and can be reproduced with the calculator on this page. Figures current as of 22 September 2026.
Written and reviewed by the Signal2Forex research desk. We have covered currency markets and technical trading since 2017. Every number on this page is either calculated from the formula or taken from a primary source, and we correct the page openly when a source turns out to say something different from what was claimed — as we did with the Neely and Weller finding above.
Last review: , after the September 2026 decisions of the Federal Reserve, ECB, Bank of England and Bank of Japan. Originally published .
Educational content only. Nothing here is investment advice, and trading leveraged products carries a substantial risk of loss.
Risk warning: moving-average signals describe what price has done, not what it will do. Historical research is before costs and does not guarantee future results.
The slow line in detail: how the 200-day average is used as a long-term filter in our guide to the 200-day moving average.
Build a full system: entry rules, trend filters and trailing stops in trend trading with moving averages, and signal filtering in moving average crossovers.
Updated 22 September 2026 — originally published 29 July 2019. Reviewed against Federal Reserve, ECB, Bank of England and Bank of Japan primary sources.
Signal2forex.com - Best Forex robots and signals




