Learn › Strategies › EMA 12/26 Trend › TECS

EMA 12/26 Trend on TECS

Direxion Daily Technology Bear 3X Shares: -3x 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 TECS turned $10,000 into $1,355 (−86.5% total, −29.4% CAGR): it beat buy-and-hold by 17.3% per year, with a maximum drawdown 9.7 points shallower than holding (87.8% vs 97.5%).

Of 21 round trips on TECS, the EMA 12/26 rule won 3. The account fell from $10,000 to $1,354.71, a total return of -86.45% and a CAGR of -29.4%, with a maximum drawdown of 87.83% and a Sharpe ratio of -0.45. The profit factor was 0.12, which means the gross profit on the winners was a small fraction of the gross loss on the losers. The average winner returned 6.79% and the average loser returned -11.57%. The longest losing streak was 14 trades in a row.

TECS is the Direxion fund that moves at minus 3 times the daily return of the technology sector. The strategy buys with 98% of the sleeve when the 12-day exponential average closes above the 26-day, and sells everything when it closes below. It was in the fund on 26.5% of days. The test covers 2021-01-04 to 2026-10-02, with no fees or slippage in the headline run.

Held without a rule, TECS did worse. Buy-and-hold lost 97.29% for a CAGR of -46.67%, a maximum drawdown of 97.52% and an ending value of $270.72. The EMA 12/26 trend rule beat that on CAGR by a wide margin and on drawdown by a smaller one, and it ended with more money, though that is still a loss of most of the account. Of the 12 strategies tested on TECS, it ranked 9th. Its rank for this fund among the 59 the rule was tested on was 57th.

−29.4%CAGR
−46.7%buy & hold CAGR
−87.8%max drawdown
-0.45Sharpe ratio
21round trips
14%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
2021−34.0%−68.0%
2022−2.1%42.5%
2023−37.4%−71.4%
2024−30.1%−42.3%
2025−36.1%−46.3%
2026−24.9%−36.9%

Year by year against holding

The rule beat buy-and-hold in five of the six calendar years and lost to it in the one year that mattered most for an inverse fund. In 2021 the rule lost 34% against 68% for holding. In 2023 it lost 37.4% against 71.4%. In 2024 it lost 30.1% against 42.3%, in 2025 it lost 36.1% against 46.3%, and in 2026 so far it has lost 24.9% against 36.9%. Each of those is a smaller loss than the fund's own, which comes from being in cash on most days.

In 2022 the picture reverses. Buy-and-hold on TECS gained 42.5%, as the technology sector fell, while the EMA rule lost 2.1%. That is a shortfall of 44.6 points in the single year the fund was designed for. The rule entered on 2022-01-14 and exited on 2022-03-23 for a gain of 3.71%, entered again on 2022-04-18 and exited on 2022-06-03 at 0.04%, then took a loss of 18.59% on the trade from 2022-06-14 to 2022-07-18, when the fund fell back after the entry. The best trade of the test came afterwards, from 2022-09-02 to 2022-10-28 at 16.62%.

A moving-average crossover needs time to confirm a trend. It gets in after the fund has already moved and gets out after it has already turned. On a fund that fell 69.35% in 2021, rose 45.25% in 2022 and then lost 74.54% in 2023, the lag has a price in both directions. In the one year of gains, the rule gave up most of them waiting for confirmation. In the five years of losses, it avoided a lot of the decline by sitting out, but it still lost money in all five because the short rallies it chose to buy kept failing.

The yearly count of trades shows the same split. There were 3 round trips in 2021 with no wins, 4 in 2022 with 3 wins, 4 in 2023 with none, 3 in 2024 with none, 5 in 2025 with none and 2 in 2026 so far with none.

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%−13.6%0.0%−12.9%0.0%0.0%0.0%3.8%−15.6%0.0%0.0%
20220.2%11.1%−6.9%6.4%−5.3%−5.9%−13.7%0.0%42.7%−18.5%0.0%−0.7%
2023−10.3%0.0%0.0%0.0%0.0%0.0%0.0%−10.3%6.6%−13.6%−15.5%0.0%
20240.0%0.0%0.0%8.4%−12.9%0.0%−5.2%−10.6%−12.6%0.0%0.0%0.0%
2025−16.1%−16.2%25.4%−18.3%0.0%0.0%0.0%0.0%0.0%0.0%0.5%−11.7%
20260.0%−5.1%10.2%−18.7%0.0%0.0%1.8%−13.2%0.0%0.0%––

