Learn › Strategies › EMA 12/26 Trend › REW

EMA 12/26 Trend on REW

ProShares UltraShort Technology: -2x daily technology sector. 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 REW turned $10,000 into $3,097 (−69.0% total, −18.5% CAGR): it beat buy-and-hold by 17.6% per year, with a maximum drawdown 21.0 points shallower than holding (71.7% vs 92.7%).

The EMA 12/26 trend rule owns a fund while its 12-day exponential average stays over the 26-day average, and holds cash otherwise. On REW, ProShares UltraShort Technology, which is built to deliver -2x the technology sector's daily move, $10,000 grew to $3,097 by 2026-10-02 from a 2021-01-04 start. The total return was -69.03% and the CAGR was -18.47%.

Buy-and-hold on REW did much worse. It turned $10,000 into $763, a CAGR of -36.12% and a maximum drawdown of 92.67%. The trend rule's maximum drawdown was 71.67%. The rule beat holding by 17.65 CAGR points and still lost most of the money. It lost money because the fund itself kept falling, and a long-only rule on a falling fund can only choose which falling days to own.

Of 22 round trips, 4 were winners, and the profit factor was 0.16. Holding was beaten in five years, 2021, 2023, 2024, 2025 and 2026, and the rule trailed it only in 2022, when REW rose. The test is a single window with no fees charged in the headline run, so the numbers describe this fund and this period.

−18.5%CAGR
−36.1%buy & hold CAGR
−71.7%max drawdown
-0.38Sharpe ratio
22round trips
18%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−23.6%−54.1%
2022−9.1%62.3%
2023−27.6%−59.4%
2024−18.9%−30.8%
2025−11.2%−38.1%
2026−14.6%−43.4%

How each year played out

Five of REW's six calendar years in the data were down years, and one was up. The fund printed -55.51% for 2021, 65.85% for 2022, -61.4% for 2023, -33.55% for 2024, -43.16% for 2025 and -53.63% for the part of 2026 covered. Over the same years the strategy returned -23.6%, -9.1%, -27.6%, -18.9%, -11.2% and -14.6%.

Across the five down years the rule's losses were well short of the fund's. The gaps to buy-and-hold were 30.5 points in 2021, 31.8 in 2023, 11.9 in 2024, 26.9 in 2025 and 28.8 in 2026. In each case the rule was in the fund for only part of the time and missed some of the decline. Exposure over the whole window was 29.6%, so for roughly seven-tenths of the days the account sat in cash.

2022 went the other way. Holding REW returned 62.3% on the strategy's buy-and-hold basis, and the strategy returned -9.1%, a shortfall of 71.4 points. The rule has to see the 12-day average cross above the 26-day before it buys, and in a year that begins with REW falling, the cross comes after part of the move is gone. Three of the five trades that closed in 2022 won, and they were small: 2.33%, 10.74% and 0.15%. The two losses in the summer, 12.33% and 11.56%, took back most of what the winners made.

Every year was a loss for the rule, 2022 included, in a fund that rose 65.85% that year. The signal did not capture the one good year.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%−6.5%0.0%−10.4%0.0%0.0%0.0%2.9%−11.4%0.0%0.0%
2022−0.3%7.3%−4.5%13.0%−0.4%−5.6%−18.9%0.0%24.0%−10.6%−9.7%2.9%
2023−10.8%0.0%0.0%0.0%0.0%0.0%0.0%−6.6%5.0%−7.7%−10.3%0.0%
20240.0%0.0%0.0%9.0%−9.9%0.0%−3.2%−6.3%−8.9%0.0%0.0%0.0%
2025−8.3%1.0%17.6%−11.1%0.0%0.0%0.0%0.0%0.0%0.0%1.1%−9.3%
20260.0%−3.3%7.5%−12.9%0.0%0.0%3.4%−8.7%0.0%0.0%––

The months that moved the account

September 2022 was the best month at +23.98%, and the second best was March 2025 at +17.56%. April 2022 added 13.03% and March 2026 added 7.46%. These are the months in which REW bounced hard while the position was open.

The worst month was July 2022 at -18.88%, followed by April 2026 at -12.91% and April 2025 at -11.09%. Several of the losses landed in months right after a good one: October 2022 lost 10.57% after the 23.98% September, and April 2025 lost 11.09% after the 17.56% March. That sequence is the whipsaw the strategy's own caveat warns about. A fast crossover turns long just as a short-lived rally in the underlying fund is ending.

