Трендовые индикаторы

MESA Adaptive Moving Average (MAMA)

A moving average that speeds up when the market's cycle turns quickly and slows down in steady trends, with a slower companion (FAMA).

2 мин чтения · Попробовать на живом графике ↗

Идея простыми словами

John Ehlers measures the phase of the dominant cycle with a Hilbert transform. When the phase changes fast (a turn), the average follows the price closely; when it changes slowly, it smooths a lot. Crossings of MAMA and FAMA are cleaner than those of fixed averages.

Как считается

The median price is smoothed, its cycle phase measured; α = fast limit ÷ phase change, kept between the slow and fast limits.

Phase = arctan(Q1 ÷ I1)   (Hilbert transform of the smoothed median price)
ΔPhase = Phase previous − Phase (at least 1°)
α = max(slow limit, fast limit ÷ ΔPhase)
MAMA = α × price + (1 − α) × MAMA previous
FAMA = 0.5α × MAMA + (1 − 0.5α) × FAMA previous
Defaults: fast limit 0.5, slow limit 0.05

Как использовать

  • MAMA crossing above FAMA: an up signal; below: down.
  • The gap between the two shows how strong the trend is.

Выводы

  • In a sideways market the two lines run flat and close together, with few crossings.

Пример

On gold D1 MAMA crosses above FAMA after a two-week dip and both turn up: the trend has resumed. The lines stay apart for the next month.

Цены в примерах приведены для иллюстрации.

На что обратить внимание

  • The first 50 candles are a warm-up and are not drawn.
  • Sharp one-candle spikes can make MAMA jump.

Немного истории

Published by John Ehlers in "MESA Adaptive Moving Averages" (Stocks & Commodities, 2001).

Только образовательный материал. Ни один индикатор или паттерн не предсказывает будущее, и ничто здесь не является инвестиционной рекомендацией.