Where the monthly returns came from

Most months show exactly zero, which is the strategy sitting in cash. January and February 2021 are zero, as are June to August 2021 and the run from February to July 2023. May through October 2025 is another stretch of zeros, in a year when TECS lost 62.41%.

The best month was September 2022 at 42.7%. The worst was April 2026 at a loss of 18.73%. The other large positive months were March 2025 at 25.37%, February 2022 at 11.12% and March 2026 at 10.19%. The large negative months were October 2022 at 18.51%, April 2025 at 18.29%, October 2021 at 15.62%, November 2023 at 15.47% and February 2025 at 16.23%.

September 2022 and the month after it are a good illustration of the whipsaw problem. The trade entered on 2022-09-02 made 42.7% in September and then gave back 18.51% in October before it closed on 2022-10-28 at a net gain of 16.62%. A rule that enters on a trend signal sits through the pullbacks of the move it is following.

In 2025 the sequence from January to April reads as a series of small attempts: a loss of 16.1% in January, 16.23% in February, a gain of 25.37% in March and a loss of 18.29% in April. The spring of 2025 includes the largest single-day moves in the fund's history in this window, which the fund profile below lists.

Which calendar months suited TECS

Averaged over the years in the window, the fund's month-of-year returns were uneven. May averaged -19.33% over 6 observations, November -13.59% over 5, October -12.19% over 5 and June -10.27% over 6. September averaged 6.63%, February 0.76% and December 0.33%.

The rule's own months line up with that in part. It lost 12.86% in May 2021 and 12.93% in May 2024, and it lost 5.34% in May 2022 while holding the fund through that month. September was the month of its best result, 42.7% in 2022, and it also made 3.84% in September 2021 and 6.58% in September 2023. September 2024 broke the pattern with a loss of 12.59%.

October was the month that took gains back. The rule lost 15.62% in October 2021, 18.51% in October 2022 and 13.63% in October 2023, while October 2024 and October 2025 were flat at zero. Three of the five October observations were large losses for the rule, matching the fund's weak October average. The sample is five or six months per calendar month, so these averages describe this window and carry little weight as a calendar rule.

Every trade

EMA 12/26 trend on TECS made 21 closed round trips, an average hold of 26 days, an average winner of 6.79%, an average loser of −11.57%, a profit factor of 0.12, a longest losing streak of 14. It held a position at the close on 26.5% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-03-05$7444.912021-03-16$6409.69−13.9%11
2021-05-13$6176.772021-05-26$5365.85−13.1%13
2021-09-29$3959.692021-10-19$3459.34−12.6%20
2022-01-14$2859.782022-03-23$2965.883.7%68
2022-04-18$3407.142022-06-03$3408.440.0%46
2022-06-14$4534.232022-07-18$3691.40−18.6%34
2022-09-02$3337.702022-10-28$3892.4016.6%56
2022-12-27$3536.112023-01-13$3140.58−11.2%17
2023-08-10$1316.392023-09-01$1156.28−12.2%22
2023-09-19$1329.292023-10-13$1257.82−5.4%24
2023-10-23$1458.822023-11-07$1214.94−16.7%15
2024-04-16$767.932024-05-10$723.75−5.8%24
2024-07-26$614.272024-08-20$518.67−15.6%25
2024-09-06$632.752024-09-16$551.46−12.8%10
2025-01-13$490.112025-01-23$409.56−16.4%10
2025-02-03$479.832025-02-11$424.70−11.5%8
2025-02-28$506.512025-04-25$489.50−3.4%56
2025-11-20$172.352025-12-05$162.51−5.7%15
2025-12-19$173.412025-12-22$162.80−6.1%3
2026-02-05$193.662026-04-10$163.96−15.3%64
2026-07-27$73.312026-08-06$64.59−11.9%10

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.

