MESA Adaptive Moving Average (MAMA)
Adapts its smoothing to the dominant market cycle measured by a Hilbert transform: it hugs price during trends and freezes in congestion. MAMA crossing above its following average (FAMA) signals bullish pressure, crossing below signals bearish pressure.
Live Demo
Pick a market regime to see how MAMA(33) reacts:
Usage
import {} from 'trading-signals';
// MAMA yields results once 33 inputs have been added
const = new ();