This strategy trades one market: the Micron (MU) perpetual, using daily bars. It buys only when MU is in a clear uptrend. It holds cash the rest of the time. The idea is simple. Micron makes memory chips, and memory prices rise and fall in long cycles. The strategy tries to ride the upswings and sit out the slumps.
The test ran from June 2021 to October 2026 with $10,000 of starting capital and no leverage. It turned $10,000 into about $73,300. Most of that gain arrived in the last 15 months. The sections below show where the gains came from.
How it works
Each day, after the close, the strategy checks a few numbers. It uses four inputs:
- 50-day average: the average close over the last 50 days.
- 100-day average: the average close over the last 100 days.
- 30-day high: the highest close in the last 30 days.
- 60-day momentum: the percent change in price over the last 60 days.
Enter with 100% of capital when all three conditions hold:
- The price closes above its 100-day average.
- The 50-day average is above the 100-day average.
- The price has risen more than 5% in 60 days.
Exit to cash when either condition hits:
- The price closes below its 100-day average. The trend has broken.
- The price closes 20% or more below its 30-day high. This is the trailing stop.
The two exits do different jobs. The 100-day average catches slow fades. The 20% trailing stop catches sharp reversals at the top. Without it, the strategy could give back a large share of a gain before price returned to a lagging average.
Backtest results
+633.47%
Annual return
+44.85%
1.07
Max drawdown
48.30%
| Buy-and-hold MU, same period | +1,006.6% |
| Strategy | +633.5% |
| Average time invested | 52.8% |
| Trades | 78 (about 39 round trips) |
| Fees paid | 8.5% of starting capital |
| Funding cost | 0% |
A few results matter more than the headline number:
- The gains are concentrated. From June 2021 to mid-2025, the account roughly broke even. At the end of 2024 it stood near $9,700. Nearly all the profit came from the memory rally that began in August 2025.
- Buy-and-hold made more. Holding MU the whole time returned about 1,007%. The strategy made 633% while invested only about half the time. It lagged because it entered after each rally had started and gave back part of each move before it exited.
- The drawdown is large. The maximum drawdown was 48.3%. Single months fell by more than 20%, such as December 2024 and March 2026. The stop is checked on daily closes, so a fast drop can carry price well past the 20% line before the exit fills.
Why it works
Memory chips are a commodity-like business. When demand runs ahead of supply, DRAM and NAND prices climb for quarters at a time. When new factory capacity comes online, prices slide for quarters too. Micron's stock tends to move in these same long swings, and long swings are exactly what a trend filter is built for.
The grid below shows each month of the test. Grey outlines are months the strategy spent fully in cash.
The grid shows three behaviors:
- It steps aside in slumps. MU fell through most of 2022. The strategy took three losing months early in the year, then stayed in cash from April to December. It also spent most of the 2024–25 pullback in cash. Avoiding those losses kept the account intact for the next upswing.
- It pays a price in choppy markets. In 2023, MU drifted around its averages, and the strategy kept entering and exiting. It was invested all twelve months and still lost 2.7%. These are the whipsaws that every trend strategy suffers.
- It stays in big trends. From September 2025, memory demand surged, helped by AI servers that use large amounts of high-bandwidth memory. The strategy was long for most of that run. Five months gained more than 30% each. A 20% trailing stop is loose enough to hold through normal swings in a stock that volatile, so the strategy kept its full position while the trend lasted.
The result is lopsided by design. Many small losses and flat periods pay for a few very large gains. That works only if you keep following the rules through the dull years, and here that meant about four years of near-zero progress.
Costs stayed small. Fees took about 8.5% of starting capital across roughly 39 round trips, and funding cost nothing in this test. Because the strategy trades only a few times a year, its edge is not eaten by fees.
What to watch
- One stock, one cycle. The result depends heavily on the 2025–26 memory boom. Without that rally, the strategy would have roughly broken even.
- Full size, every trade. Each entry uses 100% of capital, whatever the volatility. This is why single months can drop more than 20% and the drawdown reached 48%.
- Daily-close exits. The stop is checked only once a day. Gaps and fast drops can push the actual exit well past the 20% line.
Ideas to improve it
1. Size positions by volatility
The worst months came when MU was moving most violently. Volatility targeting cuts the position when daily swings widen and restores it when they calm down. The goal is a smaller drawdown with most of the trend still captured.
2. Require a rising 100-day average
The 2023 whipsaws happened while MU's long-term average was flat. Requiring the 100-day average to be higher than it was 20 days ago keeps the strategy out of sideways markets, so it should take fewer losing round trips.
Build your own
This strategy uses a few averages, one momentum check and a trailing stop. It works best on assets that move in long cycles. Many other markets do too, such as commodities, cyclical stocks and crypto. Pick one, describe your entry and exit rules in plain words, and backtest them.