EMA 12/26 Trend on FAS
Direxion Daily Financial Bull 3X Shares: 3x daily leveraged financials. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
FAS is a 3x daily leveraged fund on financial stocks, and the EMA 12/26 trend switch is a long/flat rule built on the MACD pair: it holds the fund while the 12-day exponential average sits over the 26-day and goes to cash at the open after the lines cross back. The backtest ran from 2021-01-04 to 2026-10-02 with $10,000 and ended at $16,140, a CAGR of 8.7% and a total return of 61.4%. Holding FAS over the same dates ended at $26,295, a CAGR of 18.34%.
The rule made 22 round trips and 44 fills. Eight of the 22 won, a win rate of 36%, and the profit factor was 1.62. The average winner gained 21.44% and the average loser lost 6.57%, so a few large wins paid for a long list of small and medium losses. Max drawdown was 59.83% for the rule against 66.26% for holding, and the Sharpe ratio was 0.42 against 0.6. The rule was invested 57.3% of the time.
On this fund the switch gave up return and kept most of the risk. It beat holding in two calendar years, 2023 and 2026, and trailed it in the other four. Of the 12 rules tested on FAS it ranks 6th by CAGR, and FAS ranks 17th of 59 funds for this rule. The figures are hypothetical, come from one window of 5.74 years and carry no fees or slippage in the headline run.
Year by year
| Year | EMA 12/26 trend | buy & hold |
|---|---|---|
| 2021 | 28.1% | 122.8% |
| 2022 | −42.9% | −42.7% |
| 2023 | 31.8% | 14.6% |
| 2024 | 39.1% | 82.8% |
| 2025 | 8.9% | 21.5% |
| 2026 | 10.5% | −14.9% |
Year by year against holding FAS
The rule returned 28.1% in 2021, -42.9% in 2022, 31.8% in 2023, 39.1% in 2024, 8.9% in 2025 and 10.5% in 2026 so far. Holding returned 122.8%, -42.7%, 14.6%, 82.8%, 21.5% and -14.9%. The yearly gaps in points were -94.7 in 2021, -0.2 in 2022, +17.2 in 2023, -43.7 in 2024, -12.6 in 2025 and +25.4 in 2026.
2021 is the biggest single cost of the switch. The fund more than doubled that year, and the rule was in cash in January, held its first position from 2021-02-10 to 2021-06-18, and sat out July and December. A signal that needs the fast average to climb above the slow one cannot be early, and FAS had already moved before the first buy. The rule still made 28.1%, which was a good year by most standards and a poor one next to 122.8%.
2022 is the year the rule did not help. It lost 42.9% against 42.7% for holding. The reason is in the trade list: five round trips closed that year and none won. The rule bought on 2022-01-04 at 121.27 and sold on 2022-01-24 at 97.55, a loss of 19.56%. It bought again on 2022-02-09 and sold on 2022-02-22 for -14.13%, then bought on 2022-03-28 and sold on 2022-04-06 for -12.84%. Each buy came after a bounce lifted the 12-day average over the 26-day, and each sell came after the bounce failed. In a falling market the crossover keeps getting fooled, and on a 3x fund each fooled entry costs a lot.
2023 and 2024 favoured the rule differently. In 2023 it returned 31.8% against 14.6%, with the long trade that began on 2023-11-10 doing most of the work. In 2024 it returned 39.1% against 82.8%, which is a large gap even though the year was strongly positive for the rule. The long trade from 2023-11-10 to 2024-04-16 produced the best result of the test. The rule then spent May to early August in three short trades or in cash while holding kept its gains.
In 2025 the rule made 8.9% against 21.5% for holding, and in 2026 so far it made 10.5% against -14.9%. The 2026 figure covers only part of the year. The rule's best 2026 trade ran from 2026-06-08 to 2026-09-14 and gained 28.44%. The rule led in only two of the six years.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 6.5% | 16.5% | 18.9% | 12.2% | −18.8% | 0.0% | 7.0% | −18.7% | 24.4% | −11.9% | 0.0% |
| 2022 | −19.1% | −13.7% | −7.0% | −5.9% | 0.0% | 0.0% | 3.4% | −7.5% | −1.2% | 4.7% | 19.4% | −20.9% |
| 2023 | 8.0% | −6.2% | 0.0% | 0.0% | 0.0% | 5.7% | 13.5% | −13.1% | −9.3% | 0.0% | 19.1% | 15.6% |
| 2024 | 7.5% | 10.9% | 13.6% | −15.5% | −2.3% | −2.2% | 15.2% | −0.6% | −2.8% | 6.5% | 30.9% | −18.0% |
| 2025 | 4.8% | 2.7% | −14.1% | 0.0% | 8.3% | 8.4% | −1.1% | 2.8% | −0.8% | −7.5% | 0.0% | 7.3% |
| 2026 | −7.4% | 0.0% | 0.0% | 3.0% | −9.2% | 8.0% | 17.6% | 2.9% | −2.3% | 0.0% | – | – |
Best and worst months
The best month for the rule was November 2024 at 30.85%, and the worst was December 2022 at -20.88%. For holding, the top month was February 2021 (35.47%) and the bottom was June 2022 (-29.33%). The rule was flat in several months where holding fell or rose a lot, so the monthly record is a mix of avoided losses and missed gains.
The strong months cluster. March 2021 gained 16.53%, April 2021 gained 18.91% and May 2021 gained 12.21%, which was the run from the first entry. October 2021 added 24.38%. November 2022 gained 19.42% and was followed by December 2022 at -20.88%, so a month of recovery was given back in the next one. July 2023 gained 13.47% and was followed by August 2023 at -13.09% and September 2023 at -9.26%.
Other large losses include January 2022 at -19.06%, February 2022 at -13.74%, June 2021 at -18.82%, September 2021 at -18.73%, April 2024 at -15.53% and December 2024 at -18.04%. December 2024 came right after the best month of the test. The rule held through the November rally, then gave back a big part of it before the 2024-12-19 exit at 134.22.
There are many zero months, for example January, July and December 2021, May and June 2022, and March to May 2023. These are months in cash. The rule was invested 57.3% of the time, and the zeros are where the whole difference in exposure sits. Cash months make the curve calmer than holding, but they also kept the rule away from the sharpest recoveries.
Every trade
EMA 12/26 trend on FAS made 22 closed round trips, an average hold of 55 days, an average winner of 21.44%, an average loser of −6.57%, a profit factor of 1.62, a longest losing streak of 5. It held a position at the close on 57.3% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-02-10 | $62.70 | 2021-06-18 | $84.81 | 35.3% | 128 |
| 2021-08-06 | $99.93 | 2021-09-21 | $94.88 | −5.0% | 46 |
| 2021-09-28 | $109.49 | 2021-11-30 | $109.73 | 0.2% | 63 |
| 2022-01-04 | $121.27 | 2022-01-24 | $97.55 | −19.6% | 20 |
| 2022-02-09 | $126.15 | 2022-02-22 | $108.33 | −14.1% | 13 |
| 2022-03-28 | $109.34 | 2022-04-06 | $95.30 | −12.8% | 9 |
| 2022-07-29 | $64.26 | 2022-09-01 | $60.67 | −5.6% | 34 |
| 2022-10-28 | $61.27 | 2022-12-16 | $60.57 | −1.1% | 49 |
| 2023-01-09 | $71.63 | 2023-02-27 | $72.55 | 1.3% | 49 |
| 2023-06-08 | $53.37 | 2023-08-18 | $55.69 | 4.3% | 71 |
| 2023-09-15 | $60.03 | 2023-09-25 | $54.36 | −9.4% | 10 |
| 2023-11-10 | $53.41 | 2024-04-16 | $84.95 | 59.0% | 158 |
| 2024-05-10 | $96.96 | 2024-06-05 | $92.50 | −4.6% | 26 |
| 2024-07-05 | $93.46 | 2024-08-08 | $93.33 | −0.1% | 34 |
| 2024-08-16 | $104.87 | 2024-12-19 | $134.22 | 28.0% | 125 |
| 2025-01-22 | $154.64 | 2025-03-06 | $142.75 | −7.7% | 43 |
| 2025-05-07 | $130.15 | 2025-08-07 | $149.56 | 14.9% | 92 |
| 2025-08-15 | $156.85 | 2025-10-13 | $149.93 | −4.4% | 59 |
| 2025-12-05 | $154.25 | 2026-01-21 | $153.21 | −0.7% | 47 |
| 2026-04-14 | $132.40 | 2026-05-15 | $130.20 | −1.7% | 31 |
| 2026-05-26 | $134.93 | 2026-05-29 | $128.09 | −5.1% | 3 |
| 2026-06-08 | $135.29 | 2026-09-14 | $173.76 | 28.4% | 98 |
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 22 trades
All trade prices here are adjusted ones, below the quotes of the day. The five best trades were:
- 2023-11-10 at 53.41 to 2024-04-16 at 84.95: 59.05% in 158 days.
- 2021-02-10 at 62.7 to 2021-06-18 at 84.81: 35.26% in 128 days.
- 2026-06-08 at 135.29 to 2026-09-14 at 173.76: 28.44% in 98 days.
- 2024-08-16 at 104.87 to 2024-12-19 at 134.22: 27.99% in 125 days.
- 2025-05-07 at 130.15 to 2025-08-07 at 149.56: 14.91% in 92 days.
The five worst were 2022-01-04 to 2022-01-24 at -19.56%, 2022-02-09 to 2022-02-22 at -14.13%, 2022-03-28 to 2022-04-06 at -12.84%, 2023-09-15 to 2023-09-25 at -9.45% and 2025-01-22 to 2025-03-06 at -7.69%. Three of the five came in the first four months of 2022.
The median trade lost 1.14% and the median hold was 47 days. That gap between median and mean is the shape of a trend rule. Most trades are small losses or scratches, such as -0.14% on 2024-07-05 to 2024-08-08, -0.67% on 2025-12-05 to 2026-01-21 and 0.22% on 2021-09-28 to 2021-11-30. A small number of long holds carry the profit. The longest hold was 158 days and the shortest was 3 days, the quick round trip from 2026-05-26 to 2026-05-29 at -5.07%.
By exit year, 2021 had 3 round trips with 2 wins, 2022 had 5 with none, 2023 had 3 with 2 wins, 2024 had 4 with 2 wins, 2025 had 3 with 1 win and 2026 had 4 with 1 win. Wins never ran past 2 in a row, while losses ran to 5. The five losses in a row all sit in 2022, and an account that has to live through that run needs more patience than the final CAGR suggests.
Average hold across all trades was 54.9 days. The rule is slow compared with a mean reversion rule on the same fund, and each of its 22 trips is either a quick failure or a multi-month ride.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-06-04 | 2023-01-19 | −59.8% | 594 | 2026-08-13 | 1302 |
| 2021-03-12 | 2021-03-23 | −11.5% | 11 | 2021-04-05 | 13 |
| 2021-02-24 | 2021-02-26 | −10.5% | 2 | 2021-03-08 | 10 |
Buy-and-hold's deepest drawdown ran from 2022-01-12 to 2023-10-27 and reached −66.3%.
Drawdowns of the rule and of the fund
The deepest drawdown for the rule was 59.83%, from a peak on 2021-06-04 to a trough on 2023-01-19, which is 594 days. It recovered on 2026-08-13, 1,302 days after the peak. The next two drawdowns were small: 11.48% from 2021-03-12 to 2021-03-23, and 10.5% from 2021-02-24 to 2021-02-26.
Holding had three large drawdowns: 66.26% from 2022-01-12 to 2023-10-27, 42.77% from 2025-02-18 to 2025-04-08 and 40.66% from 2026-01-06 to 2026-03-27. The first took 653 days to reach the bottom and 355 days to recover.
The rule's worst drawdown is shallower than the fund's, but it is still more than half of the account. The cause is that the crossover exits slowly. The peak on 2021-06-04 came two weeks before the first exit on 2021-06-18, and the losses of September 2021 and early 2022 came from entries that reversed. The whipsaw trades of early 2022 did much of the damage. The exit signal works on averages of closing prices, so a fund that falls by double digits in a month can drop a long way before the lines cross.
The drawdown also lasted until 2026-08-13 for the rule. Holding recovered earlier, on 2024-10-16, for its first one. The rule's own recovery took until 2026-08-13. A risk number of 59.83% is inside what a 3x fund can do on its own, and the trend switch did not remove it. It reduced the depth by a modest amount.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 8.7% | −59.8% | $16,140 | 0.42 |
| 5 basis points | 8.3% | −60.2% | $15,819 | 0.41 |
| 10 basis points | 7.9% | −60.5% | $15,440 | 0.39 |
Cost runs at 5 and 10 basis points
At 5 basis points per trade the CAGR fell from 8.7% to 8.32%, max drawdown went from 59.83% to 60.17% and end equity was $15,819. At 10 basis points the CAGR was 7.86%, max drawdown 60.46% and end equity $15,440. The Sharpe ratio went from 0.42 to 0.406 and then 0.393.
The cost effect is moderate. With 44 fills across 5.74 years, the rule trades about once every few weeks, and each fill pays the assumed cost on the full position. Liquidity is ample for this account size: the average day traded $99,675,304 and the median minute printed 1,451 shares. The real cost to watch for is the spread on days when the fund is moving 4% intraday, since the average intraday range was 4.15%. The 5 and 10 basis point runs are a rough guide, and the test does not model a wider spread on volatile days.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 8.7% | −59.8% | 22 | 36% | $16,140 |
| EMA 8/21 | 15.0% | −51.9% | 30 | 53% | $22,310 |
| EMA 20/50 | −4.6% | −61.2% | 18 | 33% | $7,621 |
| EMA 12/50 | 0.5% | −62.8% | 18 | 33% | $10,273 |
Other EMA pairs on FAS
Three other settings were tested.
- EMA 8/21: CAGR 15%, max drawdown 51.91%, end equity $22,310, 30 trades with 16 wins.
- EMA 20/50: CAGR -4.62%, max drawdown 61.16%, end equity $7,621, 18 trades with 6 wins.
- EMA 12/50: CAGR 0.47%, max drawdown 62.78%, end equity $10,273, 18 trades with 6 wins.
The spread among the settings is wide. The faster 8/21 pair returned a CAGR of 15%, well above the 8.7% of the base 12/26 setting, and it had the lowest drawdown of the four. The slower pairs did worse. The 20/50 pair lost money, and the 12/50 pair, which keeps the fast average and lengthens the slow one, ended near flat.
The pattern fits the fund's behaviour. FAS moves in quick bursts of a few weeks, which the faster pair tracked more closely, and it won 16 of 30 trades. The slower pairs waited for confirmation and then paid for it with later entries and later exits. This is one window of 5.74 years, and the same ordering need not hold in another one. The base setting sits between the best and worst results, which says the 12/26 choice is not at either extreme. It does not say 12/26 is the right choice, and no setting here was picked after the fact.
How FAS behaved
| Measure | FAS |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 180.7% |
| Annualized volatility | 55.0% |
| Deepest drawdown | −66.9% (2022-01-12 to 2023-10-27) |
| Up days | 52.7% |
| Average daily range | 4.15% |
| Average overnight gap | 1.41% |
| Correlation to SPY | 0.78 |
| Correlation to QQQ | 0.60 |
| Correlation to TLT | -0.04 |
| Sessions above the 200-day average | 59.5% |
| Crossings of the 200-day average | 61 |
| Falls of 10% or more from a 20-day high | 55 |
How FAS moved
FAS returned 180.7% over the window, a CAGR of 19.69%, with annualized volatility of 54.99%. Year by year it gained 125.73% in 2021, then fell 43.13% in 2022, then posted 14.83%, 84.17% and 21.65% for 2023 to 2025, and stood at -15.01% for 2026 so far. The max drawdown was -66.86% from 2022-01-12 to 2023-10-27, and the longest drawdown lasted 692 sessions.
The fund follows XLF with a realized beta of 2.98 and an R-squared of 1, so it behaves like a 3x daily fund. Over the common window XLF returned 102.88% and FAS returned 180.7%, while three times the XLF return would be 308.65% and a daily-rebalanced ideal gives 364.74%. The decay gap against three times the return was -127.95 points. That decay is what a leveraged fund pays when it rebalances through choppy markets, and a trend rule that is whipsawed adds to it.
Daily moves are large. Up days averaged 2.53% and down days -2.55%, and the average intraday range was 4.15%. The largest gain in a day was 22.51% on 2025-04-09, and the largest loss was 21.93% on 2025-04-04. The fund was up on 52.67% of sessions. Its beta to SPY was 2.62, to QQQ 1.47 and to TLT -0.15, and its correlation to SPY was 0.78.
Overnight gaps drove most of the return: the overnight share was 91.85% and the intraday share was 8.15%. A rule that trades at the open and sits flat in cash misses overnight gaps while it is out, and on a fund where gaps are most of the return, time in cash is expensive.
Signals on FAS and the 200-day line
FAS spent 59.52% of sessions over its 200-day average and crossed that line 61 times. That many crossings in 1,444 sessions says the trend was often unclear. A moving average pair that flips every few weeks gets many false signals, which fits the 22 round trips and the 36% win rate.
The oversold readings were rare and paid well. RSI(14) closed below 30 on 33 sessions, with a median 5-day forward return of 1.86% against a baseline of 0.93%, and a median 20-day return of 10.06% against 3.14%. RSI(2) below 10 appeared on 174 sessions, with a median 5-day return of 0.57% and a median 20-day return of 3.95%. The fund had 55 drawdown events of 10% from a 20-day high, spread over 434 days.
Those numbers explain why the dip-style rules sit above the trend rule in the ranking, and why a rule that buys weakness does better on FAS than one that waits for the averages to cross. The trend switch buys strength after the move has started, and the fund's median returns after oversold readings show where the larger gains tended to sit.
The rules
Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.
- WHEN the market opens · IF not invested AND EMA(12) > EMA(26) · THEN buy with 98% of the sleeve
- 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 other rules did on FAS
Twelve rules ran on FAS. The dip buyer led with a CAGR of 24.15% and a max drawdown of 65.26%. Next came RSI mean reversion at 22.26% (drawdown 50.07%) and the RSI(2) snapback at 18.66% (43.37%). The monthly cycle made 16.98% with a 66.69% drawdown, and the weekly 7% target made 13.73% with 53.69%. The EMA 12/26 trend came sixth at 8.7%.
Six rules finished lower. The slower SMA 10/50 trend made 4.61%, and the momentum breakout made 3.85%. Three lost money: 3-month momentum at -2.46%, the 200-day regime filter at -2.74% and the golden cross at -5.49%. The trend with a trailing stop came last at -11.05%. Every rule that waits for a moving average to confirm sat in the lower half or near the middle, and the five best rules all buy dips or follow short cycles.
The EMA pair did better than the slower trend rules because it reacts faster. The SMA 10/50 pair is slower by construction, and the 200-day rules wait the longest. On a fund that fell 66.26% from its January 2022 peak and then rose sharply, slower rules arrived late both ways.
Limits of the test
Entries use 98% of the sleeve at the open and exits close the full position, with no margin. Fees and slippage are zero in the headline run, and the cost runs add a flat charge per trade. One fund, one window of 5.74 years and 22 trades is a small sample, and 2022 supplies five of the losing trades. The EMA variants show that the setting matters on this fund, and none of them was chosen as an optimum. The figures are hypothetical, and a 3x fund has larger tail risk than the backtest shows.
FAS among the leveraged funds
The median CAGR of this rule across all 59 funds was 2.76%, and the median across the leveraged category was 17.3%. FAS at 8.7% is below the category median. The leveraged peers were SOXL at 26.2% with a drawdown of 65.38%, TECL at 19.83% with 53.47%, SPUU at 19.12% with 22.88%, ROM at 17.91% with 42.45% and SSO at 17.3% with 22.87%.
TQQQ returned 15.25% with 49.92%, QLD returned 10.85% with 38.11%, UST returned -2.49% with 23.28% and TMF returned -13.9% with 65.06%. FAS ranks 17th of 59, and eighth of the ten in its category.
The 2x funds on broad indexes, SPUU and SSO, had drawdowns near 23%, much smaller than the 59.83% on FAS. The sector fund has a narrower base, with financial stocks only, and a 3x multiplier on top. The same rule produced a very different risk profile on a broad 2x fund and on a concentrated 3x fund.
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 FAS?
Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on FAS returned 8.7% annualized vs 18.3% for buy-and-hold: it trailed buy-and-hold by 9.6% per year, with a maximum drawdown 6.4 points shallower than holding (59.8% vs 66.3%).
How many trades did it make?
22 completed round trips over 5.7 years (44 fills), with 36% 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 do on FAS?
From 2021-01-04 to 2026-10-02 it turned $10,000 into $16,140, a CAGR of 8.7% with a max drawdown of 59.83%. It made 22 round trips and won 8 of them. Holding FAS ended at $26,295.
Did the EMA 12/26 trend beat buy-and-hold on FAS?
No. Holding had a CAGR of 18.34% against 8.7% for the rule. The rule won in 2023 and 2026 only, and the gap in 2021 was -94.7 points because the fund more than doubled while the rule waited for its first signal.
Why did the rule lose in 2022?
Five round trips closed in 2022 and none won. The three early ones lost 19.56%, 14.13% and 12.84%, because short bounces lifted the 12-day average above the 26-day before prices fell again. The year ended at -42.9%, about level with the fund's -42.7%.
Which EMA pair worked best on FAS?
The 8/21 pair had the best result, with a CAGR of 15%, a max drawdown of 51.91% and 30 trades. The 20/50 pair returned -4.62% and the 12/50 pair returned 0.47%. This is one window, so the ordering is a result of these dates.
How much do trading costs change the result?
At 5 basis points the CAGR was 8.32% and end equity $15,819. At 10 basis points it was 7.86% and $15,440. FAS is liquid, with about $99,675,304 traded on an average day.
Is FAS a good fit for a trend crossover?
The data says it is a mixed fit. The fund crossed its 200-day average 61 times and had a 4.15% average intraday range, which produced many false signals. Dip-buying rules ranked above the EMA rule on FAS.
Related
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.