Playbooks

BTC Trend Filter: 90-Day Momentum and the 200-Day Average

Published

This strategy asks one question at every daily close: is Bitcoin in a confirmed uptrend? If the answer is yes, it holds a full long position in a BTC perpetual. If the answer is no, it holds cash. Two independent trend measures must agree before it takes any risk, and either one alone is enough to step aside.

Tested on daily bars from 2020-08-19 to 2026-09-17 at 1x leverage, it turned $10,000 into $70,241, a total return of 602.4%, with only 57 trades over roughly six years.

How the strategy works

The strategy reads two numbers from daily closing prices:

  • 90-day momentum: today's close divided by the close 90 days earlier, minus one. A positive value means price is higher than it was a quarter ago.
  • 200-day moving average: the simple average of the last 200 closes. A close above it means price trades above its long-run level.

The position is a simple switch between fully long and flat:

wt={1if CtCt−90−1>0 and Ct>1200∑i=0199Ct−i0otherwisew_t = \begin{cases} 1 & \text{if } \dfrac{C_t}{C_{t-90}} - 1 \gt 0 \ \text{and}\ C_t \gt \dfrac{1}{200}\sum_{i=0}^{199} C_{t-i} \\ 0 & \text{otherwise} \end{cases}

Here w is the share of equity held long and C is the daily close. The rule runs on every bar. There is no stop-loss, no profit target, no short side and no position scaling. A trade ends only when one of the two entry conditions fails on a daily close.

LONG 100%Confirmed uptrendCASHPullback inside an uptrendCASHRebound below the long averageCASHDowntrendClose above200-day MAClose at or below200-day MA90-day momentum ≤ 090-day momentum > 0Checked on every daily close. Only one of four states carries risk.
Figure 1. The two filters split the market into four states. The strategy is long in one of them and in cash in the other three.

The two filters look at different things. Momentum compares today with a single day 90 days back, so it reacts within weeks after a sharp move. The 200-day average blends the last seven months of prices and turns slowly. Each one covers a weakness of the other:

  • A sharp rebound inside a downtrend can turn 90-day momentum positive while price is still below the 200-day average. The strategy waits.
  • A correction inside an uptrend can turn momentum negative while price still holds above the average. The strategy steps aside, and buys back once momentum recovers.
Price- - 200-day MA90-day momentumzero lineenter longexit to cashholding: both filters agree
Figure 2. Illustrative price path, not BTC data. Shaded periods are where momentum is above zero and price is above its 200-day average. Entries and exits happen at the daily close where that agreement starts or ends. The cluster of short trades in the middle is whipsaw near the decision boundary.

Backtest results

+602.41%

Annual return

+37.76%

1.01

Max drawdown

48.36%

The strategy compounded at 37.8% per year with a Sharpe ratio of 1.01. The path was not smooth: the largest peak-to-trough fall in equity was 48.4%.

MeasureValue
Instrument and barBTC perpetual, daily
Period2020-08-19 to 2026-09-17
Leverage1x, long or flat
Capital$10,000 to $70,241
Total return602.4%
Annual return37.8%
Sharpe ratio1.01
Max drawdown48.4%
Trades57
Win rate35.7%
Profit/loss ratio3.99
Average daily turnover2.57%
Funding return0.0%

Three things stand out. First, activity is low: 57 trades in about six years is fewer than 10 per year, and average daily turnover is only 2.57% of equity. Second, most trades lose: the win rate is 35.7%. Third, the profit/loss ratio of 3.99 shows that the winners are much larger than the losers, which is what carries the result.

Why it works

Trend-following rests on one observation: large moves in an asset tend to unfold over months, not days. A rule that joins a move late and leaves it late still captures its middle, and the middle is where most of the gain is.

Agreement across two horizons. The strategy only carries risk when a medium-term measure and a long-term measure point the same way. That removes many false starts. A one-filter version would buy every rebound that lifts 90-day momentum, or would stay long through every correction that holds above the 200-day line.

Cut losers, keep winners. When a new trend fails, the next close that breaks a filter ends the trade, so the loss is usually small. When a trend persists, nothing in the rules takes profit. This creates the payoff shape in Figure 3: frequent small losses, rare large gains.

5 winners of 14: the 35.7% win-rate profileLosers: trend fails soon after entry, exit on the next close that breaks a filterWinners: held for as long as both filters stay true, no profit targetSchematic. Bar order and sizes are illustrative, not actual trades.
Figure 3. Schematic of the payoff shape behind a 35.7% win rate and a 3.99 profit/loss ratio. A few long holds pay for many short, failed entries.

Cash, not shorts. In a downtrend the strategy is flat. It does not need to predict a bottom or pay to hold a short through rebounds. It simply waits for both filters to turn up again.

What it costs

  • Deep drawdowns remain. A 48.4% maximum drawdown is the price of holding a full position with no stop. After a long advance the 200-day average can sit far below price, so a large part of the gain can be given back before an exit is triggered.
  • Whipsaw. Near the decision boundary, price can cross the filters several times in a few weeks. Each crossing is a small loss plus trading cost.
  • Lag. Both measures confirm a trend only after it has already moved. The first part of every advance is missed by design.
  • Funding is not included. A long perpetual position pays or receives funding while it is open. This backtest records a funding return of 0, so live results will differ by the funding paid during holding periods.

Ideas to improve it

Scale the position by volatility

The biggest weakness is the 48.4% drawdown. Keeping the same entry and exit rules but holding less BTC when daily volatility is high targets the periods where a full position hurts most. This version sizes each day to a 40% annualized volatility target, capped at 1x.

Add a faster exit

A third filter, the close relative to its 50-day average, would end trades sooner after a trend breaks. It could reduce the give-back at the end of long holds, at the cost of more trades and more whipsaw.

Built by an AlphaPilot user. Historical backtest results do not predict future returns. Not investment advice.