Skip to content

← On-chain Bitcoin

Difficulty Ribbon Compression

Measures how compressed the difficulty ribbon is (8 SMAs converging). Values near 1.0 indicate maximum compression (miner capitulation); near 0 indicates healthy expansion.

Tier freeOn-chain Bitcoinminingdifficultyribbonbottom-signalaccumulation

What is it?

The Difficulty Ribbon, created by Willy Woo, is based on 8 simple moving averages of mining difficulty (9, 14, 25, 40, 60, 90, 128, and 200 days). Trinity displays a Compression Score (the gold curve in the foreground) measuring from 0 to 1 the relative spread between these MAs: close to 1 = ribbon compressed (miners capitulating), close to 0 = ribbon wide (miners healthy). The 8 underlying MAs are visible in the background as a semi-transparent ghost ribbon, providing historical spread context without cluttering the reading. BTC price in white on a right-side log axis completes the cycle context.

How to read

Focus on the gold curve (Compression Score). A score rising toward 1 marks compression of difficulty MAs - inefficient miners are shutting down. A score falling back toward 0 indicates healthy re-expansion. The ghost shadow in the background shows the actual spread of the 8 MAs: when the bands visually tighten, the score rises. Crossing the high zone (> 0.8) followed by a return below 0.5 has historically marked the end of miner capitulation.

Key zones

Maximum Difficulty Ribbon compression (all MAs convergent, shorter below longer) has coincided with the 2012, 2015, late 2018, and late 2022 troughs. The normalised compression index (ratio of current width to historical maximum width) provides a more precise quantitative reading.

What to observe

The timing of ribbon re-expansion is the most actionable indication. Compression alone indicates miner stress but not its end. It is when shorter MAs begin crossing back above longer ones that capitulation is ending. Compression duration is also informative - 3+ month compressions are most significant.

Historical context

The Difficulty Ribbon showed significant compressions at each bear market end. The 2022 compression (June-December) was one of the longest, reflecting the combination of post-Luna/FTX price decline and rising energy costs. The early 2023 re-expansion correctly identified the market's inflection point.

Expert notes

The Difficulty Ribbon is a structural indicator, not an oscillator. Its reading is binary (compressed/expanded) rather than graded. For finer quantification, the Difficulty Ribbon Compression score (normalised compression measure relative to historical extremes) offers more granularity. Combining with Hash Ribbons (same logic applied to estimated hash rate) improves reliability.

Common mistakes to avoid

Difficulty Ribbon compression does not mean price has bottomed - it marks miner capitulation, which is a necessary but not sufficient condition for a market trough. Price can continue falling after initial compression. Re-expansion is the resolution reading, not compression itself.

Programmatic access

REST API

curl -sS \
  'https://api.trinityinsights.io/api/v1/onchain/difficulty-ribbon/history?days=90' \
  -H 'X-API-Key: $TRINITY_API_KEY'

MCP server

{
  "tool": "get_chart_value",
  "metric_id": "difficulty-ribbon",
  "timeframe": "1y"
}

Required tier: free. See the pricing grid for the tier list and the MCP documentation for multi-client configuration.

Related metrics

Institutional disclaimer

Trinity Insights is an educational and analytical tool. The metric above does not constitute investment advice. Trinity Insights is not a Crypto-Asset Service Provider (CASP) registered under MiCA Regulation (EU) 2023/1114. See the full disclaimer.