20-Day Momentum + Trailing Stop on TECL
Direxion Daily Technology Bull 3X Shares: 3x daily leveraged technology sector. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
The momentum breakout rule bought TECL after each 20-day gain above 10% and sold when the price fell 10% from the highest close since entry. On TECL, a 3x daily leveraged technology fund, that rule turned $10,000 into $17,504.08 between 2021-01-04 and 2026-10-02. The CAGR was 10.24% and the maximum drawdown was 48.51%. Holding the fund over the same window ended at $63,980.78, a CAGR of 38.16%, with a maximum drawdown of 77.2%.
The rule gave up a large share of the fund's return and cut the deepest drawdown. It made 64 closed round trips and was holding a 65th on the last day, an entry on 2026-09-22 at an adjusted price of 229.97 that stood 7.06% higher. Of the 64 closed trips, 27 won, a win rate of 42%. The average winner gained 13.8% and the average loser lost 7.33%. The profit factor was 1.17, so gross profit exceeded gross loss by a thin margin. The Sharpe ratio was 0.45 against 0.82 for buy-and-hold.
TECL was an unusual fund for this template to run on. The strategy's median CAGR across all 59 ETFs was 0%, and its median across leveraged funds was 13.32%. TECL's 10.24% is below that category median and ranks 8th of 59 funds for this rule. Among the 12 templates on TECL the momentum breakout ranked 10th.
All figures come from one backtest window of 5.74 years with no fees or slippage in the headline run. The 10% entry and the 10% trail are the template's defaults. The parameter section shows how much the answer moves when either one changes.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | 17.5% | 121.5% |
| 2022 | −20.5% | −73.5% |
| 2023 | 57.9% | 194.9% |
| 2024 | −24.2% | 35.9% |
| 2025 | 28.1% | 38.0% |
| 2026 | 22.1% | 109.2% |
How each year played out against the fund
The strategy returned 17.5% in 2021, a loss of 20.5% in 2022, 57.9% in 2023, a loss of 24.2% in 2024, 28.1% in 2025 and 22.1% in 2026 to date. Buy-and-hold returned 121.5%, a loss of 73.5%, 194.9%, 35.9%, 38% and 109.2% in the same years. The strategy was ahead in one year only, 2022, by 53 points. In each of the other five years the fund finished ahead, by margins from 9.9 points in 2025 to 137 points in 2023.
2022 is the year the rule was built for. The fund lost 74.28% over the calendar year, and the rule lost 20.5%. The rule made 14 round trips in 2022 with 6 wins. Its worst month was April, at a loss of 24.82%. It sat in cash through February, May and September, which show as 0% in the monthly table, and it gained 13.32% in July and 7.93% in November.
2024 is the year that hurts. TECL rose 36.37% across the calendar year, and the rule lost 24.2%. It made 14 round trips and won 5. The monthly series shows why. January lost 11.59%, March lost 8.97%, April lost 4.85%, May lost 4.56% and September lost 11.02%. June gained 23.44%, which was the only large win. A fund that rises 36% in a year with violent two-way swings is the situation where a rule that buys after a gain and sells after a fall pays for every reversal. The entry on 2024-08-28 at 80.26 and the exit on 2024-09-03 at 72.369 for a 9.83% loss is one of the five worst trades.
2023 shows the other side. The fund returned 202.78% for the year and the rule returned 57.9%. It was invested for the May and June run, with monthly gains of 11.71% and 20.06%, and it caught the trade from 2023-05-19 at 38.29 to 2023-06-21 at 47.304, a gain of 23.54%. The rule captured only part of the advance, and 57.9% is well short of what holding the fund produced.
In 2025 the rule returned 28.1% against 38% for the fund. It was in cash for February, March and April, then gained 20.3% in May and 30.13% in June. The 2026 result of 22.1% against 109.2% for the fund covers a year in which the fund's April and May gains were large enough that a rule exiting on a 10% trail kept only part of them.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.4% | −9.7% | 6.6% | −3.1% | 16.2% | 11.2% | 10.2% | −10.4% | 4.7% | 12.9% | −16.8% |
| 2022 | −5.2% | 0.0% | 6.9% | −24.8% | 0.0% | −8.0% | 13.3% | −7.3% | 0.0% | −1.5% | 7.9% | 1.6% |
| 2023 | 9.0% | −1.0% | 15.1% | −8.8% | 11.7% | 20.1% | 1.8% | −9.1% | −8.6% | 0.0% | 10.4% | 11.4% |
| 2024 | −11.6% | −1.5% | −9.0% | −4.8% | −4.6% | 23.4% | 1.3% | −3.1% | −11.0% | −1.1% | 0.0% | −1.2% |
| 2025 | −13.0% | 0.0% | 0.0% | 0.0% | 20.3% | 30.1% | 10.0% | −9.7% | 7.7% | 19.4% | −23.7% | −3.6% |
| 2026 | −3.5% | 0.0% | 0.0% | 25.8% | 56.5% | −29.5% | −7.3% | −1.7% | −5.5% | 5.9% | – | – |
The monthly pattern
The best month was May 2026 at a gain of 56.47%, followed by June 2025 at 30.13%, April 2026 at 25.84% and June 2024 at 23.44%. The worst was June 2026 at a loss of 29.48%, then April 2022 at a loss of 24.82%, November 2025 at a loss of 23.68% and December 2021 at a loss of 16.82%. Buy-and-hold's best month was April 2026 at 68.31% and its worst was September 2022 at a loss of 32.73%.
The best and worst months of 2026 sit next to each other, and they show the cost of a trailing stop on a fund that moves 20% in a day. The rule entered on 2026-04-14 at 115.41 and exited on 2026-05-12 at 181.737 for the best trade in the test, 57.47% over 28 days. It re-entered on 2026-05-19 at 184.14 and exited on 2026-06-04 at 245.72, a gain of 33.44%. Those two trades make May 2026 the best month. The account's equity peaked on 2026-06-02, and June as a whole lost 29.48%. The fund's own worst days include 2026-06-05 at a loss of 20.07%.
Several months show 0%: 2021-01, 2022-02, 2022-05, 2022-09, 2023-10, 2024-11, 2025-02, 2025-03, 2025-04, 2026-02 and 2026-03. In those months the rule held cash. The February to April 2025 stretch is worth reading against the fund's own days. The fund's worst day of the window was 2025-04-03 at a loss of 20.4%, followed by 2025-04-04 at a loss of 19.69%, and its best day was 2025-04-09 at a gain of 39.56%. The rule held no position through any of the three, so it took neither the losses nor the rebound. A rule that waits for a 10% gain over 20 sessions before entering has a built-in delay at turning points.
Every trade
momentum breakout on TECL made 64 closed round trips and one position still open at the end of the test, an average hold of 14 days, an average winner of 13.80%, an average loser of −7.33%, a profit factor of 1.17, a longest losing streak of 7. It held a position at the close on 43.4% of trading days.
Best 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2026-04-14 | $115.41 | 2026-05-12 | $181.74 | 57.5% | 28 |
| 2025-05-23 | $62.76 | 2025-08-01 | $92.57 | 47.5% | 70 |
| 2026-05-19 | $184.14 | 2026-06-04 | $245.72 | 33.4% | 16 |
| 2023-05-19 | $38.29 | 2023-06-21 | $47.30 | 23.5% | 33 |
| 2024-05-31 | $73.86 | 2024-06-24 | $88.97 | 20.4% | 24 |
| 2021-06-10 | $44.02 | 2021-07-19 | $51.98 | 18.1% | 39 |
| 2021-10-20 | $62.58 | 2021-11-23 | $73.70 | 17.8% | 34 |
| 2023-01-23 | $23.98 | 2023-02-10 | $28.10 | 17.2% | 18 |
| 2025-10-14 | $114.18 | 2025-11-04 | $131.47 | 15.1% | 21 |
| 2022-11-09 | $20.85 | 2022-11-17 | $23.94 | 14.8% | 8 |
Worst 10 round trips
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2025-11-12 | $129.31 | 2025-11-14 | $111.89 | −13.5% | 2 |
| 2025-01-23 | $91.10 | 2025-01-27 | $79.01 | −13.3% | 4 |
| 2021-12-28 | $83.92 | 2022-01-05 | $75.60 | −9.9% | 8 |
| 2021-03-02 | $40.67 | 2021-03-03 | $36.64 | −9.9% | 1 |
| 2024-08-28 | $80.26 | 2024-09-03 | $72.37 | −9.8% | 6 |
| 2022-04-06 | $53.07 | 2022-04-11 | $47.89 | −9.8% | 5 |
| 2022-04-11 | $47.85 | 2022-04-18 | $43.25 | −9.6% | 7 |
| 2024-03-21 | $78.52 | 2024-04-04 | $70.98 | −9.6% | 14 |
| 2022-08-22 | $38.03 | 2022-08-26 | $34.43 | −9.5% | 4 |
| 2026-06-18 | $232.80 | 2026-06-23 | $211.27 | −9.3% | 5 |
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.
What the 65 trades looked like
The median trade lost 4.3%. That is the clearest single number for this rule on this fund. Most trades were small losses cut by the 10% trail, and a few large gains paid for them. The average hold was 14 days and the median was 8 days. The longest hold was 70 days and the shortest was 1 day.
The five best trades were:
- 2026-04-14 to 2026-05-12, a gain of 57.47% over 28 days.
- 2025-05-23 at 62.76 to 2025-08-01 at 92.574, a gain of 47.5% over 70 days, the longest hold.
- 2026-05-19 to 2026-06-04, a gain of 33.44% over 16 days.
- 2023-05-19 to 2023-06-21, a gain of 23.54% over 33 days.
- 2024-05-31 at 73.86 to 2024-06-24 at 88.965, a gain of 20.45% over 24 days.
The five worst trades each lost between 9.83% and 13.47%, which matches a 10% trailing stop on a fund that gaps. The worst, entered 2025-11-12 at 129.31 and exited 2025-11-14 at 111.89, lost 13.47% in 2 days. The second worst, from 2025-01-23 at 91.1 to 2025-01-27 at 79.01, lost 13.27% in 4 days. The trail is meant to exit near 10% below the high, and fills beyond that level are consistent with a fund that can fall past it across an overnight gap and one session. The fund's average overnight gap was 2.06%, and its worst day on 2025-01-27 was a fall of 14.71%.
The first trade was entered on 2021-02-03 at 40.39 and exited on 2021-02-22 at 40.56 for a gain of 0.42%. The longest losing streak was 7 trades and the longest winning streak was 4. The count of round trips by exit year was 8 in 2021, 14 in 2022, 8 in 2023, 14 in 2024, 8 in 2025 and 12 in 2026. Wins by year were 5, 6, 4, 5, 4 and 3. The 2026 year had the most trades relative to its wins, 12 trips and 3 wins, in a year when the fund itself rose 109.96%.
Two things follow. A win rate of 42% needs winners larger than losers, and here the average winner of 13.8% was larger than the average loser of 7.33%, which kept the profit factor above 1. Two of the three largest gains came from the April and May 2026 entries, so a good part of the result rests on a handful of runs.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2021-11-19 | 2022-11-09 | −48.5% | 355 | 2023-07-17 | 250 |
| 2026-06-02 | 2026-08-18 | −46.4% | 77 | not yet | – |
| 2023-07-18 | 2025-05-06 | −39.3% | 658 | 2025-07-03 | 58 |
Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-10-12 and reached −77.2%.
The three drawdowns
The deepest drawdown was 48.51%, from a peak on 2021-11-19 to a trough on 2022-11-09, 355 days later. The account recovered on 2023-07-17, 250 days after the trough. The fund's own deepest drawdown was 77.2%, from 2021-12-27 to 2022-10-12, and it took until 2024-06-11 to recover.
The second drawdown was 46.44%, from 2026-06-02 to 2026-08-18, 77 days. It had not recovered by the end of the window. That makes it the current state of the account. The fund's sharpest one-day loss of 2026, 20.07% on 2026-06-05, falls inside that stretch. A drawdown of that depth in 77 days is fast for a rule that exits on a 10% trail. June lost 29.48%, July lost 7.31% and August lost 1.72%.
The third drawdown was 39.28%, from 2023-07-18 to 2025-05-06. It took 658 days to reach the trough and 58 days to recover, ending on 2025-07-03. That long grind matches the 2024 losses above: the account stayed below its July 2023 high until the middle of 2025.
The strategy's drawdowns are shallower than the fund's, and they are also long. Buy-and-hold's second drawdown was 66.26% from 2024-07-10 to 2025-04-08, and its third was 46.41% from 2025-10-29 to 2026-03-30. The rule's maximum drawdown was 28.69 points shallower than the fund's. Exposure was 43.4%, so the account sat in cash more than half the time, and it still took a 48.51% drawdown. The fund's 3x structure and the gaps on entry days are consistent with that.
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) | 10.2% | −48.5% | $17,504 | 0.45 |
| 5 basis points | 9.0% | −49.2% | $16,416 | 0.42 |
| 10 basis points | 7.8% | −49.9% | $15,412 | 0.39 |
What trading costs did
The headline run has no costs. At 5 basis points per fill the CAGR was 9.02%, the maximum drawdown 49.19% and the Sharpe ratio 0.416, with an ending value of $16,416.13. At 10 basis points the CAGR was 7.82%, the maximum drawdown 49.85%, the Sharpe 0.387 and the ending value $15,411.65. The rule made 129 fills, so each basis point of cost applies to many trades.
The fund traded a median of 2,800 shares per minute and about $122,978,604 a day. A real account would meet spreads, and the two cost runs show the direction of that effect without forecasting it. Each step of cost lowered the CAGR and raised the drawdown slightly. The loss is gentle for a strategy that is in the market 43.4% of the time. A rule with 173 trades, such as the 5% trail variant below, would feel costs more.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 10.2% | −48.5% | 64 | 42% | $17,504 |
| 5% trailing stop | 13.8% | −36.3% | 173 | 40% | $20,977 |
| 15% trailing stop | −0.8% | −60.9% | 40 | 35% | $9,537 |
| 20% return entry | 22.3% | −44.7% | 40 | 48% | $31,787 |
Three variants of the rule
The template's two inputs are the entry threshold and the trail width. The variants change one at a time.
A 5% trailing stop gave a CAGR of 13.77%, a maximum drawdown of 36.31% and a Sharpe of 0.558, with 173 trades of which 69 won. It ended at $20,976.61. A tighter stop exits sooner, takes more small losses, and re-enters more often, and on this fund that combination beat the default. A 15% trailing stop gave a loss of 0.82% a year and a maximum drawdown of 60.88%, with 40 trades and 14 wins, and ended at $9,537.25. A wider stop let more of each reversal through and the account finished below its start.
Raising the entry to a 20% gain over 20 sessions gave a CAGR of 22.32%, a maximum drawdown of 44.67% and a Sharpe of 0.808, with 40 trades and 19 wins, ending at $31,787.09. That is the best of the four versions of the rule here. The higher bar meant fewer entries, each after a stronger burst.
The spread is wide. The CAGR runs from a loss of 0.82% to 22.32% across three changes to two numbers, and the default sits in between. A result that moves this far on a small change to one input is fragile. None of the three variants was picked in advance, the window is a single path, and the best variant here is a description of what happened, not a setting to expect to repeat. The TQQQ version of the same rule had a CAGR of 0.57%, which shows how much the answer depends on the fund.
How TECL behaved
| Measure | TECL |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 592.0% |
| Annualized volatility | 75.1% |
| Deepest drawdown | −78.0% (2021-12-27 to 2022-10-12) |
| Up days | 54.8% |
| Average daily range | 5.28% |
| Average overnight gap | 2.06% |
| Correlation to SPY | 0.91 |
| Correlation to QQQ | 0.97 |
| Correlation to TLT | 0.07 |
| Sessions above the 200-day average | 68.4% |
| Crossings of the 200-day average | 40 |
| Falls of 10% or more from a 20-day high | 68 |
How TECL behaved
TECL is a 3x daily leveraged technology fund. Its annualized volatility was 75.11%, its average up day was 3.43% and its average down day was 3.62%. The average intraday range was 5.28% and the average overnight gap was 2.06%. The fund rose on 54.82% of sessions. Its realized beta to SPY was 4.16 and to QQQ 3.24, and its correlation to XLK was 1, with ROM, TQQQ, QLD and QQQ close behind. The correlation to TLT was 0.07.
Over the window TECL returned 591.96% and its calendar years were 124.31%, a loss of 74.28%, 202.78%, 36.37%, 38.33% and 109.96% for 2026 to date. The fund's maximum drawdown was 77.96%, from 2021-12-27 to 2022-10-12, and the longest underwater stretch was 616 sessions. The fund fell 10% from a 20-day high on 68 separate occasions, spending 533 days in that state.
The leverage figures matter for a trailing stop. The fund tracked 3x XLK with a realized beta of 2.99 and an R-squared of 1. XLK returned 226.13% over the window. Three times that would be 678.38%, and the fund's actual return was 591.96%, which is 86.42 points short. The decay gap varied by year: a gain of 13.33 points in 2021, 8.92 in 2022 and 34.75 in 2023, then a shortfall of 28.54 points in 2024 and 35.49 in 2025. The shortfall years were years with large daily swings and a smaller net gain, and the momentum breakout lost money in 2024.
A day-to-day autocorrelation of negative 0.03 means yesterday's move told almost nothing about today's. The fund spent 68.43% of sessions above its 200-day average and crossed it 40 times. RSI(14) closed under 30 on 17 sessions, and the median 5-day forward return after those was 11.44%, against a baseline of 1.09%. Dips on this fund were bought with good results in the window, and a rule that buys strength after a 20-day gain is on the other side of that pattern. Month-of-year averages are lumpy, with May averaging 22.39% over 6 observations and September averaging a loss of 4.71%.
The rules
Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.
- WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 10% below the position's high-water mark
Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.
Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.
Why a 10% trail suits TECL poorly
A 10% trail on a fund with a 3.62% average down day can be crossed in a few typical down sessions. A fund with a 5.28% average intraday range can trace the same move inside one day. The trailing stop in this template ratchets up beneath the highest close and never moves down, so each reversal that clears 10% from the peak ends the trade.
Against the 12 templates on TECL, the momentum breakout ranked 10th at 10.24%, ahead only of the golden cross at 10.02% and the 3-month momentum rule at 7.63%. The leaders were the monthly cycle at 35.97% with a drawdown of 77.99%, the weekly 7% target at 35.49% with a drawdown of 43.24%, and the RSI(2) snapback at 30.2% with a drawdown of 51.05%. The dip buyer returned 24.71% and RSI mean reversion 23.89%. The trend rules sat in the middle: the EMA 12/26 at 19.83%, the SMA 10/50 at 17.97% and the trend with trailing stop at 14.4%.
Among leveraged funds, the same rule returned 22.49% on QLD with a 20.1% drawdown and 20 round trips, 19.06% on SOXL, 17.25% on SPUU and 15.43% on SSO. TECL's 10.24% sits below those. The QLD run is the one to compare: a leveraged fund with a drawdown of 20.1%, where the same 10% trail had a much shallower result. The test stops at one window and defaults, and a different window could reorder every one of these rankings.
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 momentum breakout beat buy-and-hold on TECL?
Over 2021-01-04 to 2026-10-02, momentum breakout on TECL returned 10.2% annualized vs 38.2% for buy-and-hold: it trailed buy-and-hold by 27.9% per year, with a maximum drawdown 28.7 points shallower than holding (48.5% vs 77.2%).
How many trades did it make?
64 completed round trips over 5.7 years (129 fills), with 42% of round trips closing profitably.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.
How did the momentum breakout strategy perform on TECL?
It returned a CAGR of 10.24% and ended at $17,504.08 from $10,000, with a maximum drawdown of 48.51%. Buy-and-hold returned 38.16% a year and ended at $63,980.78, with a 77.2% drawdown. The figures are from a hypothetical backtest over 2021-01-04 to 2026-10-02.
Did the strategy beat holding TECL?
Only in 2022, when it lost 20.5% against a loss of 73.5% for the fund. In every other calendar year the fund finished ahead. The rule had the shallower drawdown but a much lower CAGR.
What is the entry rule?
The rule buys at the open when it is not invested and the 20-day return is above 10%. It exits when a trailing stop 10% below the highest close since entry is hit. There is no profit target.
How often did it win?
Of 64 closed round trips, 27 won, a win rate of 42%. The median trade lost 4.3%, and the average winner of 13.8% outweighed the average loser of 7.33%. The profit factor was 1.17.
Does changing the trailing stop change the result?
Yes, by a lot. A 5% trail gave 13.77% a year with 173 trades, and a 15% trail gave a loss of 0.82% a year. Raising the entry to a 20% gain gave 22.32% a year. These are tests on one window.
What do trading costs do to the result?
At 5 basis points the CAGR fell to 9.02% and the ending value to $16,416.13. At 10 basis points the CAGR was 7.82% and the ending value $15,411.65. The rule made 129 fills.
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.