Learn › Strategies › EMA 12/26 Trend › FXE

EMA 12/26 Trend on FXE

Invesco CurrencyShares Euro Trust: the euro versus the US dollar. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: EMA 12/26 trend on FXE turned $10,000 into $10,785 (7.8% total, 1.3% CAGR): it beat buy-and-hold by 2.2% per year, with a maximum drawdown 11.3 points shallower than holding (11.6% vs 22.9%).

The EMA 12/26 trend rule on FXE, the Invesco CurrencyShares Euro Trust, returned a CAGR of 1.32% from 2021-01-04 to 2026-10-02. $10,000 ended at $10,784.71, a total return of 7.85%. The rule made 21 round trips and 42 fills, won 6 of them (29%), and held a position on 45.8% of sessions. Buy-and-hold on the same fund lost money: a CAGR of -0.9%, a total return of -5.07% and an end value of $9,492.70.

The gain over holding came from avoiding most of the euro's slide, not from a large trade record. The rule's maximum drawdown was 11.59% against 22.86% for holding, and its Sharpe ratio was 0.29 against -0.08. Four of the six calendar years finished ahead of holding: 2021, 2022, 2024 and 2026. The two years behind were 2023 and 2025, the two years the euro rose most.

FXE ranks 34th of the 59 funds for this rule, and this rule ranks third of the 12 templates run on FXE. Over all 59 funds the rule's median CAGR was 2.76%, which puts FXE below the middle. Among the three currency funds the median was 1.32%, which is FXE's own figure. USDU made 3.17% on the rule and UDN made 0.99%.

The data cover 5.74 years with one decision a day and fills on minute bars. Fees and slippage are left out of the first run, and the cost runs show how fast they matter for a rule with this many trades. All figures are hypothetical backtest results.

1.3%CAGR
−0.9%buy & hold CAGR
−11.6%max drawdown
0.29Sharpe ratio
21round trips
29%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−1.6%−7.9%
2022−1.0%−6.4%
20234.0%4.7%
20240.0%−4.0%
20259.9%14.1%
2026−3.2%−3.5%

Year by year against holding

The rule returned -1.6% in 2021, -1% in 2022, 4% in 2023, 0% in 2024, 9.9% in 2025 and -3.2% in 2026, which is a partial year ending on 2026-10-02. Holding returned -7.9%, -6.4%, 4.7%, -4%, 14.1% and -3.5%. The gaps in the rule's favour were 6.3 points in 2021, 5.4 in 2022, 4 in 2024 and 0.3 in 2026. Holding was ahead by 0.7 points in 2023 and 4.2 in 2025.

2021 and 2022 are where the rule earned its edge. The fund fell in both years, and the rule sat in cash for long stretches. Its monthly record for 2021 is nearly empty: it lost 0.06% in April, made 1.29% in May, lost 2.04% in June and 0.76% in September, and was flat in every other month. The first position opened on 2021-04-19 and closed on 2021-06-17 at -0.86%. A second, ten-day position in September closed at -0.78%. Holding the fund through the same year cost 7.9%.

2022 was a longer version of the same pattern. Four round trips closed in 2022 and none won. Positions opened on 2022-01-13, 2022-02-08, 2022-06-03 and 2022-10-27, and each exited within 8 to 16 days with a loss between -1.12% and -2.57%. Those four losses together cost the rule less than the fund lost in the year, because the rule was invested only for a few weeks of it. Holding fell 6.4% and the rule fell 1%.

The pattern reversed in 2023. The rule made 4%, with three round trips and three winners, against 4.7% for holding. The euro had turned up in November 2022, and the rule bought on 2022-11-07, which belongs to the 2022 record but carried its gain into 2023. The 2023 winners were entered on 2023-03-22, 2023-06-20 and 2023-11-06, and their returns were 0.26%, 1.18% and 2.32%.

2024 was flat for the rule at 0%, with five round trips and two winners, while holding lost 4%. The rule stepped aside for November and December, and its monthly figures show losses of 0.78% in January, 0.33% in February, 0.2% in April, 1.1% in June and 1.34% in October, offset by 2.31% in August and 0.82% in September. Staying in cash for part of the year was the entire edge over holding.

2025 was the year the rule gave back ground. The fund returned 14.1% on a holding basis and the rule 9.9%, a shortfall of 4.2 points, the widest gap against it in the table. One position carried most of that year, the entry on 2025-02-14 at an adjusted $95.60 and the exit on 2025-08-01 at $105.78, a return of 10.65% over 168 days. That single trade is the best in the whole test. A crossover buys after the move has started, and in 2025 the move started in February and kept going.

