The idea in one line: the strategy watches ten big tech stocks. When the group trends up, it rides the four strongest. When the group stalls, it moves to cash. When the group breaks down, it places a small short on the weakest names.
An AlphaPilot user built this strategy on daily bars of ten tech perpetuals: NVDA, AAPL, MSFT, GOOGL, AMZN, META, TSLA, AMD, AVGO and PLTR. The backtest runs from January 2022 to October 2026. That period covers a full tech bear market, the AI rally and several sharp pullbacks.
How it works
Each day the strategy answers two questions. First, is the whole group trending? Second, which stocks lead and which lag?
Step 1: Read the regime
The strategy measures how far each of the ten stocks trades above or below its own 100-day moving average. It then averages those ten numbers into one value, mkt:
A positive mkt means the typical stock sits above its trend. A mkt below −3% means the group is clearly breaking down. The range between 0 and −3% is a neutral zone.
Step 2: Rank the ten stocks
The strategy gives every stock a score that blends two kinds of strength:
- 6-month momentum (60% weight). This is the price change from 125 trading days ago to 5 days ago. The strategy skips the most recent week on purpose.
- Distance from the 60-day high (40% weight). This is today's close divided by the highest close of the last 60 days. Stocks that are breaking out score near 1.
The strategy turns each part into a percentile rank across the ten stocks before it blends them. This way, neither part can dominate the score.
Step 3: Trade
- Risk-on: the strategy takes the four highest scores. It keeps a stock only if that stock has positive 6-month momentum and trades above its 50-day average. Each pick gets 25% of equity.
- Neutral: the strategy closes everything.
- Risk-off: the strategy takes the three lowest scores. It shorts a stock only if that stock has negative momentum and trades below its 50-day average. Each short gets −10%, so the short book is at most 30% of equity.
The strategy rebalances every day with no leverage. The backtest charges 0.03% friction per trade.
Backtest results
+203.89%
Annual return
+25.92%
1.07
Max drawdown
18.96%
| Starting capital | $10,000 |
| Ending value | ≈ $30,400 |
| Buy-and-hold benchmark | +266.2% |
| Positive months | 33 of 58 (57%) |
| Best month | May 2023, +24.4% |
| Worst month | Jan 2022, −9.4% |
| Average long exposure | 60% |
| Average short exposure | 7% |
| Trades | 1,503 |
| Fees paid | ≈ 14% of starting capital |
A fair reading: buy-and-hold made more money in total (+266% vs +204%). The strategy earned about three quarters of that gain while it held, on average, only 60% of its capital in stocks. Its worst peak-to-trough loss was 19%. In 2022, a hard year for big tech, it lost 12.6%. Its gains came in 2023 and 2024, when a few leaders pulled far ahead of the rest.
Why it works
1. Leaders tend to keep leading
Momentum is one of the most persistent patterns in stock returns. Investors often react slowly to good news, so winners keep winning for months. The effect was strong in this universe, because one theme, AI, drove a handful of names much further than the others. The score kept the portfolio in those names and dropped the laggards automatically.
2. Two windows see more than one
Six-month momentum alone reacts slowly. The 60-day-high part helps a newly strong stock enter the top four earlier, and it pushes a fading leader out sooner. Skipping the latest week removes noise from short-term reversals, which often follow sharp moves.
3. Absolute checks block "the best of a bad bunch"
A pure ranking always buys something. Here a top-ranked stock must also be rising over six months and trading above its 50-day average. When only two stocks qualify, the strategy holds two and keeps the rest in cash. This is one reason the average long exposure was 60%, not 100%.
4. Tech stocks move as a pack, so the regime check matters
These ten stocks share investors, themes and interest-rate sensitivity. When most of them fall below trend, even the "best" stock usually falls too. The group-level mkt check catches these periods and moves the portfolio to cash.
5. The short side is small on purpose
Big tech has a strong upward drift, and short squeezes in these names can be violent. The strategy therefore shorts only in clear breakdowns, uses at most 30% of equity and requires each short to be below trend. On average it held just 7% short. The short side does not add much return. Its job is to cushion bear markets.
Where it struggles
Momentum loses money when the leaders reverse together. August to October 2023 cost −8.9%, −8.3% and −2.1%. June to August 2026 cost −8.4%, −5.5% and −1.6%. In both stretches the group stayed above trend while the top names fell, so the regime check did not fire. Costs are the other weak spot: daily rebalancing produced 1,503 trades, and fees took about 14% of the starting capital.
Ideas to improve it
1. Trade less: weekly rebalancing with a buffer
Fees are the clearest leak. This version rebalances only on Mondays. It also keeps a holding while that stock stays in the top six, instead of selling it as soon as it slips out of the top four. Most momentum signals change slowly, so the strategy may keep most of its edge with far fewer trades.
2. Size by risk, not by count
The current version gives TSLA, PLTR or AMD the same 25% as MSFT or AAPL, even though they swing far more. This version weights each pick by the inverse of its recent volatility. Each name then adds roughly equal risk, which could soften losses when a volatile leader reverses.
Make it your own
This strategy has three parts: a group-level trend switch, a blended strength score and per-stock trend checks. You can reuse that structure almost anywhere. Try it on crypto majors, energy names or a sector of your choice. You can also change the windows or the size of the neutral zone. Describe your version to AlphaPilot and see how it holds up.