Playbooks

Triple-MA Trend on BTC and ETH With a Funding Filter: +188% Backtest

Published

This strategy trades only when three trends agree. Every day it checks Bitcoin and Ether against their 30, 60 and 120-day moving averages. If price sits above all three, it goes long. If price sits below all three, it goes short. If the averages disagree, it stays out.

Two extra rules sit on top of that. A funding filter keeps the strategy out of crowded trades. Volatility sizing makes positions smaller when markets get wild.

The backtest ran from April 2023 to November 2026 and turned $10,000 into about $28,800.

How it works

The strategy trades BTC-USDC-PERP and ETH-USDC-PERP on daily bars. It runs the same four steps for each coin every day.

  1. Trend check. It compares the daily close with the 30, 60 and 120-day simple moving averages. Each average adds +1 if price is above it and −1 if price is below it.
  2. Funding check. It takes the average funding rate of the last 3 days and converts it to a yearly rate. Longs are allowed only if this rate is 40% a year or less. Shorts are allowed only if it is 0% or more, which means shorts are being paid.
  3. Sizing. Each position is 15% divided by the coin's annualized volatility over the last 30 days, capped at 100% of equity. That is a 30% yearly volatility target, split across the two coins.
  4. Rebalance. The strategy trades back to these target weights every day.

The trend score is the sum of the three checks:

score=∑n∈{30, 60, 120}sign⁡(P−MAn)\text{score} = \sum_{n \in \{30,\,60,\,120\}} \operatorname{sign}\left(P - \mathrm{MA}_n\right)

Only a score of +3 or −3 can open a trade. The funding rate is annualized from its 3-day average:

f=8760×funding‾3df = 8760 \times \overline{\text{funding}}_{3\text{d}}

The position weight is the direction (+1, 0 or −1) times a volatility-based size:

w=d×min⁡(0.15σ30365, 1)w = d \times \min\left(\frac{0.15}{\sigma_{30}\sqrt{365}},\ 1\right)

Here σ30 is the standard deviation of daily returns over the last 30 days.

Daily close vs its 30, 60 and 120-day moving averages Above all 3 Mixed Below all 3 Funding ≤ 40% a year? Funding ≥ 0% a year? yes no yes no LONG FLAT weight 0 SHORT Size = 15% ÷ 30-day annualized volatility capped at 100% of equity per coin Rebalance to target weights every day
The daily decision for each coin. A trade needs all three trends to agree and funding to pass the filter.

The table below lists every case:

TrendFunding (yearly)Position
Above all 3 averages40% or lessLong
Above all 3 averagesAbove 40%Flat
Below all 3 averages0% or moreShort
Below all 3 averagesBelow 0%Flat
MixedAnyFlat
capped at 100% when volatility ≤ 15% 50% volatility → 30% weight 75% → 20% 100% 50% 0% 0% 50% 100% 150% Annualized volatility of the coin
Position size per coin as a share of equity. The wilder the coin, the smaller the bet.

Backtest results

The test ran on daily bars from 1 April 2023 to 18 November 2026. It started with $10,000 and used a 0.03% trading fee. Funding payments are included.

+187.97%

Annual return

+33.74%

1.51

Max drawdown

16.00%

Total return+188.0%
Benchmark return+56.3%
Annual return33.7%
Sharpe ratio1.51
Maximum drawdown16.0%
Average long exposure17.9% of equity
Average short exposure16.1% of equity
Trades1,465
Fees paid−7.2%
Funding paid−13.6%
Liquidations0

The strategy returned more than three times the benchmark. On average it held only about a third of its equity in positions.

Every calendar year was positive:

  • about +37% in 2023 (April to December)
  • +32% in 2024
  • +13% in 2025
  • +41% in 2026 (January to mid-November)
+20% +10% 0% −10% +27.5% Feb 2024 2023 2024 2025 2026
Monthly returns, April 2023 to November 2026. Losing months are small and frequent. Winning months are fewer than you might expect, but much larger.

Why it works

1. Crypto trends tend to last

Big crypto moves rarely happen in one day. New money arrives slowly, leverage builds up, and forced liquidations push price further in the same direction. A trend follower does not need to predict a move. It only needs to be on board while the move lasts.

Requiring all three averages to agree is a strict test. The trend must show up over one, two and four months at once. That filters out much of the choppy, sideways action where simple trend systems lose money.

The cost is that the strategy enters late and exits late. It gives up the start and the end of every move. Its worst months were September 2025 (−7.6%), July 2026 (−6.4%) and October 2026 (−5.8%).

2. Small losses, big wins

Only 23 of the 44 months were positive. That is about a coin flip. The edge comes from the size of the wins:

Avg winning month 23 months +7.7% Avg losing month 20 months −3.0%
The average winning month was about 2.6 times the size of the average losing month.

This pattern is typical of trend following. When the trends disagree, the strategy goes flat, which keeps losses small. When a strong trend runs, it rides the whole move. Months like February 2024 (+27.5%) and June 2026 (+20.7%) paid for many small losses.

3. It makes money in both directions

Buy-and-hold only earns when prices rise. This strategy also shorts confirmed downtrends. On average its short exposure (16.1%) was almost as large as its long exposure (17.9%). That helps explain how it beat the benchmark by a wide margin.

4. The funding filter avoids crowded trades

Funding shows which side is crowded. Very high positive funding means many traders hold leveraged longs and pay heavily to keep them. Those markets are fragile, and a small dip can trigger a cascade of liquidations. Skipping longs above 40% a year keeps the strategy out of the most overheated phases.

Shorts are only taken when funding is zero or positive, so the short side gets paid instead of paying. Negative funding often means shorts are crowded, which is the setup for a short squeeze.

The filter does not remove funding costs. Longs can still pay up to 40% a year, and net funding still cost 13.6% over the test. This is the clearest place to improve.

5. Volatility sizing keeps risk steady

Volatility clusters: wild days tend to follow wild days. Sizing by recent volatility cuts positions when markets turn violent and adds size in calm, steady trends.

Each coin aims for about the same level of risk every day. The maximum drawdown was 16%, which is very low for a strategy that trades only BTC and ETH. There were no liquidations.

Ideas to improve it

Rebalance less often to cut fees

The strategy trades back to its exact target every day. That produced 1,465 trades and fees worth 7.2%. Most daily adjustments are tiny, because volatility moves slowly.

A no-trade band would leave a position alone until it drifts well away from its target. The original code already has an unused switch for this.

Tighten the funding filter for longs

Funding cost 13.6% over the test, mostly from longs held while funding was high. Lowering the long cap from 40% to 20% a year would skip the most expensive and most crowded uptrends.

The trade-off is real. Some of the best months came during hot bull markets, so a tighter cap could also cut winners. The backtest will show which effect is bigger.

Both ideas are starting points. Swap the moving average lengths, add more coins or try a different volatility target. Then test your own version.

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