Buy-and-hold had its best month in April 2022 at +27.51% and its worst in April 2026 at -25.62%. The strategy's April 2022 was +13.03%, about half the hold result, since it was in for part of the move.

Many months show 0%. Those are months with no open position. The monthly table shows runs of them, such as February to July 2023 and May to October 2025. A run of zeros is the rule doing what it should while the fund fell.

Every trade

EMA 12/26 trend on REW made 22 closed round trips, an average hold of 29 days, an average winner of 5.90%, an average loser of −7.58%, a profit factor of 0.16, a longest losing streak of 9. It held a position at the close on 29.6% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-03-05$185.702021-03-18$173.30−6.7%13
2021-05-13$165.502021-05-26$147.77−10.7%13
2021-09-29$116.382021-10-19$105.85−9.1%20
2022-01-10$103.182022-03-23$105.582.3%72
2022-04-14$112.912022-06-08$125.0410.7%55
2022-06-13$153.572022-07-12$134.64−12.3%29
2022-07-13$146.442022-07-20$129.51−11.6%7
2022-09-01$130.512022-11-14$130.710.1%74
2022-12-22$142.372023-01-18$130.28−8.5%27
2023-08-10$72.402023-09-01$66.88−7.6%22
2023-09-19$73.352023-10-16$72.70−0.9%27
2023-10-23$78.902023-11-07$69.52−11.9%15
2024-04-11$49.732024-05-13$48.81−1.9%32
2024-07-26$44.682024-08-20$40.42−9.5%25
2024-09-06$46.742024-09-16$42.46−9.2%10
2025-01-10$38.072025-01-24$34.61−9.1%14
2025-01-30$37.602025-02-11$36.23−3.6%12
2025-02-27$37.322025-04-28$41.1910.4%60
2025-11-20$21.502025-12-05$20.48−4.7%15
2025-12-18$22.002025-12-23$21.15−3.9%5
2026-02-05$23.492026-04-10$21.20−9.8%64
2026-07-21$12.532026-08-06$11.82−5.7%16

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 trades that made and lost money

Of 22 round trips, 4 won. The average win was 5.9% and the average loss was -7.58%, so the winners were both rarer and smaller than the losers. The longest losing streak was 9 trades and the longest winning streak was 2. The median trade lost 6.68% and lasted 22 days. The longest hold was 74 days and the shortest was 5. The average hold was 28.5 days.

The first trade set the tone. It bought on 2021-03-05 at an adjusted price of 185.7 and sold on 2021-03-18 at 173.3 for -6.68%. The last trade bought on 2026-07-21 at 12.53 and sold on 2026-08-06 at 11.82 for -5.67%. The adjusted price fell from 185.7 to 11.82 over the window, which is the whole story of the fund in two numbers.

The best trade ran from 2022-04-14 at 112.91 to 2022-06-08 at 125.04, a gain of 10.74% over 55 days. The next best ran from 2025-02-27 at 37.32 to 2025-04-28 at 41.19, a gain of 10.37% over 60 days. That second trade straddled the April 2025 spike: REW's best two days were 2025-04-03 at +13.79% and 2025-04-04 at +13.27%, and its worst day was 2025-04-09 at -27.01%.

The worst trade bought on 2022-06-13 at 153.57 and sold on 2022-07-12 at 134.64 for -12.33%. A second loss followed almost at once, from 2022-07-13 at 146.44 to 2022-07-20 at 129.51 for -11.56%, over 7 days. The two trades together explain July 2022's -18.88%. Other large losers were -11.89% from 2023-10-23 to 2023-11-07 and -10.71% from 2021-05-13 to 2021-05-26.

Only 4 trades finished positive: the two above, 2.33% from 2022-01-10 to 2022-03-23, and 0.15% from 2022-09-01 to 2022-11-14. The fifth-best trade of the 22 was a loss of 0.89%. A strategy whose fifth-best trade loses money has little room for a good month to rescue it.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-03-082026-08-04−71.7%1975not yet–
2021-03-042021-03-05−2.2%12021-03-083

Buy-and-hold's deepest drawdown ran from 2021-01-06 to 2026-10-02 and reached −92.7%.

The drawdown that never recovered

The maximum drawdown was 71.67%, from a peak on 2021-03-08 to a trough on 2026-08-04, 1,975 days later. The account never recovered. There was one other drawdown in the list, 2.22% in March 2021, which recovered in 3 days. After that first small dip the account had one decline that ran for the remaining five and a half years.

