Brian Shannon has traded for more than 30 years. He wrote Technical Analysis Using Multiple Timeframes, and his Alphatrends channel teaches swing traders to respect the short-term trend. One of his most repeated rules fits in a YouTube Short: don't buy the dip while the price is below a declining 5-day moving average, and wait for a clear break above a rising one before you get in. He explains the idea at more length in Trading With the 5 Day Moving Average. The logic is that the 5-day line shows who's in control this week, and buying while it points down is fighting the trend.
It's a filter, not a full system, so I tested it as one: does the state the rule tells you to avoid really lead to a worse week than the state it tells you to wait for?
How I tested it
Markets: SPY and QQQ, plus ten large stocks: AAPL, MSFT, AMZN, GOOGL, META, NVDA, TSLA, JPM, XOM and JNJ. Daily prices with dividends, January 2006 to November 2026.
Four states each day, from the close and the 5-day simple moving average (SMA):
1. Below the SMA, and the SMA falling: Shannon's "don't buy" state.
2. Below the SMA, SMA rising.
3. Above the SMA, SMA falling.
4. Above the SMA, and the SMA rising: his "OK to buy" state.
Test 1: the average return over the next five trading days, from each state.
Test 2: a simple rule. Hold the market only on days after it closes above a rising 5-day SMA, otherwise hold cash earning nothing. Costs 0.02% per trade. Compared with buying and holding.
I wrote these rules down before running anything and didn't tune them.
What I found
The "don't buy" state was followed by the best week. On SPY, after a close below a falling 5-day SMA, the next five days returned +0.52% on average and were up 62.7% of the time (1,643 days). After a close above a rising 5-day SMA, the next five days returned +0.09% and were up 58.2% of the time (2,644 days). QQQ showed the same pattern: +0.61% against +0.19%.
It held for individual stocks too. Across the ten stocks, the "don't buy" state was followed by +0.63% over five days (17,470 stock-days) against +0.39% for the "OK to buy" state (22,771 stock-days). That's the opposite of what the rule assumes, though the gap is smaller than on the index funds.
As a timing rule, it gave up almost all of the return. Holding SPY only above a rising 5-day SMA kept it in the market about half the time, with 631 round trips. It made −0.4% a year against +10.7% for holding SPY. On QQQ it made 2.5% a year against 15.0%. It beat buy-and-hold in only three of 21 calendar years on each, and it lost to buy-and-hold on all ten stocks. It cut the worst drop on SPY (42.5% against 55.2%), but QQQ fell almost as far either way (50.8% against 53.4%).
The reason is how short-term moves in big, liquid markets behave. Over a few days they tend to partly reverse rather than continue. A week of selling that drags the 5-day line down is, on average, followed by a bounce, and a rule that waits for the line to turn up again buys back after the bounce has started.
Since COVID, and since 2022
Since 2020: on SPY, the "don't buy" state was followed by +0.59% over five days against +0.18% for "OK to buy". On QQQ: +0.67% against +0.26%. The timing rule made 2.6% a year on SPY against 13.9%, and 8.3% on QQQ against 17.9%.
Since 2022: on SPY, +0.43% against +0.13%; on QQQ, +0.54% against +0.17%. On the ten stocks the "don't buy" state again beat "OK to buy" (+0.51% against +0.34%). The timing rule made 1.2% a year on SPY against 10.2%, and 6.0% on QQQ against 10.7%.
The rule's best case is QQQ since 2022. Its worst drop was half of buy-and-hold's (17.7% against 34.8%), and its return per unit of risk was close (0.51 against 0.55). That's the one window where the trade-off was nearly even.
Caveats
This tests the filter alone, not Shannon's full method. He combines the 5-day line with longer timeframes, anchored VWAP, stock stages, position sizing and stops. A trader using all of that may get more out of the filter than this test shows.
The rule may fit fast-moving stocks better than broad markets. I tested ten of the largest U.S. stocks and two index funds. Small, momentum-driven stocks behave differently, and I didn't test them.
The five-day windows overlap, so neighboring days aren't independent and the counts overstate how many separate observations there are. The direction is the same in every market and every window, which matters more than the exact size.
Costs are low (0.02% per trade) and the out-of-market leg earns nothing. Interest on cash would help the timing rule a little in 2023–2026.
The ten stocks are today's large companies, a list chosen with hindsight.
Ticker reuse: checked. SPY and QQQ have traded continuously as the same funds. META is Facebook's history under its 2022 name, and GOOGL is Alphabet's Class A line; none of the twelve tickers was reused by another company.
So what
The 5-day rule sounds like caution: don't step in front of a falling short-term trend. But in SPY, QQQ and ten big stocks over 20 years, the falling 5-day line was followed by the strongest week, not the weakest. As a stand-alone timing filter it cut drawdowns on SPY and gave up nearly all of the return. Whatever edge Shannon's traders get, it comes from the rest of his process, not from waiting for the 5-day line to turn up.
— Ben
Not investment advice. Backtests with assumed costs; past performance doesn't predict future returns.
