Backtesting Arena

Backtesting Arena

30D SMA > Max Pain master

30D SMA > Max Pain Strategy

Use Bitcoin options market structure as a directional filter — if the 30-day BTC average sits above the Max Pain price, the trend is bullish.

Quick Facts

Type:
Sentiment · Trend Following
Plan:
Pro
Asset Classes:
Crypto
Indicators:
SMA · Max Pain

Platform Backtest

Not enough data yet (0/5 backtests).

How It Works

The Max Pain price is a concept from options markets: the strike price at which the total losses for all option holders (calls + puts combined) are maximized. In other words, it's the price at which the most options expire worthless. Options market makers and large players have a directional incentive to push the spot price toward Max Pain by expiry — at least in theory.

This strategy uses Max Pain as a directional anchor for spot Bitcoin. Specifically:

Buy signal: when the 30-day SMA of BTC closes is above the Max Pain price → market is structurally above the equilibrium — bullish bias.

Sell signal: when the 30-day SMA falls below Max Pain → market is below equilibrium — bearish bias.

The smoothed 30-day average filters out daily noise and catches sustained shifts. This is a slow strategy — typically 2–4 trades per year on BTC daily — but each signal carries directional weight from the broader options market.

Important: Max Pain is recalculated daily from Deribit options data. The platform stores daily snapshots; backtest history starts when those snapshots began (the earliest reliable date depends on the snapshot table). The strategy needs at least 30 stored snapshots before producing the first signal.

Crypto-only, BTC-only: Max Pain is computed from Deribit's BTC options market. Other assets don't have comparable options liquidity for this analysis.

Entry & Exit Rules

Entry

  • 30-day SMA of BTC closes is above Max Pain
  • Position is currently flat

Exit

  • 30-day SMA falls below Max Pain
  • Position is currently long

Parameters

NameDefaultRangeDescription
SMA Period30790Days for the BTC closing-price SMA. Default 30 captures a typical option-cycle window.

Live Backtest

The pre-baked mini-backtest is refreshed daily — check back soon or start a live run in the Arena.

Run in Arena →

Pseudo-Code

expand
// Compute SMA of BTC closes
btc_sma_30 = SMA(btc_close, sma_period)

// Get latest Max Pain from snapshot table
max_pain = lookup_snapshot(date, 'BTC')

// Entry
if btc_sma_30 > max_pain:
  if position.is_flat:
    BUY

// Exit
if btc_sma_30 < max_pain:
  if position.is_long:
    SELL

Strengths & Weaknesses

Strengths

  • Uses derivatives market structure as a signal — orthogonal to most price-only strategies
  • Slow and deliberate — few trades, each meaningful
  • Captures the gravitational pull options markets exert on spot
  • Combines well with technical strategies in a portfolio

Weaknesses

  • BTC-only — not transferable to other assets
  • Backtest history is limited by when snapshot collection started
  • Max Pain assumption (markets gravitate toward strike) is contested theory
  • 30-day SMA is slow — late at the actual trend turn

Frequently Asked Questions

Is the Max Pain theory actually true?

It's contested. Academic studies are mixed — there's evidence of pin risk near major option expiries, but a structural "gravity" toward Max Pain is not universally accepted. The strategy doesn't depend on the theory being true; it depends on the *correlation* between the 30-day SMA / Max Pain relationship and BTC's directional trend, which is empirically observable.

Why only BTC, why not ETH?

Deribit BTC options have the deepest liquidity in crypto, making Max Pain calculations meaningful. ETH options are growing but the smaller market size makes the signal noisier. We may add ETH later if liquidity continues to grow.

How far back does the backtest go?

Backtest history is limited to the period for which we have stored daily Max Pain snapshots. The platform started collecting these systematically; check the strategy's date range when you run a backtest — the start date will be capped to the earliest available snapshot.

Related Strategies

Don't want to backtest yourself?

Check out our Strategy Insights Reports — pre-baked deep-dives with historical results, comparisons, and market context.

📊 View Reports →

Ready to backtest?

Open the Arena →