2026 is incomplete. The rule lost 3.2% and holding lost 3.5%. Four round trips closed in 2026 and none of them won. The losses were small, from -0.07% to -1.37%, but there were several of them in nine months.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%−0.1%1.3%−2.0%0.0%0.0%−0.8%0.0%0.0%0.0%
2022−1.8%−2.3%0.0%0.0%0.0%−2.5%0.0%0.0%0.0%−1.0%3.9%2.8%
20231.5%−2.0%0.6%1.7%−2.0%0.0%0.9%0.2%0.0%0.0%1.4%1.6%
2024−0.8%−0.3%−0.0%−0.2%0.8%−1.1%−0.1%2.3%0.8%−1.3%0.0%0.0%
2025−0.2%−1.3%4.2%4.7%0.3%3.7%−3.0%1.4%0.4%−1.1%0.0%0.7%
20260.1%−0.3%−2.0%0.3%−1.1%0.0%0.0%0.8%−1.1%0.0%––

What the monthly grid shows

The best month for the rule was April 2025 at 4.71%. The worst was July 2025 at -3.04%. Holding's best month was November 2022 at 5.1% and its worst was April 2022 at -4.58%. The rule's months and the fund's months only line up when the rule is invested, so the grid has many zeros. In 2021, 2022 and 2024 the rule recorded flat months in the winter and late summer when it held no position.

The cluster of strong months from March to June 2025 is the most important stretch in the grid. March made 4.23%, April 4.71%, May 0.32% and June 3.71%. All four fall inside the single long trade that began on 2025-02-14. July 2025 then lost 3.04%, which is the month the trade closed on 2025-08-01 after the fund had pulled back from its highs. The exit came on a crossover, so part of the July fall was taken before the rule stepped out.

The other cluster is November 2022 to January 2023: 3.93%, 2.83% and 1.54%. That is the 102-day winner that entered on 2022-11-07 and closed on 2023-02-17 at 6.63%, the second-best trade. February 2023 lost 1.98% and May 2023 lost 2.01%, and those are the two months where a position closed at a poor level inside the year.

Most other months sit between -1% and 1%, which is the range of a single position held for a few weeks. The grid also has long runs of zero, such as from July 2021 to December 2021 apart from September, and from March 2022 to September 2022 apart from June. In those runs the rule earned nothing, and holding lost money.

Every trade

EMA 12/26 trend on FXE made 21 closed round trips, an average hold of 46 days, an average winner of 3.79%, an average loser of −0.95%, a profit factor of 1.57, a longest losing streak of 6. It held a position at the close on 45.8% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-04-19$106.742021-06-17$105.82−0.9%59
2021-09-07$104.682021-09-17$103.86−0.8%10
2022-01-13$101.002022-01-25$99.16−1.8%12
2022-02-08$100.482022-02-24$98.08−2.4%16
2022-06-03$94.102022-06-13$91.68−2.6%10
2022-10-27$87.332022-11-04$86.35−1.1%8
2022-11-07$87.392023-02-17$93.186.6%102
2023-03-22$94.472023-05-18$94.720.3%57
2023-06-20$95.982023-08-10$97.111.2%51
2023-11-06$95.192024-01-24$97.402.3%79
2024-02-29$96.832024-04-01$96.43−0.4%32
2024-04-10$96.442024-04-11$96.30−0.1%1
2024-05-10$96.662024-06-17$96.34−0.3%38
2024-07-08$97.632024-10-08$99.311.7%92
2025-01-29$94.592025-02-04$94.17−0.4%6
2025-02-14$95.602025-08-01$105.7810.7%168
2025-08-13$107.002025-10-09$106.27−0.7%57
2025-12-04$106.962026-01-14$106.88−0.1%41
2026-01-23$107.762026-03-03$106.28−1.4%39
2026-04-13$107.542026-05-20$106.59−0.9%37
2026-08-03$106.212026-09-17$105.91−0.3%45

Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.

The 21 round trips

The rule closed 21 trades, and 6 of them made money. Average win was 3.79% and average loss was -0.95%. The profit factor was 1.57, which means the winners added up to more than the losers despite being outnumbered. The median trade lost 0.41% and the median hold was 39 days, while the average hold was 45.7 days. The best trade returned 10.65% and the worst lost 2.57%. The longest winning streak was 4 and the longest losing streak was 6.

