Rules and systems
Trend following: how a trend following strategy works
Written by
Founder & CEO
Amaltash Research
Amaltash Advisors LLC
Reviewed by
Arpit AgarwalCharvi AgarwalThe Amaltash Team
Updated · Published
The short answer. Trend following is a rule-based strategy that holds an asset while its price trend is up and steps aside when it turns down, using signals such as a 200-day moving average or a 12-month return. Its main cost is whipsaw: false signals that sell low and buy back higher.
How much gain does a loss need to recover?
Leave blank to skip. No return is assumed for you.
- Gain needed to get back to even
- +42.9%
Hypothetical illustration based on your inputs. Not a prediction, a recommendation, or the performance of any Amaltash strategy.
Turn this into a rule
Hold SPY while it closes above its 200-day moving average. If it closes below, move to T-Bills, and buy back after it closes above the average again.Write a trend rule
Opens the Strategy Builder with this rule filled in. It starts building after a 3-second countdown; type to stop it. Nothing trades until you deploy.
What is trend following?
Trend following is a family of rules that ask one question about price: is it going up or down over a chosen window? If up, you hold. If down, you step aside, usually to cash or Treasury bills (short-term loans to the US government); professional versions may also bet on a fall. The rule does not predict: it reacts to what the price has already done.
Big funds run trend rules across dozens of futures markets at once, an approach called managed futures. Individual investors who use trend rules often use something simpler: one rule on one stock index fund, to stay in during uptrends and step aside for part of a long drop.
Researchers have found trend patterns in many markets over long periods (see time-series momentum, below). The same research shows long stretches when trend rules fell behind. A pattern in the past is no promise it will keep going.
Whipsaw: the cost you will pay
Whipsaw happens when the price crosses your signal line and then crosses right back. You sell, the market bounces, and you buy back higher than you sold. In a sideways market, this can happen several times a year.
Each whipsaw costs a little. You lose the gap between your sell and buy prices, you may pay trading costs, and in a taxable account you may owe tax on gains. Together, these are a main reason a trend rule can trail just holding on in choppy years.
Trend rules are also late on purpose. They sell after a drop has started and buy after a bounce has started, so they never catch the top or the bottom.
Fast markets are the hardest case. The S&P 500 fell 33.9% in 33 days, from its Feb 19, 2020 record close to Mar 23, 2020, and closed back at that record on Aug 18, 2020. A rule that is late by design can sell after much of a fall that fast, then buy back after much of the rebound. The 2020 S&P 500 drawdown page has the full dates.
How does a trend following strategy work? Four common rules
Most trend rules start from a moving average: the average of the last set number of closing prices, updated every day. A 200-day moving average adds the newest close and drops the oldest, so it moves slowly and smooths out daily noise.
These are common, published rule shapes. Each fits in one sentence. The numbers, like 200 days or 12 months, are habits, not tuned settings: change them and you change how often the rule trades and how much whipsaw it suffers.
Common trend rules and their main weakness. This describes how they work; it does not compare their results.
| Rule | In plain English | Main weakness |
|---|---|---|
| Moving-average filter | Hold while the price closes above its 200-day average. Move to T-Bills on a close below it. | Lots of in-and-out trades when the price hugs the average. |
| Moving-average crossover | Hold while the 50-day average is above the 200-day average. Sell when it crosses below. | Slower to react, so it gives back more before selling. |
| Breakout | Buy on a new 12-month high. Sell on a new 6-month low. | Long waits between signals. A false breakout can reverse at once. |
| Absolute momentum | Once a month, hold the fund if it beat T-Bills over the last 12 months. If not, hold T-Bills. | A fast crash between monthly checks can hit you before the rule acts. |
What is time-series momentum?
Time-series momentum is the research name for trend following: an asset’s own past return decides whether to hold it. Ordinary momentum investing is different. It ranks assets against each other and buys the recent leaders.
Moskowitz, Ooi and Pedersen studied 58 liquid futures and forward markets: stock indexes, currencies, commodities and government bonds (Journal of Financial Economics, 2012). They found time-series momentum in each of the 58. A market’s past 12-month return was a positive predictor of its next return. The effect lasted about a year, then partly reversed.
Hurst, Ooi and Pedersen extended the test in “A Century of Evidence on Trend-Following Investing” (Journal of Portfolio Management, 2017). They simulated a trend strategy from 1880 to 2016, in as many as 67 markets, mixing 1-, 3- and 12-month signals. They note its hardest stretches came with sharp reversals across many markets, or long periods without clear trends.
Two cautions. Both studies model professional futures portfolios that go long and short, not a single filter on a stock fund. And their results are simulations that no account traded; past patterns may not continue.
What is a trend following ETF?
A trend following ETF is a fund that runs trend rules for you. Many are managed futures funds: they trade futures on stocks, bonds, currencies and commodities, and they can bet on prices going up or down.
That is very different from one 200-day rule on one stock fund. These funds can go up when stocks fall, or fall when stocks go up, and they often charge higher fees than a plain index fund. Read a fund’s prospectus, the legal guide every fund publishes, before you invest. Amaltash does not recommend any fund.
Trading a trend following strategy vs investing with one
Traders use trend following to catch moves, often with short windows of days or weeks. They may also bet on prices falling. Short windows mean more signals, more trades and more whipsaw.
For a long-term investor, a trend rule is a drawdown tool, not a return engine. It works like a slow stop-loss rule: it sells after a fall has started, never before. The case for it is behavior: a written rule decides for you when you might freeze or panic. The case against it is cost: whipsaw, taxes and the risk of missing a fast bounce.
One middle path is to use a trend rule only on your riskier money, such as a single stock or a theme, and leave your broad, spread-out core alone. The calculator on this page shows the gain you need to get back to even after a drop. That is the problem a trend rule tries to shrink.
How to make a trend rule easier to stick with
Many people quit a trend rule after a few whipsaws, not after a crash. A few choices cut the noise. Each one also makes the rule slower to sell.
- Check less often. A weekly or monthly check gives fewer false signals, but a later exit.
- Add a buffer. Sell only if the price closes 2% or 3% below the average, not just below it.
- Move part, not all. Move half on a signal: a whipsaw costs half as much, but you also stay in for half of a real drop.
- Hold Treasury bills while you are out. That money still earns short-term interest.
- Write the buy-back rule now. Without one, you may sit in cash for too long.
How Amaltash fits
On Amaltash, you can write a trend rule in plain English, read it back and test it on past data. You can then turn it on with a max drawdown guardrail, which aims to sell once your portfolio falls a set amount from its high.
A guardrail aims to limit a loss. It does not stop every loss: prices can jump past any line, so a sale can happen lower than the limit. Read what a guardrail actually stops.
Risks and limits
- Whipsaw: false signals in a sideways market sell low and buy back higher, again and again.
- Trend rules are late by design. They can miss a fast bounce while you are out.
- Each sale can mean taxes and trading costs.
- Patterns found in past research may not continue.
- Investing involves risk, including the loss of the money you put in.
Frequently asked questions
Does trend following work?
Research has found trend patterns in many markets over long periods, and also long stretches when trend rules fell behind. Those results are simulations, and past patterns may not continue. Results depend a lot on costs and the exact rule.
Can a trend rule lose money?
Yes. Whipsaw, late exits, trading costs and taxes can all produce losses, and a trend rule can trail simply holding the asset for long stretches.
How are trend trades taxed?
In a taxable account, each exit is a sale that can realize a gain. Under IRS rules, a gain on an asset held one year or less is short-term and taxed as ordinary income. A rule that trades often can hold positions for less than a year.
How do you build a simple trend following system?
Pick one asset, one signal, how often to check it, an exit rule, a re-entry rule and where the money waits while out. Then backtest it, knowing the result is hypothetical, and paper trade it before using real money.
Is a trend rule the same as market timing?
It is a rules-based kind of market timing that reacts to past prices instead of forecasting. Like any timing, it can be out of the market during a fast rebound.
Sources
- Hurst, Ooi and Pedersen: A Century of Evidence on Trend-Following Investing, Journal of Portfolio Management (Fall 2017), via AQR
- Moskowitz, Ooi and Pedersen (2012): Time Series Momentum, Journal of Financial Economics
- AQR: Demystifying Managed Futures
- IRS Topic No. 409, Capital gains and losses
- Amaltash index drawdown dataset (CSV, CC-BY 4.0)
Educational content published by Amaltash Advisors LLC. Nothing here is investment advice or a recommendation to buy or sell any security. All investing involves risk of loss, including loss of principal, and past performance does not guarantee future results.