All 21 trades

Most trades lost money, two finished near flat or slightly up, and one was a large gain. The median return was -11.89% and the median hold was 20 days. The shortest hold was 3 days and the longest was 68, from 2022-01-14 to 2022-03-23. The three winners returned 16.62%, 3.71% and 0.04%. The worst trades began with the 18.59% loss in June 2022 and included 16.72% from 2023-10-23 to 2023-11-07, 16.44% from 2025-01-13 to 2025-01-23 and 15.56% from 2024-07-26 to 2024-08-20.

A cluster of fast losses sits in 2025. The fund was bought on 2025-01-13 and sold on 2025-01-23 at a loss of 16.44%, bought on 2025-02-03 and sold on 2025-02-11 at a loss of 11.49%, then bought on 2025-02-28 and held for 56 days to 2025-04-25 for a loss of 3.36%. Late in the year the rule bought on 2025-11-20 and sold on 2025-12-05, then bought on 2025-12-19 and sold on 2025-12-22 after 3 days at a loss of 6.12%. The quick exit and re-entry pattern in those trades is what a crossover rule produces when the signal flips back within days.

The most recent trade ran from 2026-07-27 at $73.31 to 2026-08-06 at $64.59 for a loss of 11.89%. The adjusted prices in the trade list fall from $7,444.91 at the first entry in March 2021 to $64.59 at the last exit. The list is adjusted for splits and dividends, so the early prices are far above the quotes printed at the time. The percentage returns are not affected by that.

With a win rate of 14% and a profit factor of 0.12, the rule's arithmetic cannot work on this fund. An average win of 6.79% against an average loss of 11.57% means the rule needs a win rate well above half to break even, and the win rate was 14%. The signal was wrong most of the time because TECS did not trend up for long. Over the window it lost 99.38% in total, so each rally was a bounce inside a fall.

Largest drawdowns

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

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

The long drawdown

The maximum drawdown began on 2021-03-08 and reached its low on 2026-08-04 at 87.83%. It took 1,975 days to get there and it had not recovered by the end of the data. The only other drawdown listed is a 2.27% dip in early March 2021 that recovered by 2021-03-08. The account never set a new peak after that. The peak came within days of the first entry on 2021-03-05, and the first trade then lost 13.91%, so every later gain started from a lower base.

Buy-and-hold had a drawdown of 97.52% that began on 2021-01-06 and ended on 2026-10-02, the last day of the data, with no recovery. The rule's drawdown was shallower than the fund's, and its ending value was higher, but both curves are a long decline with a few interruptions. The rule's exposure of 26.5% limited the damage to the fund's decay and did not change the direction of the account.

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)−29.4%−87.8%$1,355-0.45
5 basis points−29.7%−88.1%$1,325-0.46
10 basis points−29.9%−88.3%$1,297-0.47

Cost runs

Slippage of 5 basis points per fill lowered the CAGR to -29.67% and the final value to $1,325.43, with a Sharpe ratio of -0.459 and a maximum drawdown of 88.08%. At 10 basis points the CAGR was -29.93%, the final value was $1,297.26, the Sharpe ratio was -0.466 and the maximum drawdown was 88.32%. The headline run with no costs ended at $1,354.71.

The costs moved the result in the expected direction and by a small amount. There were 42 fills, so every added basis point acts on 42 prices. The fund's trading is also thin per minute, with a median minute volume of 70 shares, which is a reason to treat the fill prices in a backtest of this fund with caution. Average daily dollar volume was $52,984,363, which is large enough for a small account, but the backtest fills on minute bars and does not model the quoted spread.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules−29.4%−87.8%2114%$1,355
EMA 8/21−30.5%−87.9%3113%$1,240
EMA 20/50−27.9%−86.6%1010%$1,535
EMA 12/50−26.2%−84.1%140%$1,750

Other EMA pairs