The five best trades:

The five worst were all small. The deepest loss, -2.57%, came on the position of 2022-06-03 to 2022-06-13. The next was -2.39% from 2022-02-08 to 2022-02-24, then -1.82% from 2022-01-13 to 2022-01-25, -1.37% from 2026-01-23 to 2026-03-03 and -1.12% from 2022-10-27 to 2022-11-04. Three of the five worst fall in the first ten months of 2022, which was a falling, choppy market for the euro.

A win rate of 29% with a profit factor above 1 is the usual shape of a trend rule. Most signals fail by small amounts, and a few run. Here two trades, the 10.65% and the 6.63%, carry the result. The remaining 19 round trips net out close to zero. The result depends on those two trades, which matters when reading the 1.32% CAGR.

The shortest hold was 1 day, the position of 2024-04-10 to 2024-04-11, which returned -0.15%. A one-day round trip means the fast average crossed above the slow one and fell back below it on consecutive opens. It is a sign of the whipsaw the strategy description warns about. The first trade was entered on 2021-04-19 at $106.74 and the last closed on 2026-09-17 at $105.91 after entry on 2026-08-03 at $106.21, a loss of 0.28%. All prices are adjusted for splits and dividends.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-05-252022-11-03−11.6%5272023-12-27419
2025-07-022026-09-16−5.1%441not yet–
2025-04-212025-05-12−3.6%212025-06-1231

Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2022-09-27 and reached −22.9%.

Drawdowns for the rule and for holding

The rule's deepest drawdown was 11.59%, from a peak on 2021-05-25 to a trough on 2022-11-03. It took 527 days to reach the trough and 419 more to recover, on 2023-12-27. Holding's deepest was 22.86%, from 2021-01-06 to 2022-09-27, and it did not recover until 2026-01-27, 1,218 days after the trough.

The rule's drawdown is shallow for a fund that fell this far, but it is long. The peak came in May 2021 while the rule was invested, and the loss kept building through the string of small stop-outs in 2022. The rule did not avoid the decline; it avoided most of it. The 11.59% includes the June 2021 loss, the January and February 2022 trades and the June 2022 trade, and the final leg to the October 2022 trough where the rule bought on 2022-10-27 and sold a week later at -1.12%.

The second drawdown, 5.13%, runs from 2025-07-02 to a trough on 2026-09-16 and is still open at the end of the data. It started right after the best trade ended and has absorbed the 2026 losses. The third was 3.6%, from 2025-04-21 to 2025-05-12, recovered on 2025-06-12 after 31 days.

Holding also had a second drawdown, 5.96% from 2026-01-27 to 2026-10-01, which is open. Holding's first drawdown lasted until January 2026, so the buy-and-hold investor spent nearly all of the window below a prior peak. The rule ended above its starting value and holding ended below.

The gap in maximum drawdown was 11.27 points in the rule's favour, and the gap in end equity was $1,292.01. The fund's own maximum drawdown in the ETF profile is 23.45%, measured on the closing series, a little different from the 22.86% on the holding backtest, which uses the same dates but a slightly different valuation. The longest underwater stretch for the fund was 1,268 sessions.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)1.3%−11.6%$10,7850.29
5 basis points1.0%−12.0%$10,5610.22
10 basis points0.6%−12.4%$10,3470.14

Cost runs

The headline run has no costs. Adding 5 basis points of slippage on every fill cut the CAGR to 0.96%, took the end value to $10,561.42 and raised the maximum drawdown to 11.99%. The Sharpe ratio fell from 0.29 to 0.216. With 10 basis points the CAGR was 0.6%, the end value $10,346.84, the maximum drawdown 12.45% and the Sharpe ratio 0.144.

The rule made 42 fills, so each basis point per fill is applied 42 times. The CAGR falls by roughly the same step from the first cost run to the second. The strategy's edge over holding is still there at 10 basis points, since holding's CAGR was -0.9%, but the absolute result is under 1% a year.

FXE is not a thin fund by the numbers. Its average daily dollar volume was $9,500,738 and the median minute volume was 299 shares. A $10,000 sleeve is small relative to that, so the flat cost rates are a reasonable stand-in, though the real cost on any given day depends on the spread, which the backtest does not model beyond the flat rate.

