SMA vs EMA: 672 head-to-head backtests on USD/JPY
The simple and exponential moving average, head to head at identical periods on USD/JPY. The EMA finished ahead in 318 of 672 — weights, drop-off and cost measured.
Every guide to moving averages eventually reaches the same fork. Simple or exponential? The stock answers are "the EMA reacts faster, so use it for short-term trading" and "the SMA is smoother, so use it for the long term." Neither is usually accompanied by a number.
So we ran the comparison directly: the same period pair, the same timeframe, the same year, with only the averaging method swapped. Fifty-six fast/slow combinations, three timeframes and four windows gives 672 head-to-heads on USD/JPY.
The EMA finished ahead in 318 of them — 47.32%. There were no ties. Split into twelve cells, the EMA's win count ranged from 15 to 39 out of 56, and no cell separates the two methods.
That is not the same as saying the choice does not matter. Swapping the method at fixed periods moved net pips by a median of 491.1. The change is real; its direction is what cannot be predicted. That combination is the finding, and the rest of this article is the mechanism behind it.
Two properties turned out to belong to one method and not the other. One is the SMA's, one is the EMA's, and both are arithmetic rather than market behaviour.
What the two averages actually weight
Both are a weighted sum of past closes. The difference is how the weight is handed out.
- Simple (SMA) — add the last n closes and divide by n. Every one of those n bars carries the same weight, and nothing older is read at all.
- Exponential (EMA) — weight the newest bar most and every older bar by a constant fraction less. The weight shrinks but never reaches zero.
The weights can be recovered rather than assumed. Build a flat series, move a single bar up by one unit, and whatever comes out of the average is that bar's weight at each age. Running that through the same calcSMA and calcEMA the backtests use gives this:
| Period | Newest bar, SMA | Newest bar, EMA | Ratio | Centre of gravity | EMA weight inside its own period | How far back the EMA reads |
|---|---|---|---|---|---|---|
| 10 | 10% | 18.182% | 1.818× | 4.5 bars, both | 86.56% | 69 bars |
| 20 | 5% | 9.524% | 1.905× | 9.5 bars, both | 86.49% | 139 bars |
| 25 | 4% | 7.692% | 1.923× | 12 bars, both | 86.48% | 173 bars |
| 50 | 2% | 3.922% | 1.961× | 24.5 bars, both | 86.47% | 346 bars |
| 200 | 0.5% | 0.995% | 1.99× | 99.5 bars, both | 86.47% | 1,382 bars |
("How far back the EMA reads" is the oldest bar still carrying more than a millionth of the newest bar's weight.)
The quiet row is the middle one. The centre of gravity is identical at every period. For an n-period average of either kind it lands on (n−1)/2 bars back: 9.5 for period 20, 99.5 for period 200, matching to the decimal in all seven periods tested.
So the EMA is not reading newer information on average. The average age of what it weights is the same. What differs is the spread: it doubles the weight on today and pays for that by keeping weight outside its own window. A 20-period EMA holds 86.49% of its weight inside 20 bars and scatters the other 13.51% across older ones, and that 86% figure barely moves with the period (86.47% to 86.83%).
This is why "the EMA is faster" and "the EMA secretly looks back further than its period" are both true. They describe the same weight profile from opposite ends.
Measuring "the EMA reacts faster"
If the centre of gravity is shared, where does the speed show up? Three measurements, three different answers.
Distance from the close. How far the line typically sits from price, hourly USD/JPY, 2025:
| Period | SMA | EMA | Ratio |
|---|---|---|---|
| 5 | 13.81 pips | 11.34 pips | 0.8214 |
| 10 | 22.11 pips | 18.63 pips | 0.8428 |
| 20 | 33.55 pips | 28.46 pips | 0.8483 |
| 25 | 38.08 pips | 32.34 pips | 0.8493 |
| 50 | 55.10 pips | 46.68 pips | 0.8472 |
| 200 | 97.66 pips | 85.62 pips | 0.8767 |
The EMA is closer to price in every one of the 42 cells measured (three timeframes × two years × seven periods), by a ratio between 0.8126 and 0.8937. Around 85%, near enough, whatever the period and timeframe. That is one real sense of "faster."
How often the two lines cross. Same periods, one method against the other:
| Timeframe | Pair | SMA crossings | EMA crossings |
|---|---|---|---|
| M15 | 10 / 20 | 1,402 | 1,053 |
| M15 | 20 / 50 | 524 | 470 |
| H1 | 10 / 20 | 358 | 264 |
| H1 | 25 / 75 | 99 | 75 |
| H4 | 10 / 20 | 87 | 75 |
| H4 | 50 / 200 | 14 | 8 |
(USD/JPY, 2025)
The supposedly faster method crosses less often. Across 36 cells the simple pair crossed more in 31, fewer in 3, and the same number in 2. The next section explains why.
Which crossover comes first. Matching same-direction crossovers closest-pair-first, so that neither method's extra crossings drag the answer:
| Timeframe | Pair | EMA first | Median gap |
|---|---|---|---|
| M15 | 10 / 20 | 51.78% | 1 bar earlier |
| M15 | 50 / 200 | 66.4% | 3 bars earlier |
| H1 | 5 / 20 | 49.02% | level |
| H1 | 50 / 200 | 70% | 6.5 bars earlier |
| H4 | 12 / 25 | 50.79% | 1 bar earlier |
| H4 | 20 / 50 | 76.47% | 4 bars earlier |
(USD/JPY, 2025)
Over all 36 cells the EMA crossover came first between 41.36% and 76.47% of the time, above half in 26 of them. It genuinely leads on long pairs like 50/200. On a 10/20 pair, which method fires first is close to a coin toss.
"The EMA gives you the signal earlier" did not hold on short pairs. On 50/200, five of the six timeframe-and-year cells put the median lead at 3 to 7 bars; the sixth (four-hour, 2025, where the EMA pair crossed 8 times) came in half a bar late.
Only the simple average turns against price
The crossing-count gap has an exact cause. One bar of SMA movement is this, and it is an identity rather than an approximation:
SMA today − SMA yesterday = (close today − close n bars ago) / n
Checked against the shipped function on three timeframes at periods 10, 20, 50 and 200, the largest disagreement over those twelve cells was under 0.0000000000037 pips. Rounding, and nothing else.
Read what it says: whether the SMA turns up or down is decided by comparing today's close to the close n bars ago. That older bar is nowhere on the chart. The bar dropping out of the window has as much say in today's direction as the bar arriving.
The EMA's step is a different identity, verified on the same twelve cells to the same precision:
EMA today − EMA yesterday = k × (close today − EMA yesterday) k = 2 / (period + 1)
The bracket is "is today's close above or below the line". So the EMA turns up whenever the close is above it and down whenever it is below, always.
That difference is countable. Bars where the line turned one way while the close sat on the other side:
| Timeframe | Period | Bars | SMA turned against price | Share | EMA |
|---|---|---|---|---|---|
| M15 | 20 | 24,903 | 4,007 | 16.09% | 0 |
| M15 | 200 | 24,903 | 4,488 | 18.02% | 0 |
| H1 | 20 | 6,226 | 992 | 15.93% | 0 |
| H1 | 200 | 6,226 | 1,296 | 20.82% | 0 |
| H4 | 20 | 1,610 | 262 | 16.27% | 0 |
| H4 | 50 | 1,610 | 345 | 21.43% | 0 |
(USD/JPY, 2025)
Zero in all 42 cells for the EMA, and it will be zero on any instrument and any year, because the definition forbids it. The SMA ran between 10.95% and 21.43% — roughly one bar in six.
This drop-off is what inflates the SMA's crossing count. Two simple averages of different lengths shed different old bars at different moments, so they change direction for reasons that have nothing to do with each other, and they meet more often.
Whether that helps or hurts is a separate question, and the backtests below are the answer to it.
One thing that does not follow: the EMA changes direction more often, not less. In 41 of 42 cells it turned more frequently — at period 5 on 15-minute bars, 26.82% of bars against the SMA's 21.2%. The EMA turns more; the EMA pair crosses less. Two different measurements, both true.
The exponential average never forgets its seed
The EMA has an instability the SMA does not. Today's value is built from yesterday's, so wherever the calculation was started leaks into every value that follows.
Two EMAs seeded at different points, measured bar by bar:
| Period | Gap ratio per bar | (n−1)/(n+1) | Half-life | To 1/10 | To 1/100 | SMA exact after |
|---|---|---|---|---|---|---|
| 10 | 0.818182 | 0.818182 | 3.5 bars | 12 bars | 23 bars | 9 bars |
| 20 | 0.904762 | 0.904762 | 6.9 bars | 24 bars | 47 bars | 19 bars |
| 50 | 0.960784 | 0.960784 | 17.3 bars | 58 bars | 116 bars | 49 bars |
| 200 | 0.99005 | 0.99005 | 69.3 bars | 231 bars | 461 bars | 199 bars |
The ratio matches the closed form exactly, and it never reaches zero. The SMA is identical from the moment its window clears the join, which is its period, and stays identical after that.
In practical terms, here is what a chart draws on 1 January 2025 depending on how much history it loaded:
| Timeframe | Bars of history | EMA(200) difference | Bars until under 0.1 pip | SMA(200) difference |
|---|---|---|---|---|
| M15 | 200 | 7.705 pips | 435 | 0 |
| M15 | 1,000 | 0.001 pips | immediately | 0 |
| H1 | 200 | 49.083 pips | 620 | 0 |
| H1 | 600 | 0.380 pips | 134 | 0 |
| H1 | 1,000 | 0.008 pips | immediately | 0 |
| H4 | 200 | 47.173 pips | 616 | 0 |
| H4 | 1,000 | 0.011 pips | immediately | 0 |
An hourly EMA(200) drawn from exactly 200 bars sits 49.083 pips away from the same EMA(200) with adequate history, and takes 620 more bars — over a month of hourly data — to converge. The SMA(200) agrees from its very first value.
Two things follow. Load three to five times the period in history before trusting a long EMA: at 1,000 hourly bars the error is down to 0.008 pips. And when two platforms disagree about where an EMA sits, neither is necessarily wrong — they may simply have started in different places.
This is not unique to the EMA. Anything defined from its own previous value behaves this way; Heikin Ashi candles halve their seed's influence every single bar.
Adding a moving average to your chart
Moving averages ship with every platform. What varies is the list of methods and the default.
| Platform | How to add it | Methods offered |
|---|---|---|
| MT4 / MT5 | Drag Moving Average from the Navigator onto the chart | Simple, exponential, smoothed, linear weighted |
| TradingView | Add Moving Average from the indicator search | Simple, exponential and others, depending on the script |
| Browser (Formiq) | Add MA in the indicator settings; several lines can be stacked | Simple, exponential, weighted, smoothed, Hull |
The line is drawn over the candles, not in a pane below. The settings dialog holds four fields:
| Field | Default | What it changes |
|---|---|---|
| Period | 20 | How many bars are averaged. Longer sits further from price and turns less often |
| Type | SMA | How the weight is handed out. This is the field the article is about |
| Colour | assigned per line | Only matters once two or more lines are on the chart |
| Line width | 1 | Display only; the calculation is unaffected |
To turn two lines into a rule, the backtest conditions take a trigger and both legs. The fast and the slow leg take their method separately, which is measured later in this article.
| Field | Meaning |
|---|---|
| Trigger | Crossover, or price against a single average |
| Fast period and type | The quicker line |
| Slow period and type | The slower line |
The common rule is to buy when the fast line crosses above the slow one and sell when it crosses below — the golden cross and the dead cross. Every number here uses that rule.
Only two fields are worth tuning: the period and the type. The period is the decision that comes first, and it is covered in 280 moving-average crossover settings tested. Here the periods are held and only the type moves.
How this was tested
| Item | Value |
|---|---|
| Instrument | USD/JPY |
| Period | 2025-01-01 to 2025-12-31, with 2024 and each half of 2025 as separate windows |
| Timeframes | M15 / H1 / H4 |
| Bars | 24,903 on M15, 6,226 on H1, 1,610 on H4 in 2025 |
| Long | Close of the bar on which the fast average crosses above the slow one |
| Short | Close of the bar on which it crosses below |
| Exit | The opposite crossover, reversing on the same close. No stop, target or time exit |
| Spread | 0.3 pips, no slippage, 0.1 lots, charged on both the exit and the new entry |
| Grid | Eight fast periods (5, 8, 10, 12, 15, 20, 25, 50) × eight slow (20, 25, 30, 40, 50, 75, 100, 200), keeping the 56 where fast is shorter. Run in both methods and paired one to one, over three timeframes and four windows: 672 head-to-heads |
| Control | Consecutive-integer ladders — fast 5 to 30 with slow fixed at 50, and slow 20 to 60 with fast fixed at 10 — in both methods. 780 rungs |
| Measurement | Run through Formiq's backtester, with pips re-derived from each trade's fill prices |
Fast and slow use the same method except in the mixing section. Holding to the opposite crossover with no stop keeps everything except the method out of the comparison; stops are added separately below.
672 head-to-head runs, and the coin-flip line
Same periods, same timeframe, same window, method swapped. This is the table the chart at the top draws.
| Timeframe | Window | EMA ahead | EMA mean | SMA mean | Median gap | Worst | Best |
|---|---|---|---|---|---|---|---|
| M15 | 2025 | 29 / 56 | +1,134.4 | +1,064.1 | +16.3 | −1,396.5 | +1,767.2 |
| M15 | 2024 | 26 / 56 | +1,529.4 | +1,632.0 | −127.3 | −2,201.6 | +1,457.7 |
| M15 | H1 2025 | 31 / 56 | +213.5 | +76.8 | +92.3 | −1,035.4 | +1,549.7 |
| M15 | H2 2025 | 20 / 56 | +903.9 | +978.1 | −280.4 | −1,160.1 | +1,934.7 |
| H1 | 2025 | 26 / 56 | +76.7 | +62.9 | −142.4 | −1,337.9 | +2,121.2 |
| H1 | 2024 | 32 / 56 | +1,503.2 | +1,198.7 | +241.1 | −1,761.6 | +3,542.2 |
| H1 | H1 2025 | 39 / 56 | −46.9 | −265.1 | +203.1 | −651.9 | +1,705.4 |
| H1 | H2 2025 | 15 / 56 | +179.9 | +363.8 | −218.9 | −1,055.2 | +1,465.6 |
| H4 | 2025 | 22 / 56 | −1,410.4 | −1,162.9 | −195.8 | −3,096.9 | +1,807.8 |
| H4 | 2024 | 35 / 56 | +2,429.9 | +1,965.0 | +284.6 | −1,114.5 | +4,517.7 |
| H4 | H1 2025 | 27 / 56 | −214.7 | −189.3 | −60.7 | −1,573.9 | +1,809.5 |
| H4 | H2 2025 | 16 / 56 | −1,075.0 | −857.3 | −187.4 | −1,624.5 | +598.1 |
(Net pips)
318 of 672 across all twelve cells — 47.32%. No pair produced identical net pips in the two methods.
The two hourly half-year rows are worth reading together. The first half of 2025 gives 39/56 to the EMA; the second half of the same year on the same timeframe gives 15/56 to it. Same instrument, same 56 pairs, opposite answers six months apart.
A different question — how many settings finished both years in profit — gives a different-looking result:
| Timeframe | Method | Up in 2025 | Up in 2024 | Both years | Median 2025 | Median 2024 |
|---|---|---|---|---|---|---|
| M15 | SMA | 51 / 56 | 53 / 56 | 48 / 56 | +1,004.1 | +1,650.5 |
| M15 | EMA | 52 / 56 | 56 / 56 | 52 / 56 | +1,133.7 | +1,516.4 |
| H1 | SMA | 35 / 56 | 44 / 56 | 28 / 56 | +371.6 | +1,201.0 |
| H1 | EMA | 34 / 56 | 56 / 56 | 34 / 56 | +395.4 | +1,348.0 |
| H4 | SMA | 3 / 56 | 53 / 56 | 2 / 56 | −1,224.6 | +2,129.6 |
| H4 | EMA | 2 / 56 | 56 / 56 | 2 / 56 | −1,542.7 | +2,456.2 |
By this count the EMA leaves slightly more standing (52 against 48, 34 against 28, and 2 against 2). "More EMA settings survive both years" and "more EMA settings out-earn their SMA twin" are not the same statement, and only the first one is true here.
Does last year's winner win this year?
For each period pair, take the method that won in 2024 and check whether it won again in 2025.
| Timeframe | EMA won in 2024 | EMA won in 2025 | Same method both years | Agreement | Both halves of 2025 |
|---|---|---|---|---|---|
| M15 | 26 / 56 | 29 / 56 | 19 / 56 | 33.93% | 25 / 56 |
| H1 | 32 / 56 | 26 / 56 | 26 / 56 | 46.43% | 30 / 56 |
| H4 | 35 / 56 | 22 / 56 | 25 / 56 | 44.64% | 25 / 56 |
33.93% on 15-minute bars is below a coin flip. Neither of the other two reaches 50% either, and cutting the year in half gives the same 25-to-30 range.
The pairs people actually type
| Pair | Timeframe | SMA 2025 | EMA 2025 | SMA 2024 | EMA 2024 | EMA ahead both years |
|---|---|---|---|---|---|---|
| 5 / 20 | H1 | −484.9 | +1,636.3 | +3,744.7 | +2,293.3 | no |
| 10 / 20 | M15 | +1,015.0 | +2,052.3 | +1,600.9 | +1,183.0 | no |
| 10 / 20 | H4 | −1,336.2 | −664.6 | −1,245.7 | +3,272.0 | yes |
| 12 / 25 | M15 | +2,572.9 | +1,436.6 | +1,894.7 | +2,102.1 | no |
| 20 / 50 | H1 | −220.5 | +720.1 | −34.6 | +944.5 | yes |
| 25 / 75 | M15 | −1,023.1 | +691.3 | +3,613.7 | +2,753.1 | no |
| 50 / 200 | H1 | −1,340.4 | −943.0 | +2,435.4 | +1,541.5 | no |
(Net pips. Seven of the eighteen combinations)
Over all eighteen (six pairs × three timeframes) the EMA was ahead in 11 in 2025, 9 in 2024, and in both years in 3.
The 15-minute 10/20 is the clearest case. In 2025 the EMA beat the SMA by more than 1,000 pips; in 2024 the SMA beat the EMA by more than 400. Same pair, same instrument, opposite sign one year apart.
Is the method a bigger knob than the period?
"The EMA wins 47.32% of the time" is also what you would see if the method changed nothing at all. Those two situations need separating, and separating them takes a control.
So: two ladders of consecutive integers. Fast 5 through 30 with the slow leg pinned at 50, and slow 20 through 60 with the fast leg pinned at 10. At every rung, compare how far swapping the method moved net pips against how far moving the period by a single bar moved it.
| Timeframe | Ladder | Median swap | Median one-bar step | Swap moved more |
|---|---|---|---|---|
| M15 | fast 5–30 | 317.0 pips | 275.5 pips | 15 / 25 |
| M15 | slow 20–60 | 322.6 pips | 173.7 pips | 26 / 40 |
| H1 | fast 5–30 | 270.6 pips | 224.1 pips | 16 / 25 |
| H1 | slow 20–60 | 601.0 pips | 146.9 pips | 35 / 40 |
| H4 | fast 5–30 | 364.7 pips | 229.3 pips | 14 / 25 |
| H4 | slow 20–60 | 374.9 pips | 122.9 pips | 34 / 40 |
(The six 2025 rows; the totals below cover all 24 cells)
Across 780 rungs the swap moved the result further than the one-bar step in 593 — 76.03%. The medians are 350.7 pips for the swap against 154.2 for the step.
Put in the period's own units: how many bars would the period have to move to shift the result as much as the method did? The median answer is two. One bar sufficed at 268 of 804 rungs, five or more were needed at 208, and at 70 rungs twenty bars still were not enough.
So: swapping SMA for EMA is worth about two bars of period. That is not nothing. Which way it moves you is unknowable in advance.
This is the shape the Fibonacci retracement test needed for a different reason. When there are only two candidates, counting how often one wins proves nothing on its own. A control beside it is what makes the count mean something.
Mixing the two methods across the two lines
The fast and slow legs can take different methods, so six pairs × four combinations × two years = 36 cells.
| Timeframe | Window | Pair | Both SMA | Both EMA | Fast EMA, slow SMA | Fast SMA, slow EMA |
|---|---|---|---|---|---|---|
| M15 | 2025 | 10 / 20 | +1,015.0 | +2,052.3 | +922.3 | +1,549.2 |
| M15 | 2025 | 20 / 50 | +1,774.9 | +1,108.3 | +2,139.3 | +149.2 |
| H1 | 2025 | 12 / 25 | +958.0 | +970.9 | +1,431.9 | +917.7 |
| H1 | 2025 | 25 / 75 | −56.8 | +708.9 | +995.9 | −270.2 |
| H1 | 2024 | 12 / 25 | +1,882.8 | +440.6 | +2,169.5 | −75.8 |
| H4 | 2024 | 10 / 20 | −1,245.7 | +3,272.0 | +231.8 | +2,692.6 |
(Net pips. Six of the 36 cells)
All four combinations landed on the same side of zero in 21 of 36 cells, and the spread between the best and worst of the four ran to a median of 1,399.7 pips, widest 4,517.7. Mixing moves the result substantially.
What it does not do is swap the roles of the two lines. The moving-average crossover article found that a 20-period Hull average sits closer to price than a 10-period simple one, so giving the slow leg a Hull average makes the "slow" line the fast one. An EMA only closes about 15% of the distance, which is not enough:
| Timeframe | Pair | Period ratio | SMA on the fast leg | EMA on the slow leg | Slow line closer? |
|---|---|---|---|---|---|
| H1 | 10 / 20 | 2.0× | 22.11 pips | 28.46 pips | no |
| H1 | 20 / 50 | 2.5× | 33.55 pips | 46.68 pips | no |
| H1 | 50 / 200 | 4.0× | 55.10 pips | 85.62 pips | no |
(USD/JPY, 2025)
In all eighteen combinations the slow EMA stayed further from price than the fast SMA. The inversion needs the periods within 1.3× to 1.45× of each other (holding the fast leg at SMA 20 and lengthening the slow one bar at a time, the boundary fell at 1.3× on M15 and H1, and 1.45× on H4). It is worth checking only for pairs as close together as 20 and 25.
Win rate points one way and net pips the other
| Pair | Timeframe | SMA trades | EMA trades | SMA win rate | EMA win rate |
|---|---|---|---|---|---|
| 5 / 20 | M15 | 1,616 | 1,513 | 33.11% | 28.42% |
| 10 / 20 | M15 | 1,402 | 1,053 | 37.52% | 29.44% |
| 12 / 25 | M15 | 1,106 | 849 | 37.25% | 30.04% |
| 10 / 20 | H1 | 358 | 264 | 39.11% | 32.58% |
| 12 / 25 | H1 | 274 | 204 | 41.97% | 36.27% |
| 25 / 75 | H1 | 99 | 75 | 44.44% | 42.67% |
| 50 / 200 | H4 | 14 | 8 | 50.00% | 37.50% |
(USD/JPY, 2025)
Over all 672 head-to-heads the EMA took fewer trades in 405 and had a lower win rate in 561. Among the eighteen named combinations its win rate was lower in all eighteen.
Net pips still finish level because the EMA's average trade is bigger. On the 15-minute 10/20 the SMA made +1,015.0 pips over 1,402 trades (+0.72 each) and the EMA +2,052.3 over 1,053 (+1.95 each).
Rank the two methods by win rate and the SMA wins. Rank them by result and it is a tie. The same inversion runs through this series: Williams %R wins 55–79% of its trades and loses money.
Here is the whole comparison in one place.
| Simple (SMA) | Exponential (EMA) | |
|---|---|---|
| Centre of gravity | (n−1)/2 bars back | (n−1)/2 bars back — identical |
| Weight on the newest bar | 1/n | about 2/n |
| Reads past its own period | no | yes, 13.5% of its weight |
| Average distance from the close | baseline | 0.81 to 0.90 of it |
| Can turn against the close | yes, on 10.95–21.43% of bars | never |
| Depends on where it was started | no, exact after n bars | yes, halving every ~0.35 × period bars |
| Trade count | higher, in 405 of 672 | lower |
| Win rate | higher, in 561 of 672 | lower |
| Net pips | 354 of 672 | 318 of 672 |
Filters, stops and targets
| Subject | Window | Filter | Trades | Win rate | Net pips | Per trade |
|---|---|---|---|---|---|---|
| M15 10/20 SMA | 2025 | none | 1,402 | 37.52% | +1,015.0 | +0.72 |
| M15 10/20 SMA | 2025 | ADX ≥ 25 | 354 | 34.75% | −271.0 | −0.77 |
| M15 10/20 SMA | 2025 | Tokyo hours | 460 | 38.91% | +309.7 | +0.67 |
| M15 10/20 EMA | 2025 | none | 1,053 | 29.44% | +2,052.3 | +1.95 |
| M15 10/20 EMA | 2025 | ADX ≥ 25 | 154 | 25.97% | −185.5 | −1.20 |
| M15 10/20 EMA | 2025 | Tokyo hours | 356 | 31.18% | +1,469.8 | +4.13 |
| H1 12/25 SMA | 2025 | none | 274 | 41.97% | +958.0 | +3.50 |
| H1 12/25 SMA | 2025 | ADX ≥ 25 | 80 | 37.50% | −400.4 | −5.00 |
| H1 12/25 EMA | 2025 | none | 204 | 36.27% | +970.9 | +4.76 |
| H1 12/25 EMA | 2025 | ADX ≥ 25 | 41 | 29.27% | −1,050.0 | −25.61 |
(Ten of the 24 filter runs)
11 of 24 improved pips per trade. The ADX filter improved 2 of its 8 and turned all four 2025 runs from profit into loss. The Tokyo-session filter improved 4 of 8.
Filters did not behave differently by method. Where ADX hurt, it hurt both, and in the same direction.
| Subject | Window | Exit | Trades | Net pips |
|---|---|---|---|---|
| M15 10/20 SMA | 2025 | crossover only | 1,402 | +1,015.0 |
| M15 10/20 SMA | 2025 | SL 50 / TP 100 | 1,372 | +510.8 |
| M15 10/20 EMA | 2025 | crossover only | 1,053 | +2,052.3 |
| M15 10/20 EMA | 2025 | SL 50 / TP 100 | 1,025 | +1,439.0 |
| H1 12/25 SMA | 2025 | crossover only | 274 | +958.0 |
| H1 12/25 SMA | 2025 | 24-bar time exit | 268 | +1,808.1 |
| H1 12/25 EMA | 2025 | crossover only | 204 | +970.9 |
| H1 12/25 EMA | 2025 | SL 50 / TP 100 | 185 | +1,772.6 |
(Eight of the 32 exit runs)
6 of 32 beat holding to the opposite crossover — three on the SMA side and three on the EMA side. No difference by method here either.
The spread, and where each method breaks even
| Spread | M15 10/20 SMA (1,402 trades) | M15 10/20 EMA (1,053) | H1 12/25 SMA (274) | H1 12/25 EMA (204) |
|---|---|---|---|---|
| 0.0 pips | +1,435.6 | +2,368.2 | +1,040.1 | +1,032.1 |
| 0.3 pips | +1,015.0 | +2,052.3 | +958.0 | +970.9 |
| 0.6 pips | +594.4 | +1,736.4 | +875.8 | +909.7 |
| 1.0 pips | +33.6 | +1,315.2 | +766.2 | +828.1 |
| 1.5 pips | −667.4 | +788.7 | +629.2 | +726.1 |
| 2.0 pips | −1,368.4 | +262.2 | +492.2 | +624.1 |
Moving the spread from 0 to 2.0 pips costs the 15-minute SMA run 2,804.0 pips, which is exactly 1,402 × 2.0. The EMA loses 2,106.0 (1,053 × 2.0), the hourly SMA 547.9 against 274 × 2.0, and the hourly EMA 408.0 (204 × 2.0). Cost equals trade count times spread holds through the method swap, as it has in every article in this series.
| Subject | Trades | Net pips at zero spread | Break-even spread |
|---|---|---|---|
| M15 10/20 SMA | 1,402 | +1,435.6 | 1.02 pips |
| M15 10/20 EMA | 1,053 | +2,368.2 | 2.25 pips |
| H1 12/25 SMA | 274 | +1,040.1 | 3.80 pips |
| H1 12/25 EMA | 204 | +970.9 | 5.06 pips |
The 15-minute 10/20 breaks even at 1.02 pips as an SMA and 2.25 as an EMA. A third fewer trades buys more than twice the headroom.
This is not an edge in expected value — that part is a tie. It is tolerance: when the spread widens, or trades cluster into expensive hours, the simple version goes underwater first. The EMA took fewer trades in 405 of 672 head-to-heads, so the direction generalises even if the size does not.
What this test can say
- Result does not separate them. 318 of 672, or 47.32%. Every one of the twelve cells lands between 15 and 39 out of 56
- The centre of gravity is shared. Both put it at (n−1)/2 bars back, matching at all seven periods tested. "The EMA sees newer data" is not what is going on. It doubles the weight on today and leaves 13.5% of its weight outside its own period to pay for that
- Only the SMA turns against price. On 10.95% to 21.43% of bars the close sits above the line while the line points down. Zero occurrences for the EMA in all 42 cells, and that is why the simple pair crosses more often (31 of 36 cells)
- Only the EMA depends on its history. An hourly EMA(200) drawn from 200 bars is 49.083 pips off and needs 620 bars to converge. Load five times the period before trusting one
- Last year's winner is not a signal. The same method won both years in 33.93% of pairs on M15, 46.43% on H1 and 44.64% on H4
What survives as a practical difference is trade count, and cost tolerance with it. The EMA trades less in 405 of 672 head-to-heads and breaks even at a wider spread. Since the result cannot decide it, the spread you actually pay and how often you want to trade are the only grounds this test supports.
The period is the decision that comes first, so the 280-setting crossover test is worth reading before this one. If you want to run the same comparison on your own pair and dates, it can be done without writing code.
Limits of this test
- One instrument (USD/JPY) and two years. Nothing here promises the same on another pair or another year
- The two years differ in character. 2024 rose 1,632 pips with a 2,237-pip range; 2025 finished 56 pips lower than it started with a 1,900-pip range. Crossovers are a trend-following device, so that difference produces much of what is above
- Only simple and exponential were compared. Weighted, smoothed and Hull are in the crossover article
- The weights, the centre of gravity and the two step formulas follow from arithmetic and hold on any data. The distances, crossing counts and results are USD/JPY over two years
- Entries and exits are taken at the bar close. Real fills differ
- The spread is held at 0.3 pips throughout. Real spreads move with the session and the calendar
- The seeding measurement is read at one moment, 1 January 2025. Another date gives a different size of error, though the decay rate is date-independent
- Volatility varies by hour, which the session-filter rows inherit
Questions people ask
- Should I use an SMA or an EMA?
- Across 672 head-to-heads on USD/JPY — 56 period pairs, three timeframes, four windows, identical settings on both sides — the EMA finished ahead in 318 (47.32%). Split into twelve timeframe-and-window cells, the EMA won between 15 and 39 of 56 in each. Every cell sits near the half-way line, so this test cannot recommend one over the other on result.
- Is the EMA really faster than the SMA?
- Their centres of gravity are identical. At period 20 both weight their data around a point 9.5 bars back, and that holds at every period tested. What differs is the shape: the EMA puts 1.905 times as much weight on the newest bar and keeps 13.51% of its weight on bars older than its own period. It does sit closer to price — 0.8126 to 0.8937 of the SMA's average distance, in all 42 cells measured.
- How much does switching between SMA and EMA change a result?
- The median move in net pips from swapping the method at fixed periods was 491.1 pips. Against a control — moving the period by one bar — the swap moved the result further in 593 of 780 ladder rungs (76.03%). Expressed in periods, the swap is worth a median of two bars. It is a real change; the direction is what cannot be predicted.
- If the EMA beat the SMA last year, will it beat it again?
- The same method won in both 2024 and 2025 for 19 of 56 period pairs on 15-minute bars (33.93%), 26 of 56 on hourly and 25 of 56 on four-hour. The 15-minute figure is below a coin flip. Splitting 2025 into halves gives 25 to 30 of 56, the same range.
- Do trade count and win rate differ between the two?
- The EMA took fewer trades in 405 of 672 head-to-heads and had a lower win rate in 561. On 15-minute bars at 10/20 the SMA took 1,402 trades at 37.52% and the EMA 1,053 at 29.44%. Fewer trades means more room on cost: the spread at which the year breaks even is 1.02 pips for the SMA and 2.25 for the EMA.
Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.