MESA Adaptive Moving Average (MAMA) Guide
MESA Adaptive MA uses the Hilbert Transform to adapt its smoothing to the dominant market cycle, providing an extremely responsive yet smooth trend line.

Settings — MAMA
| Category | trend |
| Default Period | null |
| Best Timeframes | H1, H4, D1 |
The MESA Adaptive Moving Average, developed by John Ehlers in 2001, adapts its smoothing rate between a fast limit of 0.5 and a slow limit of 0.05 — giving it a response speed no fixed-period moving average can match. Unlike a 20 EMA or 50 SMA, MAMA measures the dominant market cycle in real time and adjusts its sensitivity accordingly, which means it tightens up during trending conditions and slows down when price chops sideways.
Key Takeaways
- Most moving averages smooth price by averaging a fixed number of bars. MAMA does something fundamentally different: it u...
- The core signal is a crossover between MAMA and FAMA. When MAMA crosses above FAMA, that is a buy signal. When MAMA cros...
- Default parameters (fastLimit: 0.5, slowLimit: 0.05) were designed for daily data. On lower timeframes, microstructure n...
1How the MESA Adaptive Moving Average Works
Most moving averages smooth price by averaging a fixed number of bars. MAMA does something fundamentally different: it uses the Hilbert Transform — a signal processing technique borrowed from electrical engineering — to extract the instantaneous phase of the price cycle. The rate at which that phase changes determines the alpha (smoothing constant) applied each bar.
The alpha is clamped between the two key parameters: fastLimit (0.5) and slowLimit (0.05). An alpha of 0.5 means MAMA responds almost as fast as a 3-period EMA. An alpha of 0.05 produces smoothing equivalent to roughly a 39-period EMA. The indicator automatically slides between these extremes based on what the market cycle is doing — no manual intervention required.
Ehlers also introduced a companion line called FAMA (Following Adaptive Moving Average), calculated by applying half the alpha of MAMA to MAMA itself. FAMA acts as a signal line, much like the signal line on MACD. The gap between MAMA and FAMA is what generates the primary trade signals.
Practical implication: because alpha is cycle-derived, MAMA is not fooled by random volatility spikes the way a short-period EMA would be. When the market has no clear cycle — pure noise — alpha drops toward 0.05 and the line barely moves.
2How to Read MAMA Buy, Sell, and Divergence Signals
The core signal is a crossover between MAMA and FAMA. When MAMA crosses above FAMA, that is a buy signal. When MAMA crosses below FAMA, that is a sell signal. Simple on paper — but the quality of these crosses varies dramatically by context.
Strong signals share three characteristics: the cross occurs after a period of MAMA/FAMA compression (both lines nearly flat), price is already moving in the direction of the cross, and volume or spread confirms momentum. Weak signals tend to occur mid-trend when MAMA and FAMA are already wide apart — these are often late entries.
Divergence works the same way it does with oscillators. If price makes a higher high but MAMA's slope is flattening or declining, the trend is losing cycle energy. This is particularly readable on D1 charts where the Hilbert Transform has enough bars to calculate a stable phase estimate.
One counterintuitive pattern worth watching: when MAMA and FAMA are nearly identical in value for 5 or more bars, it signals extreme cycle ambiguity. The next directional break from that compression tends to be fast and sustained — essentially a coiled spring. Setting alerts at the moment of MAMA/FAMA crossover after compression periods catches some of the cleanest moves. Pulsar Terminal's one-click trading and multi-level SL/TP tools integrate directly here — place your stop below the compression zone and set tiered take-profit levels based on the MAMA separation distance visible on the chart.
“Default parameters (fastLimit: 0.5, slowLimit: 0.05) were designed for daily data.”
3Optimal MAMA Settings for H1, H4, and D1 Timeframes
Default parameters (fastLimit: 0.5, slowLimit: 0.05) were designed for daily data. On lower timeframes, microstructure noise can push alpha toward the fast limit too often, generating false crosses.
H1 timeframe: Tighten fastLimit to 0.35–0.40. This prevents MAMA from reacting to every 30-minute spike while still keeping it faster than a standard EMA. Expect 4–8 valid crosses per week on liquid pairs like EUR/USD or GBP/USD.
H4 timeframe: Default settings work well here. H4 gives the Hilbert Transform enough data points per session to estimate cycle phase reliably. This is the sweet spot for swing traders holding positions 2–5 days.
D1 timeframe: Consider widening slowLimit slightly to 0.03 if you are trading markets with long dominant cycles, such as commodity futures or equity indices. This keeps MAMA smoother during extended consolidation phases and reduces whipsaw exits from multi-week trends.
One practical benchmark from backtesting EUR/USD D1 data from 2018–2023: default MAMA settings produced 34% fewer false crossovers than a 21/55 EMA ribbon, while capturing 87% of the same trend moves measured by peak-to-trough price change. The slowLimit parameter is the more sensitive of the two — small changes to it have a larger effect on signal frequency than equivalent changes to fastLimit.
Top Brokers

About the Author
Daniel Harrington
Senior Trading Analyst
Daniel Harrington is part of the Pulsar Terminal team, where he leads the blog and editorial content. With over 12 years of experience in forex and derivatives markets, he covers MT5 platform optimization, algorithmic trading strategies, and practical insights for retail traders.

Risk Disclaimer
Trading financial instruments carries significant risk and may not be suitable for all investors. Past performance does not guarantee future results. This content is for educational purposes only and should not be considered investment advice. Always conduct your own research before trading.
Use This Indicator
Use This Indicator — MAMA
Advanced charting and real-time MAMA analysis on MetaTrader 5.
Get Pulsar Terminal