← Back to Indicators

50W / 200W MA Trend API

Bitcoin's position relative to 50W and 200W moving averages — defines long-term market regime and cycle structure.

Webhook URL
https://api.hunchmachine.com/webhook/indicators?indicator=ma50_ma200_trend&api_key=YOUR_API_KEY

Description

Measures Bitcoin's structural trend strength by comparing its position relative to both the 50-week and 200-week moving averages (MAs). This dual-MA relationship provides one of the clearest definitions of long-term market regime — identifying when Bitcoin is in a confirmed bull market, bear market, or transition phase.

What this endpoint provides

A comprehensive overview of Bitcoin's long-term cycle structure, combining positional data, confirmation flags, and a quantified phase score that helps automations and AI agents understand where the market sits within the broader cycle (e.g., early bull, mature bull, late bear).

Response fields

value

Ratio of 50W MA to 200W MA, expressed as a relative strength index (values >100% = bullish).

btc_close

Latest Bitcoin price (USD).

ma50w_value / ma200w_value

Current values of the 50-week and 200-week moving averages.

weeks_in_regime

Number of consecutive weeks the current structural regime has persisted.

is_confirmed_bull / is_confirmed_bear

Boolean flags signaling confirmed long-term trends; a confirmation triggers after two or more consecutive weekly closes above (bull) or below (bear) both MAs.

market_phase

Descriptive label of the current structural phase (e.g., early_bull, mature_bull, late_bear, recovery).

phase_score

Normalized score (0–1) representing strength or maturity of the current phase.

trend

Simplified classification of directional bias (bullish, bearish, neutral).

momentum_state

Qualitative descriptor of the MA spread's evolution (weak, stable, strong).

interpretation

Natural-language explanation summarizing current structure and phase.

summary

Concise preformatted version of the interpretation.

timestamp

UTC time when the indicator was last updated.

Output example

[
  {
    "indicator": "ma50_ma200_trend",
    "timestamp": "2025-11-01T02:46:21.252Z",
    "value": 100.5,
    "btc_close": 109742.86,
    "ma50w_value": 102631.99,
    "ma200w_value": 54734.24,
    "weeks_in_regime": 107,
    "is_confirmed_bull": true,
    "is_confirmed_bear": false,
    "market_phase": "mature_bull",
    "phase_score": 0.8,
    "trend": "bullish",
    "momentum_state": "strong",
    "interpretation": "BTC is above both 50W and 200W averages — sustained bull expansion phase.",
    "summary": "BTC in a bull regime (mature bull, score 0.8) — BTC is above both 50W and 200W averages — sustained bull expansion phase."
  }
]

Interpretation & Use

The MA50/MA200 structure defines Bitcoin's major market regimes: • **Confirmed Bull** → Price and MA50 above MA200 for ≥ 2 weekly closes — strong expansion. • **Confirmed Bear** → Price and MA50 below MA200 for ≥ 2 weekly closes — deep contraction. • **Crossing zones** indicate transitions between phases (e.g., accumulation or distribution). Use market_phase, phase_score, and the confirmed bull/bear flags to trigger automation logic or provide succinct cycle commentary in dashboards.