Learn › Strategies › 200-Day SMA Regime Filter › SOXL

200-Day SMA Regime Filter on SOXL

Direxion Daily Semiconductor Bull 3X Shares: 3x daily leveraged semiconductors, one of the more volatile ETFs listed. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: 200-day regime filter on SOXL turned $10,000 into $33,501 (235.0% total, 23.4% CAGR): it trailed buy-and-hold by 9.9% per year, with a maximum drawdown 12.9 points shallower than holding (76.7% vs 89.6%).
23.4%CAGR
33.3%buy & hold CAGR
−76.7%max drawdown
0.66Sharpe ratio
22round trips
36%win rate
■ 200-day regime filter   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Year200-day regime filterbuy & hold
202157.2%119.0%
2022−38.7%−84.8%
202325.2%211.2%
2024−9.8%−12.1%
202552.5%53.6%
2026101.8%285.2%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%10.8%34.9%5.2%
2022−33.0%−8.4%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%
2023−1.0%−13.8%14.4%−24.9%36.3%17.7%14.2%−16.0%−27.0%−2.6%13.5%37.4%
20242.1%33.0%8.7%−17.9%27.1%14.2%−23.5%−32.9%0.0%0.0%0.0%0.0%
20250.0%0.0%0.0%0.0%0.0%−1.1%−7.6%4.2%33.2%36.3%−13.3%1.7%
202646.4%1.6%−30.8%151.0%75.8%19.0%−64.3%−1.5%−4.0%10.7%––

Every trade

200-day regime filter on SOXL made 22 closed round trips and one position still open at the end of the test, an average hold of 48 days, an average winner of 40.89%, an average loser of −9.50%, a profit factor of 1.62, a longest losing streak of 4. It held a position at the close on 50.4% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$41.542022-01-21$43.795.4%94
2022-02-03$44.242022-02-04$40.81−7.8%1
2022-02-10$46.172022-02-11$45.73−0.9%1
2023-01-27$14.232023-01-30$14.09−1.0%3
2023-02-02$16.992023-02-22$13.75−19.1%20
2023-02-24$14.012023-02-27$14.644.5%3
2023-02-28$14.112023-03-13$13.20−6.5%13
2023-03-15$14.372023-04-26$13.36−7.0%42
2023-05-01$14.182023-05-05$13.38−5.6%4
2023-05-08$14.242023-09-22$17.5523.2%137
2023-09-26$17.492023-09-27$17.41−0.5%1
2023-09-29$19.082023-10-04$17.89−6.2%5
2023-10-05$18.422023-10-19$18.590.9%14
2023-11-13$19.652024-07-31$41.73112.4%261
2024-08-01$41.842024-08-02$29.78−28.8%1
2024-08-16$37.662024-08-23$38.492.2%7
2024-08-26$39.282024-08-27$35.85−8.7%1
2025-06-27$25.292025-07-02$24.55−2.9%5
2025-07-03$26.552026-03-31$43.2262.8%271
2026-04-01$49.942026-07-30$107.71115.7%120
2026-07-31$130.812026-09-02$104.10−20.4%33
2026-09-08$126.112026-09-15$104.05−17.5%7
2026-09-18$117.38open–39.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.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2026-06-222026-09-14−76.7%84not yet–
2024-07-102025-08-06−63.6%3922026-01-28175
2021-12-272023-05-09−62.1%4982024-03-01297

Buy-and-hold's deepest drawdown ran from 2021-12-27 to 2022-10-14 and reached −89.6%.

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)23.4%−76.7%$33,5010.66
5 basis points22.9%−76.8%$32,7380.66
10 basis points22.4%−76.9%$31,9890.65

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules23.4%−76.7%2236%$33,501
100-day SMA29.2%−60.9%3030%$43,590
150-day SMA34.7%−68.4%1450%$55,276
250-day SMA4.0%−83.8%1828%$12,493

How SOXL behaved

MeasureSOXL
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold451.0%
Annualized volatility113.3%
Deepest drawdown−90.5% (2021-12-27 to 2022-10-14)
Up days53.4%
Average daily range7.77%
Average overnight gap3.17%
Correlation to SPY0.80
Correlation to QQQ0.87
Correlation to TLT0.05
Sessions above the 200-day average58.5%
Crossings of the 200-day average44
Falls of 10% or more from a 20-day high102

The rules

Own the asset when price closes above its 200-day average; hold cash when it closes below.

  1. WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND yesterday's close < SMA(200) · THEN sell the whole position

One rule and one number. Price above the 200-day moving average has historically coincided with better returns and lower volatility than price below it. This template uses no crossovers and no oscillators, only which side of the long-term average the price is on.

Good for: a first systematic strategy, simple enough to audit every trade.
Watch out: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. Some traders add a small buffer band to reduce churn.

Run 200-day regime filter on SOXL 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 200-day regime filter beat buy-and-hold on SOXL?

Over 2021-01-04 to 2026-10-02, 200-day regime filter on SOXL returned 23.4% annualized vs 33.3% for buy-and-hold: it trailed buy-and-hold by 9.9% per year, with a maximum drawdown 12.9 points shallower than holding (76.7% vs 89.6%).

How many trades did it make?

22 completed round trips over 5.7 years (45 fills), with 36% of round trips closing profitably.

Why the 200-day average specifically?

It approximates a year of trading days and has been studied across decades of data. It is not the best window for every asset. The per-ETF backtests here show where it helped and where it didn't.

Related

200-Day SMA Regime Filter on all 59 ETFsfull results table All strategies on SOXL12 templates compared RSI(14) Mean Reversion on SOXLsame ETF, different rulesRSI(2) Dip Snapback on SOXLsame 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.