Playbooks

Tech Momentum With a Market Switch: +610% on 10 Stock Perps

Published

An AlphaPilot user built this strategy. It trades a pool of ten US tech stock perpetuals: Apple, Microsoft, Nvidia, Alphabet, Amazon, Meta, AMD, Netflix, Palantir and Micron. Every day it asks two questions. Is the group as a whole trending up? If yes, which four stocks have the best mix of strength, a fresh dip and lively price action? From January 2022 to October 2026 it turned $10,000 into about $71,000. It also spent the 2022 tech bear market mostly in cash.

How it works

The strategy runs once a day on daily bars. It holds only long positions with no leverage. There are four seats, and each seat holds 25% of the account.

Every day, after the close 1 · Market filter Pool's average gap to its 50-day MA ≥ 0? No Sell all hold cash Yes 2 · Eligible names 90→5-day return > 0 and price > 50-day MA 3 · Score and rank 50% momentum, 25% pullback, 25% vol 4 · Fill 4 seats Holdings in the top 6, no more than 3% below 20-day MA, keep their seat first Trades only when the set of names changes 5 · Equal weight 25% per seat, empty seats stay in cash
The daily decision. MA means moving average, the average closing price over the window.

1. Market filter. For each stock, the strategy measures how far the price sits above or below its 50-day average. Then it averages that gap across all ten. If the average is negative, the group is in a downtrend and everything goes to cash.

2. Eligibility. A stock must have risen over its momentum window, from 90 days ago to 5 days ago. It must also trade above its own 50-day average. Weak stocks never get a seat, even in a good market.

3. Score. Eligible stocks are ranked against each other with a blended score. R is the percentile rank among the ten stocks.

score=0.5 R ⁣(Ct−5Ct−90−1)+0.25(1−R ⁣(Ctmax⁡H60))+0.25 R ⁣(σ20)\text{score} = 0.5\,R\!\left(\tfrac{C_{t-5}}{C_{t-90}}-1\right) + 0.25\left(1-R\!\left(\tfrac{C_t}{\max H_{60}}\right)\right) + 0.25\,R\!\left(\sigma_{20}\right)
−90d −60d −5d now 60-day high momentum: day −90 → day −5 pullback
What the score reads on one stock. It wants a strong move that skips the last 5 days, a stock that now sits a little below its recent high, and big daily swings.
  • Momentum (50%) is the return from 90 days ago to 5 days ago. Skipping the last week avoids chasing a spike that may fade quickly.
  • Pullback (25%) scores higher when a stock trades further below its 60-day high. Among the winners, the strategy prefers ones that are on sale.
  • Volatility (25%) scores higher when a stock's daily returns swing more over 20 days. This leans toward the stocks that move the most.

4. Fill the seats. A current holding keeps its seat if it still ranks in the top 6 and sits no more than 3% below its 20-day average. Any free seats go to the highest scores. The top-6 buffer stops the strategy from selling a stock because it slipped from 4th to 5th. The 20-day rule takes away that buffer from a holding that is starting to break down.

5. Size. Each seat gets 25%. If only two stocks qualify, half the account stays in cash. The strategy trades only when the set of names changes.

Backtest results

The test runs from January 3, 2022 to October 16, 2026 on daily bars. It starts with $10,000 and uses 1× leverage. Each trade pays 0.03% in friction costs.

+610.50%

Annual return

+50.60%

1.70

Max drawdown

24.00%

  • +610% vs +297% for the benchmark over the same period.
  • 62% average exposure. On average, more than a third of the account sat in cash.
  • 7 months fully in cash, including five months of 2022.
  • 32 up months, 19 down months and 7 flat months.
  • Best month: May 2026, +34.5%. Worst month: July 2026, −13.1%.
  • 632 trades. Fees cost about 12% of starting capital, roughly $1,205. Funding was zero in this backtest. Live perpetuals pay or receive funding.
−7.8% +94.8% +95.3% +52.0% +33.1% 2022 2023 2024 2025 2026 YTD
Calendar-year returns, compounded from the monthly results. 2026 runs to October 16.

Why it works

The market switch does the defending. 2022 was a bear market for tech. Most stocks in this pool fell hard, but the strategy lost only 7.8%. The pool spent most of that year below its 50-day averages, so the strategy sat out five months. It also stepped aside in March 2025 and March 2026. A loss you avoid is a loss you never have to win back.

JFMAMJJASOND 20222023202420252026 gain loss in cash stronger color = bigger month
Every month of the backtest. Most of 2022 is pale or dashed, which shows the switch keeping the strategy out of trouble. The deep green cells came when the pool trended hard.

Momentum persists over months. Stocks that led over the past quarter often keep leading while the group trends up. Measuring up to five days ago removes short-term noise, because last week's jump is often partly given back.

Buying dips inside uptrends improves entries. The pullback term picks stocks that pulled back from their highs. The eligibility rules keep the stock above its 50-day average, so the dip has not yet turned into a broken trend.

Volatility is a deliberate bet on big moves. When the market is rising, the most volatile names often gain the most. That bet produced months like +33% in May 2023 and +34% in May 2026. It also produced the −13% in July 2026.

The buffer keeps costs down. Holdings stay in the top 6 rather than the top 4, and trades happen only when the set of names changes. Fees still came to 12% of starting capital, so cutting churn matters.

Be honest about the edges.

  • The pool includes some of the biggest winners of the period. Choosing ten famous names after the fact flatters any long-only strategy.
  • Returns are lumpy. Without its four best months, the total falls from +610% to about +171%. That is still positive, but far less.
  • The backtest ends in a slump. Five straight losing months from June to October 2026 left it about 19% below its end-of-May level.

Ideas to try next

1. Balance risk, not dollars. The score rewards volatility, so the wildest stock in the portfolio can dominate its swings. If you size each seat by inverse volatility, every holding carries a similar amount of risk. This could smooth months like July 2026 without giving up the momentum signal.

2. Turn the switch into a dial. Right now the market filter is all-in or all-out. A breadth dial counts how many of the ten stocks are above their 50-day average and scales the position size to match. The idea is to step back gradually in shaky markets like February or July 2026, instead of all at once.

The recipe is simple: a regime switch, a ranked score and a few seats with a buffer. It works on any group of assets you believe in. Swap in your own pool, change the score weights, and see what your version does.

Built by an AlphaPilot user. Historical backtest results do not predict future returns. Not investment advice.