Playbooks

TrendChop: Chop-Filtered Crypto Trend Following, +311% Backtest

Published

Trend following is simple: buy what is rising and short what is falling. Its weak spot is the sideways market, where every crossover is a fake-out. An AlphaPilot user built TrendChop to handle that weak spot. It trades BTC, ETH and SOL perpetuals on daily bars, long and short. Before it takes any new trade, it checks one thing: is this market actually going somewhere?

How the strategy works

Each day the strategy computes four numbers for each coin:

  • Fast average: the 14-day mean of the close.
  • Slow average: the 40-day mean of the close.
  • Volatility: the standard deviation of daily returns over 20 days.
  • Efficiency ratio (ER): the 30-day net price move divided by the total distance price travelled to get there.

The trend signal needs two conditions to agree. The signal is long when the fast average is above the slow average and the price is above the slow average. The signal is short in the mirror case. Anything else is neutral. The signal then feeds a short list of rules:

Each day, for each coin LONG signal: fast > slow and close > slow SHORT signal: fast < slow and close < slow Otherwise: NEUTRAL If… …then Signal turns to a new side and ER ≥ 0.12 (trending) Enter or reverse sized by volatility Signal turns to a new side but ER < 0.12 (choppy) Stay or go flat wait for a cleaner trend Signal neutral and close is back across the slow avg Exit to flat the trend is over Signal matches the position Hold no resizing, let it run
The rules TrendChop applies to each coin every day. The chop filter only affects new entries and reversals. It never forces an exit.

The chop filter: efficiency ratio

The efficiency ratio compares how far price got with how far it walked. A value of 1 means a straight line. A value near 0 means price moved a lot and went nowhere.

ERt=∣Pt−Pt−30∣∑i=029∣Pt−i−Pt−i−1∣\text{ER}_t = \frac{\left|P_t - P_{t-30}\right|}{\sum_{i=0}^{29} \left|P_{t-i} - P_{t-i-1}\right|}
Trending Choppy ER ≈ 0.86 trades allowed ER ≈ 0.10 new trades blocked
Illustration, not market data. The dashed line is the net move. The solid line is the path price took. When the path is much longer than the net move, crossovers are mostly noise.

Position sizing

Each new position starts at one third of equity. It is scaled down when the coin is more volatile than 3.5% per day:

w=s⋅13⋅min⁡ ⁣(1, 0.035σ20),s∈{−1,+1}w = s \cdot \frac{1}{3} \cdot \min\!\left(1,\ \frac{0.035}{\sigma_{20}}\right), \qquad s \in \{-1, +1\}

A coin moving 2.5% a day gets the full 33%. A coin moving 5% a day gets about 23%. This keeps SOL's bigger swings from dominating the portfolio. Open positions are never resized, so a winning trade grows its share of the account. Total gross exposure is capped at 100%, and leverage is 1×.

Backtest results

The test ran from June 2023 to October 2026 on daily bars, starting with $10,000. It included 0.03% friction per trade and real funding payments.

+311.34%

Annual return

+51.84%

1.17

Max drawdown

34.89%

Benchmark return+214.8%
Strategy return+311.3%
Average long exposure41.8% of equity
Average short exposure27.2% of equity
Trades269
Trading fees−5.5%
Funding payments−73.9%

The returns came in bursts. Compounded from the monthly figures, the yearly results were:

PeriodReturn
2023 (Jun–Dec)+114.2%
2024+6.8%
2025+62.1%
2026 (to Oct 18)+10.9%

Why it works

1. A few big months pay for many small losses

Only 20 of the 41 months were profitable. That is fewer than half. The strategy still more than quadrupled the account, because its winning months were much bigger than its losing months.

6 red months +30% +20% +10% 0 −10% 2023 2024 2025 2026
Monthly returns from June 2023 to October 2026. The best months were Dec 2023 (+34.6%) and Nov 2024 (+34.4%). The shaded stretch is April–September 2024: six losing months, about −28% compounded.
Up months (20) +15.6% Down months (21) −6.5% Average monthly return. Winners are about 2.4× the size of losers.
This is the shape that makes trend following work. Losing trades are closed as soon as price crosses back through the 40-day average. Winning trades are held, and they are never trimmed.

2. Crypto trends are real and they last

Crypto rallies are driven by inflows, leverage and momentum chasing, so they tend to run for weeks rather than days. The two-condition signal waits until both the averages and the price agree before it acts. It caught the late-2023 run (+114% in seven months) and the late-2024 and early-2025 legs. Because the strategy can also short, it is not tied to a bull market. On average it was only about 15% net long, yet it finished almost 100 percentage points ahead of the benchmark.

3. The filter and the sizing cut the worst damage

The ER filter stops the strategy from flipping long-to-short-to-long in a range. When a reversal arrives in a choppy market, it simply steps aside. Volatility sizing gives the calm coin a full stake and the wild coin a smaller one, so one coin's bad week does not sink the portfolio.

Where it struggles

Chop still gets through. Mid-2024 brought six straight losing months, and the maximum drawdown reached 34.9%. Funding is the bigger hidden cost: −73.9% in return terms, compared with only −5.5% in trading fees. The strategy holds trends for weeks, and longs on crypto perps usually pay funding during rallies, which is exactly when this strategy is long. Both weaknesses are good places to start improving it.

Ideas to try next

1. A stricter chop filter

For a pure random walk, a 30-day efficiency ratio averages roughly 1/√30 ≈ 0.18. The current threshold of 0.12 is below that, so it only blocks the very messiest markets. Raising it to 0.25 would require a trend to be clearly cleaner than noise before the strategy enters. This could cut the mid-2024 whipsaws. The cost could be later entries into real trends.

2. Make longs funding-aware

Funding cost about 13 times more than trading fees. When funding is high, longs are crowded and expensive to hold. A simple rule could cut that drag: halve the size of new longs whenever a coin's recent funding rate is high. The strategy keeps its exposure to big trends but pays less to hold it.

Build your own

TrendChop takes an old idea, the moving-average crossover, and adds one honest question: is the market trending or just noisy? You can do the same with any strategy you like. Find the conditions where it fails, measure them, and step aside when they appear. Describe your version to AlphaPilot and see what the backtest says.

These are backtest results on historical data. They include fees and funding but not slippage beyond the modelled friction. Past performance does not guarantee future results.

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