Three variants change the two lengths. EMA 8/21, a faster pair, made 31 trades with 4 wins, a CAGR of -30.49%, a final value of $1,239.58 and a maximum drawdown of 87.88%. EMA 20/50, a slower pair, made 10 trades with 1 win, a CAGR of -27.85%, a final value of $1,534.90 and a maximum drawdown of 86.59%. EMA 12/50 kept the fast length and slowed the long one, making 14 trades with no wins, a CAGR of -26.19%, a final value of $1,749.67 and a maximum drawdown of 84.06%.

All three lost money, and the order follows the speed. The fastest pair traded the most and finished lowest. The slowest long average finished highest. That fits a fund that did not trend long enough for any pair to pay, where fewer trades went with smaller losses. The EMA 12/50 variant had no winning trade in 14 and still finished ahead of the published 12/26 pair on CAGR. The result says the choice of pair was not what drove the outcome, and the fund was. All four versions fall in a narrow band of CAGR between -26.19% and -30.49%.

How TECS behaved

MeasureTECS
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold−99.4%
Annualized volatility75.2%
Deepest drawdown−99.4% (2021-01-06 to 2026-10-02)
Up days44.6%
Average daily range5.28%
Average overnight gap2.08%
Correlation to SPY-0.91
Correlation to QQQ-0.97
Correlation to TLT-0.07
Sessions above the 200-day average13.2%
Crossings of the 200-day average34
Falls of 10% or more from a 20-day high92

What TECS did

TECS is a very volatile fund. Its annualized volatility was 75.18%, its average intraday range was 5.28% and its average overnight gap was 2.08%. It closed up on 44.56% of days, with an average up day of 3.68% and an average down day of 3.43%. Its best day was 2025-04-03 at 20.18% and its worst was 2025-04-09 at a loss of 39.97%, six days later. The next best days were 2026-06-05 at 19.93% and 2025-04-04 at 19.74%.

The fund lost 99.38% over the window and its maximum drawdown was 99.4%, from a peak on 2021-01-06 to 2026-10-02. By calendar year it lost 69.35% in 2021, gained 45.25% in 2022, and lost 74.54% in 2023, 49.74% in 2024, 62.41% in 2025 and 71.1% so far in 2026. Its beta to SPY was -4.17 and its beta to QQQ was -3.24. The correlation to QQQ was -0.97 and to SPY was -0.91.

TECS is a minus 3 times fund on the technology sector, and the test compares it with XLK. XLK returned 226.13% over the window. Minus 3 times that is -678.38%, which a fund cannot lose, and the daily-rebalanced equivalent is -99.68%. TECS returned -99.38%. The gap to the simple multiple was 579 percentage points. The realized beta was -2.99 and the R-squared was 1, so the fund tracked each day's move closely. The year-by-year pairs show the pattern: XLK gained 36.99% in 2021 and TECS lost 69.35%, XLK gained 56.01% in 2023 and TECS lost 74.54%, and XLK lost 27.73% in 2022 while TECS gained 45.25%.

The oscillator statistics point the same way. The 14-day RSI closed below 30 on 130 sessions, and the median 20-day forward return afterwards was -7.95%, against a baseline of -6.49%. The 2-day RSI closed below 10 on 255 sessions, with a median 20-day return of -7.43%. The fund spent 13.17% of sessions above its 200-day average and crossed it 34 times. It fell 10% or more from a 20-day high 92 times, over 952 sessions. By calendar month the fund averaged -19.33% in May, -13.59% in November, -12.19% in October and gained 6.63% in September, with five or six observations in each.

The funds that moved most closely with it were REW at 0.98, QID, SQQQ and PSQ at 0.97 and SDS at 0.91. The most opposite were TECL and XLK at -1, ROM at -0.99, TQQQ and QLD at -0.97.

Overnight and intraday returns on TECS

TECS lost money in both halves of the trading day. Its overnight log return over the window was -172.65% and its intraday log return was -329.71%, which puts 34.37% of the fall in the overnight gap and 65.63% inside the session. The rule buys and sells at the open, so it holds the overnight gap on every day it is invested and then takes the intraday move as well. The average overnight gap was 2.08%, and the average intraday range was 5.28%, so a day in this fund was mostly decided after the open.

