Lessons

Trend following: is the trend really your friend?

Trend following means buying what has been going up and avoiding what has been going down, on the idea that a trend tends to continue. We tested two common versions on every trading day in the 35 free stocks on HitBull. When the price was above its 200-day average, it was higher 60 trading days later 60% of the time. When it was below, it was higher 56% of the time. The bigger difference was in the losses: a fall of more than 10% in the next 60 days came 17% of the time above the average and 22% below it.

Two ways to measure a trend

The first is the 200-day moving average: the mean of the last 200 daily closes, about ten months of trading (see moving averages). A close above it means the price is higher than its average over that time, which traders read as an uptrend. A close below it reads as a downtrend.

The second is momentum: the change in price over the past 12 months. If a stock is higher than a year ago, its trend is up. Both are simple on purpose. They don't predict anything. They only say which way the price has been going and leave the rest to the claim that it will keep going that way.

Riding a long trend

NVDA, January 13, 2023

20304050Dec 22Feb 23Apr 23Jun 23Aug 23Oct 23Closed above the average, January 13, 2023
NVDA close200-day average

NVDA closed above its 200-day average on January 13, 2023. The two measures disagreed that day: the stock was still 40% below where it had been a year before. It stayed above its average for 509 trading days, until January 24, 2025, and rose 744% over that stretch. The chart shows the first part of it. This is what trend followers hope for: one long move that pays for many small losses.

Replay NVDA from Dec 2022

Caught when a trend broke

SPY, February 27, 2020

200250300Nov 19Jan 20Mar 20May 20Jul 20Closed below the average, February 27, 2020
SPY close200-day average

SPY, the fund that tracks the S&P 500, was in a clear uptrend at its high on February 19, 2020. By the first close below its 200-day average it had already fallen 12%. The fall went on to the low on March 23, 2020, another 25%, so selling on the signal did avoid most of the crash. But the first close back above the average came on May 26, 2020, 1% above where the rule had sold, so for all that it ended up a little behind someone who simply held. The average was too slow for a fall that fast, and too slow again for the recovery.

Replay SPY from Jan 2020

A long fall it sat out

QQQ, April 5, 2022

250300350Feb 22Apr 22Jun 22Aug 22Oct 22Dec 22Closed below the average, April 5, 2022
QQQ close200-day average

QQQ, the Nasdaq-100 fund, closed below its 200-day average in April 2022 and stayed below it for 203 trading days, until January 25, 2023. Over that stretch it fell 20%. A trend follower stayed out for most of the year. That is the case for the method: not more gains, but fewer long losses.

Replay QQQ from Mar 2022

When there is no trend

MSFT, March 7, 2011

1819202122Feb 11Apr 11Jun 11Aug 11Oct 11Dec 11Closed below the average, March 7, 2011
MSFT close200-day average

In 2011 MSFT moved sideways around its average. From March 7, 2011 to December 30, 2011 the close crossed the 200-day line 28 times. Each cross is a buy or a sell for someone following the rule, and each one costs a little on the way in and out. Over the whole stretch the price changed +3%. Trend following loses money slowly in markets like this and makes it back, if at all, in the long trends.

Replay MSFT from Feb 2011

What 228,127 trading days say

Here is every trading day in the 35 free stocks on HitBull, after the first year of each, split by where the trend stood. “Higher” means the close was above the close on that day. The last column is how often the price was more than 10% lower 60 trading days later.

DaysHigher 60 days laterHigher a year laterMedian change after a yearDown over 10% in 60 days
Above the 200-day average140,26360%66%+10%17%
Below the 200-day average87,86456%62%+9%22%
Up over the past year147,08560%65%+10%17%
Down over the past year80,73557%63%+9%22%
Above the average and up over the year120,80760%66%+10%16%
Below the average and down over the year61,41455%62%+9%24%
Any trading day228,12758%64%+10%19%

The trend helped, a little. Days in an uptrend by both measures were followed by a higher price a year later 66% of the time, against 62% for days in a downtrend by both. The median change after a year was +10% against +9%. Those are gaps of a few points, not the difference between winning and losing.

The clearer effect is on the bad stretches. Below the average and down over the year, the price fell more than 10% in the next 60 days 24% of the time, against 16% in an uptrend. Downtrends are where the sharp falls happen. Even so, these stocks recovered more often than not, which is why the median a year later was still positive. The golden cross lesson tests a related signal, the 50-day average crossing the 200-day.

These are 35 well-known stocks, funds and currency pairs still trading today, most of which rose over the years, so even their downtrends were usually followed by gains. On stocks that failed, the picture would differ. Prices are adjusted for splits and dividends. Past prices don't promise future ones, and this is a simulator, not investment advice.

Practise following a trend

The replay buttons open HitBull a month before each moment, with a 200-day average on the chart. Play on Daily candles and set yourself one rule, such as holding only while the price is above the line. Then see how it feels to sit through a sideways year like MSFT's, or to sell after a fall has already happened.

The hard part of trend following is not the rule. It is sticking with it through the small losses while waiting for the long trend that may or may not come.

Questions

Does trend following work?

A little, on HitBull's 35 free stocks. When the price was above its 200-day average and up over the past year, it was higher a year later 66% of the time, against 62% when it was below the average and down over the year. Falls of more than 10% in the next 60 days were less common in uptrends.

What does "the trend is your friend" mean?

That a price which has been rising tends to keep rising, and one which has been falling tends to keep falling, so traders should trade in the direction of the trend rather than against it.

Is the 200-day moving average a good indicator?

It shows the trend, late. On these stocks a close above it was followed by a fall of more than 10% within 60 trading days 17% of the time, against 22% for a close below it. It turns slowly, so in a fast crash like SPY's in 2020 it signals after much of the fall.