The costs matter more here than on a rule that holds for years, because the average gain per winning trade is 3.79% and the typical losing trade is under 1%. Each round trip pays the cost twice. Where the average trade moves less than 1%, a cost of 5 or 10 basis points per fill takes a visible share of it.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules1.3%−11.6%2129%$10,785
EMA 8/211.6%−9.6%2846%$10,973
EMA 20/500.7%−6.5%1127%$10,395
EMA 12/502.1%−5.8%1644%$11,270

Three other EMA pairs on FXE

Three variants were run in place of the published 12/26 pair.

The 12/50 variant is the best of the four on every measure in the table: highest CAGR, shallowest drawdown, highest Sharpe. It keeps the fast 12-day line and slows the exit line to 50 days, so it needs a larger gap before it exits and it takes fewer trades, 16 against 21. The 8/21 variant is faster and made more trades, 28, with 13 wins, which is a higher hit rate than the published pair's 6 of 21. Its CAGR is also above the published rule's. The 20/50 pair is the slowest and made the smallest gain, 0.68%, though with a shallow 6.53% drawdown.

The spread across variants is narrow, from 0.68% to 2.1%, and all four stay close to flat. Picking the 12/50 pair after seeing these numbers would be selecting the best of four on one window, so its 2.1% is optimistic as an estimate of anything beyond this test. What the table does show is that FXE does not reward fast signals: the pair with the fewest trades and the shallowest drawdown did best, and the rule's results on this fund are driven more by how often it trades than by the exact length of the averages.

How FXE behaved

MeasureFXE
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−4.8%
Annualized volatility7.4%
Deepest drawdown−23.4% (2021-01-06 to 2022-09-27)
Up days48.4%
Average daily range0.39%
Average overnight gap0.27%
Correlation to SPY0.25
Correlation to QQQ0.23
Correlation to TLT0.18
Sessions above the 200-day average57.4%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high0

How FXE behaved

Across the 1,444 sessions from 2021-01-04 to 2026-10-02, FXE lost 4.76% in total, a CAGR of -0.85%, on annualized volatility of 7.44%. The deepest fall was 23.45%, from the 2021-01-06 high to the 2022-09-27 low, and the old high came back on 2026-01-27. The yearly record reads -8.07%, -6.57%, 4.86%, -4.17% and 14.5%, then -3.63% for 2026 so far.

Daily moves are small. Up days made up 48.37% of the sessions, averaging 0.36% against -0.35% on down days, and the typical session range was 0.39%. The average gap from close to open was 0.27%. Of the fund's log return, 38.92% came overnight and 61.08% during the session. Day-to-day autocorrelation was -0.01, so a move on one day told nothing about the next. A trend rule needs persistence over weeks, and this fund closed above its 200-day average on 57.43% of sessions with 34 crossings of that line in under six years.

On the calendar, the fund averaged 0.87% in November and 0.85% in December, and 0.84% in April. September averaged -1.35%. Each month has five or six years behind it, which is too few to treat as a pattern, though April 2025, the best month for the rule, fits the April figure.

FXE is positively correlated with stocks and bonds, with correlations of 0.25 to SPY, 0.23 to QQQ and 0.18 to TLT and betas of 0.12, 0.08 and 0.09. Its closest relative is UDN at 0.96, the fund that bets against the dollar by a different route. Its most negative correlation is USDU at -0.86, the long-dollar fund. The euro fund and the dollar fund therefore moved in opposite directions, and the rule's results on each reflect that: it made 3.17% on USDU and 1.32% on FXE.

Mean reversion signals were mild. RSI(14) fell below 30 on 63 sessions, with a median five-day return of 0.37% after them and a twenty-day median of 0.35%, against baselines of -0.04% and -0.05%. RSI(2) fell below 10 on 202 sessions with medians of -0.02% and -0.12%. There were no drops of 10% or more from a 20-day high. These stats say the fund bounced a little after slow oversold readings and did not bounce after the very short ones.

The rules

Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.

  1. WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND EMA(12) < EMA(26) · THEN sell the whole position

The 12/26 exponential moving average pair is the core of the MACD indicator. Exponential averages weight recent days more than simple averages, so this crossover reacts faster than an SMA pair of the same length. Used as a long/flat switch, it gives you a position you can hold and measure.

Good for: traders who like MACD logic but want it expressed as a simple, testable long/flat rule.
Watch out: faster reaction means more trades and more whipsaws than a 50/200 cross; check the trade count on each backtest page.

How the EMA crossover fit this fund