The weekday averages are small. Monday averaged -0.58%, Wednesday -0.46%, Thursday -0.1%, Friday -0.04% and Tuesday -0.03%. The lag-1 autocorrelation of daily returns was -0.03, so one day's move said almost nothing about the next. A crossover rule leans on persistence over weeks, and the daily data gives it no help at the shortest horizon either.

The worst days in the fund's history in this window show how a short holding period can go wrong. TECS fell 39.97% on 2025-04-09, 24.55% on 2022-11-10, 16.2% on 2026-07-30, 15.01% on 2022-11-30 and 14.8% on 2026-08-04. The 2026-07-30 and 2026-08-04 drops fall inside the last trade, which ran from 2026-07-27 to 2026-08-06 and lost 11.89%. The 2022-11-10 drop came while the account was in cash, between the exit on 2022-10-28 and the next entry on 2022-12-27.

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 a crossover met a decaying fund

The EMA pair reacts faster than a simple average of the same length, which is the rule's stated advantage and its stated risk. The description warns of more trades and more whipsaws than a 50/200 cross, and the trade list shows it. On a fund like TECS the crossover is a signal that the fund has been rising for a few weeks, and the data shows that a few weeks of rising was usually followed by more falling.

Among the 12 strategies on TECS, the trend plus trailing stop came first with a CAGR of -11.04% and a maximum drawdown of 54.1%, followed by the 200-day regime filter at -13.86%. The EMA 12/26 trend at -29.4% sat between the RSI mean reversion at -29.14% and the weekly 7% target at -41.59%. The monthly cycle was last at -55.62%.

Across inverse funds the EMA rule had a median CAGR of -12.74%, against 2.76% across all 59 funds. TBF was the one positive fund at 7.6% with a drawdown of 17.96%. SH lost 3.91%, SDS lost 6.89%, SQQQ lost 24.32%, and SOXS lost 48.38%. TECS, at -29.4%, was second from the bottom. The test covers one window in which the sector the fund bets against rose strongly, and it uses a daily rule on a fund that resets daily.

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

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on TECS returned −29.4% annualized vs −46.7% for buy-and-hold: it beat buy-and-hold by 17.3% per year, with a maximum drawdown 9.7 points shallower than holding (87.8% vs 97.5%).

How many trades did it make?

21 completed round trips over 5.7 years (42 fills), with 14% 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 strategy perform on TECS?

It turned $10,000 into $1,354.71, a total return of -86.45% and a CAGR of -29.4%, with a maximum drawdown of 87.83%. It made 21 round trips and won 3. The test ran from 2021-01-04 to 2026-10-02.

Was the strategy better than buy-and-hold on TECS?

On the headline numbers, yes. Buy-and-hold lost 97.29% with a CAGR of -46.67% and ended at $270.72. The rule beat holding in 2021, 2023, 2024, 2025 and 2026, and lost to it in 2022, when TECS gained 42.5% and the rule lost 2.1%.

Why did the strategy lose on so many trades?

The win rate was 14% and the profit factor was 0.12. TECS lost 99.38% over the window, so the rallies that triggered a buy usually faded. The average loss was 11.57% and the average win was 6.79%.

Did a different EMA pair work better?

Not in this data. EMA 8/21 returned -30.49%, EMA 20/50 returned -27.85% and EMA 12/50 returned -26.19%, against -29.4% for 12/26. All four lost most of the account, and the spread between them is small next to the fund's own decline.

How much did trading costs matter?

Slippage of 5 basis points lowered the final value to $1,325.43, and 10 basis points lowered it to $1,297.26, against $1,354.71 with no costs. The rule made 42 fills, so the effect was small beside the strategy's other problems.

What happened to TECS over the whole window?

The fund lost 99.38% from 2021-01-04 to 2026-10-02, with a maximum drawdown of 99.4%. It gained 45.25% in 2022 and lost money in every other calendar year. XLK, the sector fund that TECS bets against, returned 226.13% over the same period.

Related

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