A trend filter is a condition that only allows trades in the direction of the underlying trend. The most widely used reference is the daily 200 SMA, about ten months of prices.
Calculation: compare the close with the 200 SMA, sometimes adding its slope. Close 145 and 200 SMA at 150 → the filter is “closed”: no buying. Close 155 → filter “open”: your strategy’s buy signals are allowed.
Reading it: the filter splits the chart into two regimes. Above the long average, you look for buys; below, you stay out (or only take shorts, if the strategy allows). Most heavy losses for buyers happen in the second regime.
In a trading plan, the rule reads “signal AND filter”: the filter creates no trades, it removes some. Plan for the warm-up history: with a daily 200 SMA, no decision is possible before about 200 sessions of data.
Pitfalls: the filter reacts late to recoveries; around the average, price can open and close it several times (a 1 to 2% margin helps); and testing dozens of periods to keep the best one leads to overfitting. Its real benefit is often a smaller drawdown, not a higher return.
Examples
FOND-X (fictional market) : The long-term filter, here an SMA 50 for illustration, blocks buys when the price is below it. You only bet on rebounds when the price moves above the underlying trend.
Mebane Faber’s study (2007) : In 2007, Mebane Faber published “A Quantitative Approach to Tactical Asset Allocation”, which tests a simple rule: stay invested when the price is above its 10-month average, move to cash otherwise. Over the history tested, the rule mainly reduced large drawdowns, for a comparable return.
Key terms
Trend filter
Condition that only allows trades in the underlying direction
SMA 200
Average of the last 200 closes, a long-term reference