📰 Latest: HaasOnline Academy Is Back — Structured Education for Smarter Trade Bots
Account
Technical Indicator

Mesa Adaptive Moving Average

The Mesa Adaptive Moving Average (MAMA) is an advanced technical indicator developed by John Ehlers that uses the Hilbert Transform to create a moving average that dynamically adapts its smoothing speed based on the current rate of change of the market's dominant cycle. Unlike traditional moving averages with fixed lookback periods, MAMA continuously adjusts its sensitivity — moving faster when the market is trending and slowing down when the market is cycling or ranging. The indicator produces two outputs: the MAMA line itself and a slower companion called the FAMA (Following Adaptive Moving Average), which responds to the MAMA in a manner similar to a signal line.

The primary trading signal generated by MAMA is the crossover between the MAMA and FAMA lines. A bullish signal occurs when MAMA crosses above FAMA, while a bearish signal is generated when MAMA crosses below FAMA. Because MAMA is adaptive, these crossovers occur at moments when the indicator itself determines the cycle is turning — making them more timely and less prone to lag than traditional moving average crossovers. The separation between MAMA and FAMA also provides information: wide separation indicates a strong trend, while the lines converging suggests the trend is losing momentum.

For algorithmic crypto traders, MAMA offers a significant advantage over fixed-parameter moving averages because the cryptocurrency market alternates between distinct regimes with dramatically different cycle characteristics. A 20-period EMA that works well during a fast-moving bull run becomes sluggish and unreliable during a slow accumulation phase. MAMA's ability to automatically recalibrate eliminates the need to manually optimize and re-optimize moving average periods as market conditions change, making it a strong candidate for the core trend-detection component of adaptive, self-adjusting trading bots.