Indicators
MESA Adaptive Moving Average (MAMA) Indicator Explained
How John Ehlers' MESA Adaptive Moving Average tunes itself to the market's dominant cycle, and how to automate MAMA in Setup.Cash.
Featured image placeholder
/og/setup-cash-og.svg
John Ehlers' MESA Adaptive Moving Average (MAMA) uses the Hilbert Transform to measure the market's dominant cycle in real time, then adapts its smoothing to that cycle. Instead of you choosing a period, the market effectively chooses it.
How It Works
- A Hilbert Transform estimates the current dominant cycle length from price itself.
- The average speeds up when the phase advances quickly (trending) and slows in cyclic chop.
- It's typically paired with its follower line FAMA; the engine exposes the adaptive value for conditions.
How to Trade It
Trade price crossing MAMA for adaptive trend entries, or use its direction as a regime gate that self-tunes to each market. Because the adaptation is cycle-based, MAMA behaves consistently across timeframes without re-optimizing lengths.
Building It in Setup.Cash
Add MESA Adaptive Moving Average (MAMA) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. Ehlers' Super Smoother Filter is the companion noise filter. For the full category overview, see the advanced trend library guide.
Trend tools reward patience: pick one, pair it with a volatility or regime filter, and backtest before trading it live.
Related Posts
View allIndicators
Arnaud Legoux Moving Average (ALMA) Indicator Explained
How the ALMA uses Gaussian weighting to stay smooth and responsive at once, and how to automate it in Setup.Cash.
2 min read · 237 words
Indicators
Fibonacci Weighted Moving Average (FWMA) Indicator Explained
How the FWMA weights recent price by Fibonacci numbers, and how to automate the Fibonacci weighted average in Setup.Cash.
2 min read · 202 words
Indicators
Holt-Winters Moving Average (HWMA) Indicator Explained
How the Holt-Winters Moving Average applies forecasting-model smoothing with level, trend, and seasonality terms in Setup.Cash.
2 min read · 204 words
Indicators
Jurik Moving Average (JMA) Indicator Explained
What makes the Jurik Moving Average exceptionally smooth with low lag, and how to use JMA in automated strategies in Setup.Cash.
2 min read · 214 words
Start here
Build your trading bot workflow with structure
Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.