Buy-and-hold's drawdown ran from 2021-01-06 to 2026-10-02 and reached 92.67%, also without recovery. The rule's equity curve was lower at the end of each year than where it started, and its drawdown was shallower only because it stepped aside for most of the declines.

The Sharpe ratio was -0.38 against -0.73 for holding. Both are negative, which means neither earned more than zero on a risk-adjusted basis. The right reading of the rule's 17.65-point CAGR advantage is that it lost less. It did not make money.

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)−18.5%−71.7%$3,097-0.38
5 basis points−18.8%−72.3%$3,030-0.39
10 basis points−19.1%−72.9%$2,960-0.40

What trading costs added

Costs are zero in the headline run. Charging 5 basis points per trade moved the CAGR from -18.47% to -18.78%, the maximum drawdown from 71.67% to 72.26% and the ending equity from $3,097 to $3,030. At 10 basis points the CAGR was -19.11%, the drawdown was 72.87% and the ending equity was $2,960.

Only 44 fills happened across nearly six years, so there was little to charge, and entry quality drove the result. Liquidity is a separate point. Average daily dollar volume in the data was $420,530, and the median minute carried 57 shares. Simulated fills use the printed price on a minute bar. A real order in a market that thin might get a worse price than even the 10 basis point run allows.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−18.5%−71.7%2218%$3,097
EMA 8/21−15.4%−70.7%2818%$3,815
EMA 20/50−14.7%−68.2%1020%$4,014
EMA 12/50−16.2%−70.6%157%$3,616

Other EMA pairs on the same fund

We reran the rule with three other pairs. None of them made money.

All three beat the default 12/26 pair's -18.47%. The slowest pair, 20/50, did best and traded least, and the faster 8/21 pair came second with the most trades. The ordering says little. The best and worst variants are only a few CAGR points apart on a fund that lost 92.37% when held, and every variant had a maximum drawdown near 70%, so the pair changed the path slightly and left the outcome unchanged.

The reason is the fund. A moving-average pair detects a trend after it has started. REW's rallies were short and sharp, and a crossover of any of these pairs waits for part of the move to happen. We did not search for a better pair, and a pair tuned on this window would describe the window.

How REW behaved

MeasureREW
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−95.0%
Annualized volatility51.9%
Deepest drawdown−95.0% (2021-01-06 to 2026-10-02)
Up days44.8%
Average daily range3.16%
Average overnight gap1.51%
Correlation to SPY-0.90
Correlation to QQQ-0.96
Correlation to TLT-0.07
Sessions above the 200-day average19.2%
Crossings of the 200-day average38
Falls of 10% or more from a 20-day high73

How REW behaved

REW is built to deliver twice the inverse of the technology sector's daily return. Against XLK, the underlying index fund, its measured beta was -2.03 with an R-squared of 0.97. Over the window it returned -95.01% while XLK returned 226.13%. A fund with -2x exposure does not give -2x of the total return: the daily reset costs more in a rising, volatile market. The fund's total return of -95.01% compares with -96.86% for an ideal daily-rebalanced -2x position on XLK, so most of the loss was the market's rise and the daily compounding.

The fund's correlation to SPY was -0.9 and to QQQ was -0.96, with betas of -2.83 and -2.24. It moved against the market closely. Annualized volatility ran at 51.89%. Up days were 44.84% of sessions, and a typical up day gained 2.52% while a typical down day lost 2.39%. Inside a session the range averaged 3.16%, and the overnight gap averaged 1.51%.

REW closed over its 200-day average on 19.2% of sessions and crossed that line 38 times. The EMA rule had many false starts for that reason. A fund that spends most of the time under its long average gives a trend rule few clean up-moves.

RSI(14) sat under 30 on 142 sessions. Twenty days later the median return was -4.67%, compared with -4.09% for any day. Oversold readings on REW were followed by more weakness at about the same rate as any other day. That is one reason the mean-reversion templates also did poorly here.

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 rule met this fund

The rule is long-only and has no short side. Applied to REW, it takes a bullish view on the inverse of technology, so it buys when the fund's own 12-day average has risen above the 26-day average. Over this window technology rose most of the time, so that signal appeared as brief bursts that faded.

Compare the other strategies on REW. The golden cross returned -6.71%, the trend plus trailing stop returned -7.12% and the momentum breakout returned -8.12%. The RSI(2) snapback returned -10.95%, the 200-day regime filter returned -12.99% and the 3-month momentum rule returned -15.72%. Seventh of 12 went to the EMA 12/26 rule at -18.47%, a hair ahead of RSI mean reversion at -18.49% and the SMA 10/50 trend at -19.75%.

