3 min · 654 words · Updated MAY 6, 2026
Technicals · Long-form

MESA Adaptive Moving Average (MAMA)

The Phase-Shifting Trend Hunter That Dances to the Market's Real Rhythm Learn the formula, key examples, and how investors use it in practice.

mesa adaptive moving average (mama) — editorial hero illustration
The 90-second answer
There is nothing new on Wall Street or in stock speculation. What has happened in the past will happen again and again.
Jesse Livermore
Legendary Stock Trader · Reminiscences of a Stock Operator · 1923

Traditional MAs use a fixed length (e.g., 20-SMA) and lag badly when market rhythm changes. MAMA, created by DSP legend John Ehlers, listens to the market’s dominant cycle in real time (measured with a Hilbert Transform) and dials the smoothing factor up or down automatically:

  • Fast alpha when price starts trending → minimal lag.

  • Slow alpha when price chops sideways → heavier smoothing, fewer whipsaws.

Key Inputs & Controls

ParameterDefaultRole
FastLimit0.5Upper bound for α (max responsiveness)
SlowLimit0.05Lower bound for α (max smoothing)
SourceClosePrice fed into the Hilbert cycle detector

(Unlike EMA length, these limits constrain a continuously-variable α instead of a pre-set period.)

How MAMA Is Calculated — 30-Second Geek Peek

  1. Pre-smooth price with a small EMA to cut raw noise.

  2. Hilbert Transform → extracts in-phase (I) & quadrature (Q) components.

  3. Instantaneous Phase (Φ) → atan(Q / I); phase change ⇒ dominant cycle.

  4. Adaptive Period = 360 ° / average phase advance.

  5. Adaptive α = 2 / (Period + 1), clamped between FastLimit & SlowLimit.

  6. MAMA<sub>t</sub> = α·Price<sub>t</sub> + (1 − α)·MAMA<sub>t–1</sub>.

  7. FAMA = a delayed copy of MAMA using α ⁄ 2.

The MAMA vs. FAMA cross is the built-in signal engine.

Interpreting the Lines

SignalMeaningPlaybook
MAMA crosses ↑ FAMAUp-trend ignitionEnter longs; trail below MAMA
MAMA crosses ↓ FAMADown-trend ignitionFlip short / exit longs
Wide gap between linesStrong, persistent momentumRide trend; pyramid positions
Lines hug & flattenLow-volatility chopStand aside or use mean-reversion

Because α shrinks in flat markets, MAMA often “goes horizontal” before many other MAs, warning you to throttle back.

Tactical Tweaks

ObjectiveTweakEffect
Catch micro breakoutsRaise FastLimit toward 0.8Snappier turns, more noise
Filter whipsawsLower FastLimit to 0.35Smoother, later signals
Macro swing tradesPush SlowLimit down to 0.02Extra lag, sturdy trend line
Vol-spike assets (crypto)Feed HL2 or Heikin-Ashi closePre-smooths crazy wicks

Popular Strategy Frameworks

  • MAMA/FAMA Crossover

Classic trend-following; add volume or higher-TF filter to boost reliability.

  • MAMA Pullback Entry
  • Trend confirmed by MAMA > FAMA.

  • Wait for price to tag (or slightly pierce) MAMA.

  • Enter in trend direction; stop beyond recent swing.

  • Volatility Band Break
  • Wrap ATR bands around MAMA.

  • Trade breakouts from consolidations only when MAMA slope aligns with the break.

Strengths & Watch-Outs

StrengthsLimitations
Self-tuning — no manual period tweakingMath is heavy; DIY coding must be precise
Far less lag in fresh trends vs. SMA/EMAStill lags very sharp gaps
Built-in FAMA signal line — no extra indicator requiredCan “flat-line” during protracted low-volatility, delaying re-entry
Adaptivity works on any timeframe/assetUnstable on illiquid data (missing ticks distort phase)

Implementation Checklist

  1. Keep default limits first — 0.5 / 0.05 handle most instruments.

  2. Back-test crossover & pullback tactics on representative volatility periods.

  3. Layer context — higher-TF MAMA slope, key support/resistance, volume confirmation.

  4. Automate alerts — MAMA/FAMA cross, slope flip, price touch of MAMA in trend.

  5. Monitor performance quarterly — widen limits if signals come late; tighten if whip-heavy.

Bottom Line

MESA Adaptive Moving Average is like a smart guitar pedal that listens to the tempo and auto-adjusts its effects: it stays smooth in quiet passages, then cranks the gain when the market’s solo takes off. Master its phase-based engine, and you’ll track trends with minimal lag and maximum confidence. Plug in, let MAMA set the groove, and trade to the market’s true rhythm!

Q · 01
What is Mesa Adaptive Moving Average Mama Phase Shifting Trend Hunter?
A · TL;DR
Mesa Adaptive Moving Average Mama Phase Shifting Trend Hunter is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.
Q · 01What is Mesa Adaptive Moving Average Mama Phase Shifting Trend Hunter?+
Mesa Adaptive Moving Average Mama Phase Shifting Trend Hunter is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.