Momentum and Trend Following, Simply Explained

By Vikram Patel — Director, Quantitative Research · Published September 12, 2026 · 7 min read

A trend following strategy buys assets whose prices have been rising and sells or avoids assets whose prices have been falling, on the bet that recent direction tends to persist for a while. Momentum is the closely related idea of ranking assets by recent performance and holding the strongest ones. Both are simple to state, easy to automate, and well known for one painful weakness: they lose money when markets chop sideways or reverse suddenly.

This guide explains the two ideas in plain terms, shows how a rule-based bot turns them into trades, and is honest about when they do badly.

Trend following vs momentum: the difference

The two terms are often used as if they mean the same thing. They overlap, but they answer slightly different questions.

Trend following Momentum (relative strength)
Question asked Is this asset going up or down? Which of these assets has gone up the most?
Compares an asset with Its own past prices Other assets in a list
Typical signal Price above or below a long moving average, or a new high Ranking by return over the last few months
Can it go to cash? Yes, when the trend turns down Not by itself; it always picks the "best" of the list
Common pairing Often used alone Often combined with a trend or market filter

Trend following is sometimes called time-series momentum, because it looks at one asset across time. Relative-strength momentum is sometimes called cross-sectional momentum, because it compares assets at one point in time. A lot of real strategies use both: rank a list by strength, then only hold the winners while the broad market is in an uptrend.

If prices reflected all information instantly, past moves would tell you nothing about future ones. Trend followers argue that in practice information spreads gradually and people react in stages. Some common explanations:

  • Slow reaction to news. Investors underreact at first, then catch up over weeks or months.
  • Herding. Rising prices attract attention and buyers, which pushes prices higher for a time.
  • Institutional constraints. Large funds cannot move huge positions in a day, so their buying or selling is spread out.
  • Risk aversion in falls. Selling pressure can feed on itself during sharp declines.

None of these is a law of nature. Trend and momentum effects have been widely documented in academic research over many decades and across many markets, but they come and go, and they can disappear for long stretches.

Humans struggle with trend following because it asks you to buy things that already look expensive and sell things that already look cheap. A bot has no such discomfort. It just applies the rule. Here are three common building blocks.

Moving average filters

A moving average is the average closing price over the last N days. A simple rule: hold the asset when today's price is above its 200-day average, and step aside when it is below. This keeps you in long rises and out of most long falls, at the cost of getting in late and out late.

Breakouts

A breakout rule buys when price moves above a recent range, or sells short when it falls below one. The idea is that a move out of a range is the start of a new trend. Breakouts are the basis of the gold breakout strategy we explain separately.

Ranking by recent return

A momentum rule might rank ten technology stocks by their return over the past several months and hold the top few. Each month the bot re-ranks and swaps out names that have fallen down the list. How often to re-rank is its own trade-off, discussed in weekly rebalancing.

Where trend following goes wrong

Every trend strategy shares the same failure modes. It is worth knowing them before you look at any results.

  1. Whipsaws. In a choppy, sideways market, price crosses back and forth over the trend line. The bot buys, gets stopped out, buys again, and pays costs each time.
  2. Sharp reversals. A crash that happens in days can do a lot of damage before a monthly or even daily rule reacts.
  3. Late entries. By the time a trend is confirmed, part of the move has already happened.
  4. Cost sensitivity. More trading means more commissions, spreads and slippage. A strategy that looks good with zero costs can look ordinary with realistic ones.
  5. Hindsight in the list. If you rank only stocks that you already know became winners, momentum will look brilliant in a backtest. That is a form of survivorship and hindsight bias.

Two examples from AlgolaneBots's strategies

Two of the five AlgolaneBots strategies use trend ideas in different ways. The numbers below are historical backtests: computer tests of the rules on past prices. Nobody earned these returns, and future results will differ.

Big Tech Trend: momentum with a market filter

Big Tech Trend decides on the first trading day of each month whether the market is healthy. In a healthy market it holds the strongest technology stocks and funds. In a weak market it moves toward short-term bonds, gold and defensive sectors. That is relative-strength momentum plus a trend filter.