The rule buys at the open when the 12-day exponential average is above the 26-day and the account is flat, with 98% of the sleeve. It sells the whole position at the open when the 12-day falls below the 26-day. Exponential averages weight recent days more heavily, so the pair crosses sooner than a simple 10/50 pair would.

On a fund that spends 57.43% of sessions above its 200-day average and crosses it 34 times, a fast pair crosses often. That produced 21 round trips in 5.74 years, about one every three months, and 19 of the 21 were small. The trades won only when the fund trended for months, which happened twice. The 29% win rate is typical of a fast crossover, and FXE rewarded it only because the losses were smaller than 1% on average.

The other templates on FXE show how the choice of rule shaped the result. The trend with trailing stop made 2.14% with a 7.91% drawdown, the best of the 12. The SMA 10/50 made 1.55% with 8.19%. This EMA rule is third at 1.32%. The 200-day regime filter made 1.29% with the shallowest drawdown among the traders, 6.39%, and the 3-month momentum made 0.98%.

Below those, the golden cross made 0.37%, the RSI mean reversion 0.26% with a 16.18% drawdown, and the RSI(2) snapback 0% with 12.81%. The dip buyer and momentum breakout made 0% with no drawdown. The monthly cycle made -0.32% with a 22.44% drawdown and the weekly 7% target -0.42% with 20.58%. The trend rules take the top four places and the rules that buy dips or trade on a calendar sit at the bottom, which matches a fund that fell for most of the window and rewarded staying out.

The whole EMA 12/26 table across 59 funds shows the same rule on equities, where the median CAGR of 2.76% is higher. The test here is a single fund over one window, with daily decisions and no fees in the headline run.

Run EMA 12/26 trend on FXE yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Frequently asked questions

Did EMA 12/26 trend beat buy-and-hold on FXE?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on FXE returned 1.3% annualized vs −0.9% for buy-and-hold: it beat buy-and-hold by 2.2% per year, with a maximum drawdown 11.3 points shallower than holding (11.6% vs 22.9%).

How many trades did it make?

21 completed round trips over 5.7 years (42 fills), with 29% of round trips closing profitably.

Is this the same as trading MACD signals?

It uses the MACD's underlying trend component. Classic MACD trades the signal-line crossover of the 12/26 spread. This template trades the spread's sign directly, which is simpler and can be built fully in blocks.

Did the EMA 12/26 rule beat buy-and-hold on FXE?

Yes, over this window. The rule made a CAGR of 1.32% and ended at $10,784.71, while holding made -0.9% and ended at $9,492.70. The rule's maximum drawdown was 11.59% against 22.86%. The result is one backtest from 2021-01-04 to 2026-10-02 with no costs in the headline run.

How often did the EMA 12/26 rule trade FXE?

It made 21 round trips and 42 fills. Six of the round trips won, a win rate of 29%, with an average win of 3.79% and an average loss of -0.95%. The average hold was 45.7 days and the longest was 168 days.

What was the best trade?

The entry on 2025-02-14 at an adjusted $95.60 and the exit on 2025-08-01 at $105.78, a gain of 10.65% over 168 days. The second best was 6.63% from 2022-11-07 to 2023-02-17. These two trades carry most of the result.

How much did trading costs reduce the result?

With 5 basis points of slippage per fill the CAGR fell to 0.96% and the end value to $10,561.42. With 10 basis points the CAGR was 0.6% and the end value $10,346.84. The rule made 42 fills, so costs apply often.

Does a different EMA pair work better on FXE?

The EMA 12/50 variant made a CAGR of 2.1% with a 5.84% drawdown and 16 trades, the best of the four pairs tested. EMA 8/21 made 1.63% and EMA 20/50 made 0.68%. Choosing the best of four on one window overstates what to expect from it.

Which strategy did best on FXE?

The trend with trailing stop made 2.14% with a 7.91% drawdown, the highest of the 12 templates on FXE. The SMA 10/50 trend was second at 1.55%. The EMA 12/26 rule ranked third at 1.32%.

How does the EMA 12/26 rule do on other currency funds?

On USDU it made 3.17% with 23 round trips and a 4.28% drawdown. On UDN it made 0.99% with 22 round trips and a 9.91% drawdown. FXE made 1.32%, the middle of the three.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on FXE12 templates compared RSI(14) Mean Reversion on FXEsame ETF, different rulesRSI(2) Dip Snapback on FXEsame ETF, different rules

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.