Moving average crossover

Moving average crossover

A fast average crossing above a slow one, the oldest trend filter there is, and why it is late by design.

The rule

Two moving averages of the close, a fast one (say 20 bars) and a slow one (say 100). The rule is long while the fast average is above the slow one and out — or short — while it is below. A simpler cousin holds the market only while the price itself is above a single long average.

Why it is late, by design

An average lags the price by about half its length. A crossover therefore buys well after a bottom and sells well after a top: it gives up the beginning and the end of every move to keep the middle. That lag is the price of filtering out noise, not a defect to be optimised away — shortening the averages to react faster brings the noise back.

What it is good at

Staying out of long falls. In markets with deep, lasting declines — and crypto markets have fallen 70 to 90 % more than once — a rule that is merely late on the way down still avoids most of the fall. Much of the value of trend-following lies there: a smaller drawdown than holding, rather than a larger return.

How it fails

  • In sideways markets, the averages cross back and forth: each crossing costs a round trip in fees and spread.
  • The pair of lengths that worked best on the past is a fragile choice: a strategy should keep its edge over a broad range of lengths, not at one sharp peak.

Other strategies

All guides

This page explains a trading idea and how it can be tested. It reports no result and is not investment advice.