In a historical backtest from January 2011 to November 2026, it returned +37.3% a year with a worst fall of 29%. Over the same period the S&P 500 (SPY) returned +14.0% a year with a worst fall of 34%, and the Nasdaq 100 (QQQ) +18.3% a year with a worst fall of 35%. Its deepest fall began in June 2026 and had not recovered by the end of the test.

The caveat matters a great deal here: the stock list was chosen with hindsight, and three stocks made 81% of the profit. That is exactly the hindsight problem described above, so treat the headline return with real suspicion.

The market filter is where trend following tends to earn its keep. In the 2022 rate-hike bear market, the backtest fell 13% while the S&P 500 fell 24%, and it was back to its pre-crash value in 2 months against 23 months for the index.

Gold Breakout: breakouts in the direction of the trend

Gold Breakout checks gold every hour. It waits for prices to go quiet, then trades a breakout in the direction of the long-term trend, either buying or selling short. A stop-loss follows the price, which is classic trend-following trade management.

In a historical backtest from June 2004 to November 2026 at 2% risk per trade, it returned +15.1% a year with a worst fall of 41%. Holding gold over the same period returned +11.0% a year with a worst fall of 45%. Its deepest fall ran from May 2018 to October 2019 and took 41 months after the bottom to recover, until March 2023.

Its caveat: doubling trading costs cuts its yearly result roughly in half. That shows how sensitive breakout strategies are to costs, which is the fourth failure mode above in action.

What a trend strategy feels like to run

Backtest summaries hide the experience of living with a trend system. A few things are worth expecting:

  • Many small losses, a few big wins. Trend followers are often wrong. The results depend on letting winners run while losers are cut quickly.
  • Long flat or losing spells. A recovery like Gold Breakout's 41 months is a long time to keep following rules that seem not to work.
  • Looking foolish at turning points. The bot will often still be holding at the top and still be out at the bottom.
  • Relief in long bear markets. A trend filter can reduce damage in slow, grinding declines, though not in every crash.

This is why paper trading a trend strategy for a few months is useful. You see the whipsaws and the waiting, not just the summary line.

Is trend following right for you?

There is no single answer, and we cannot give personal advice. Some general questions to ask yourself:

  • Can you tolerate a strategy being behind a simple index for a year or more?
  • Would you stick with the rules through several small losses in a row?
  • Do you understand what the strategy holds when its trend filter says "risk off"?
  • Have you looked at how it behaved in specific crashes, not just its average?

Our guide on how to choose a trading strategy goes through these questions in more depth.

Key takeaways

  • Trend following asks whether an asset is rising; momentum asks which assets are rising the most. Many strategies combine both.
  • Trends may persist because information spreads slowly and investors herd, but the effect is unreliable and can vanish for years.
  • The main weaknesses are whipsaws in sideways markets, late reactions to sharp crashes, and sensitivity to trading costs.
  • Momentum backtests on hand-picked stock lists are flattered by hindsight; Big Tech Trend's caveat is a direct example.
  • Living with a trend strategy means accepting frequent small losses and long recovery periods.

Nothing in this article is personal financial advice, and trading involves risk of loss. See our risk disclosure.

Watch trend rules work in real time

Reading about trend following is not the same as watching it buy late and sell late with your own eyes. Start a free 90-day paper trial to run Big Tech Trend, Gold Breakout and the other strategies on a $10,000 paper account with real prices and realistic costs. No card is required.

Where the numbers come from: every strategy figure is from AlgolaneBots's own historical backtests, run on past prices with the method on how we test. Nobody earned them, and future results will differ. General market facts are checked against regulator and company sources. This guide is general information, not personal advice. Read the risk disclosure and how we write our guides.

Keep reading

Automated trading basics · 7 min read · Priya Sharma

AI Trading Bots: What They Really Do

What does an AI trading bot really do? Most use fixed rules or machine learning on past prices. Learn the difference, the overfitting risk and what to check.

Automated trading basics · 8 min read · Daniel Kowalski

Algo Trading Explained: How It Works

Algo trading means a computer places trades by rules written in advance. Learn how it works, the main strategy types, the real risks and how to test it.

Automated trading basics · 9 min read · Brian O’Reilly

Best Trading Bot for Stocks: What to Look For

The best trading bot for stocks connects safely to your broker, trades at a clear time around the open and shows honest backtests. Here is what to check.