MAMA is short for MESA Adaptive Moving Average, and it comes with a partner line called FAMA, the Following Adaptive Moving Average. John Ehlers built the pair around a Hilbert transform that tries to measure how fast the phase of the dominant cycle is changing. When the phase is moving quickly, the average speeds up. When it slows down, the average slows too. In the usual settings the smoothing factor is allowed to move between a fast limit of 0.5 and a slow limit of 0.05.
FAMA is MAMA smoothed again with half of the same factor, so it trails behind. The crossover of the two is the signal most people use, and the idea is that the adaptive speed gives fewer crosses in a steady trend and quicker crosses when the market turns.
The part worth thinking about on a five-minute chart is the phase measurement itself. A Hilbert transform needs a reasonably clean cycle to give a stable reading. Intraday forex has session effects, news spikes and long flat stretches, so the measured phase can jump around. When that happens MAMA can step almost straight to price for a bar or two, which looks like a staircase on the chart rather than a smooth curve.
A fair way to judge it is to put MAMA/FAMA crosses next to a plain pair of EMAs tuned to give roughly the same number of crosses over the same period. If the adaptive pair only matches the simple pair after costs, the extra machinery is not paying for itself. If it cuts the number of losing crosses in quiet hours without giving away much of the trend moves, that is a real gain.
Has anyone compared the two on EURUSD or GBPUSD across different sessions? I'm curious whether the staircase effect shows up mostly in Asia, when the cycle reading has the least to work with.
MAMA and FAMA: Ehlers' adaptive average pair, and whether the phase measurement holds up on M5
-
Shadow Trader
- Posts: 6144
- Joined: Wed Sep 09, 2026 5:19 pm