The MESA Adaptive Moving Average (MAMA) is a technical indicator developed by John F. Ehlers to smooth out price action in financial markets. The MAMA is calculated using a complex formula that takes into account the phase and frequency of the market, as well as the volatility of the price. The MAMA adjusts the weight given to each price based on these factors, which helps it to follow the market trend better.