The three worst were the dip buyer at -33.5%, the monthly cycle at -37.19% and the weekly 7% target at -39.14%. Those buy on a fixed calendar or a fixed dip, with no trend filter. The slow filters, the golden cross and the trailing stop, kept the drawdowns smallest at 58.47% and 50.17%. A slower signal made fewer entries into a falling fund.

Against the other inverse funds the picture is the same. The strategy's median CAGR across inverse ETFs was -12.74%, and REW at -18.47% ranked 55th of 59 funds for this rule. TBF was the exception at +7.6%. SPDN returned -3.78% and SH -3.91%. TECS, the -3x version of the same sector, returned -29.4%, and SOXS returned -48.38%. The median CAGR for this rule over all 59 funds was 2.76%.

Funds that moved with REW and against it

REW's daily returns tracked a small group of other inverse funds closely. The closest matches were TECS at 0.98, QID at 0.97, SQQQ and PSQ at 0.96, and SDS at 0.89. The rule gave different results on them. On TECS it returned -29.4%, on SQQQ -24.32%, on QID -13.63%, on PSQ -6.71% and on SDS -6.89%. REW sat in the middle at -18.47%. The order follows how far each fund fell more than it follows the entry signal.

The lowest correlations were negative: ROM at -0.99, TECL at -0.98, XLK at -0.98, TQQQ at -0.97 and QLD at -0.96. These are the funds REW is built to oppose. The EMA rule on each of them is the mirror image of this page, and a reader comparing the two sides sees that the signal does not know which direction pays. A page for the opposite side shows a rule that mostly held a rising fund, while this one shows a rule that kept re-entering a falling one.

The one inverse fund in the table that made money under the rule was TBF at +7.6% with a 17.96% maximum drawdown over 25 round trips. The rule can make money on an inverse fund when the fund trends up for long enough, and REW did not.

Limits of the test

The data covers 5.74 years, and REW rose in only one of them. A window with more rising years in REW would test the rule differently. This is one fund, one rule and one period.

No fees or slippage sit in the headline figures. With 5 and 10 basis points charged, ending equity was $3,030 and $2,960. Trade-list prices are adjusted for splits and dividends, so they differ from quotes printed at the time. One decision per day, filled on the next minute bar. Thin volume in REW makes those fills less certain than the data suggests. All of it is hypothetical and says nothing about future trades.

Run EMA 12/26 trend on REW 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 REW?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on REW returned −18.5% annualized vs −36.1% for buy-and-hold: it beat buy-and-hold by 17.6% per year, with a maximum drawdown 21.0 points shallower than holding (71.7% vs 92.7%).

How many trades did it make?

22 completed round trips over 5.7 years (44 fills), with 18% 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.

How did the EMA 12/26 trend rule do on REW?

Starting from $10,000 on 2021-01-04, the account was worth $3,097 on 2026-10-02. CAGR was -18.47% and the deepest drawdown was 71.67%. There were 22 round trips and 4 winners. Holding REW lost more, at -36.12% a year.

Did the strategy beat buy-and-hold on REW?

Yes, by 17.65 CAGR points, with a shallower drawdown of 71.67% against 92.67%. It was ahead in 2021, 2023, 2024, 2025 and 2026. Holding won in 2022, the year REW rose, when the strategy returned -9.1%.

Why did the rule lose money on REW?

The rule can only buy, and REW fell in five of six calendar years. Its 22 trades averaged a win of 5.9% and a loss of -7.58%, with 4 winners. A moving-average pair signals after a move has begun, and REW's rallies were brief.

Would a different EMA pair work better on REW?

Three other pairs were run: 8/21, 20/50 and 12/50, returning -15.45%, -14.7% and -16.24%. All beat the default -18.47% and all lost money. The 20/50 pair did best, on 10 trades.

How much do trading costs matter here?

Little. A 5 basis point charge gave a CAGR of -18.78%, and 10 basis points gave -19.11%, against -18.47% with zero cost. There were 44 fills in the window. REW trades thinly, with a median minute volume of 57 shares.

What is REW?

A ProShares fund aiming for -2x the daily move of the technology sector. XLK, its underlying, returned 226.13% over the window while REW returned -95.01%, with a measured beta of -2.03.

Is this a recommendation?

No. The figures come from hypothetical backtests over a single window and exclude fees in the headline run. They describe how the rule behaved on past data and nothing more.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on REW12 templates compared RSI(14) Mean Reversion on REWsame ETF, different rulesRSI(2) Dip Snapback on REWsame 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.