Extra indicators

ALMA: Arnaud Legoux Moving Average

A smooth moving average whose weights follow a bell curve placed near the newest candles.

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

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

ALMA wants both smoothness and speed. It weights the candles with a Gaussian curve: the offset moves the peak of the curve towards recent candles (faster), the sigma sets how wide it is (smoother).

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

For N candles, give candle k the weight e^(−(k − m)² ÷ (2s²)) with m = offset × (N − 1) and s = N ÷ sigma, then take the weighted average of the closes.

m = offset × (N − 1),  s = N ÷ sigma
w(k) = exp(−(k − m)² ÷ (2 s²)),  k = 0 … N−1 (oldest to newest)
ALMA = Σ w(k) × close(k) ÷ Σ w(k)

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

  • As a trend line that reacts quickly without zig-zagging.
  • Defaults 9 / 0.85 / 6 are the author's suggestion.

Выводы

  • Offset closer to 1 = faster, closer to 0 = smoother. Higher sigma = sharper weighting.

Пример

BTCUSD H4: ALMA(9) follows the swings closely and stays smooth; the price closing back below it after a rally is an early sign of a pause.

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

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

  • Like every moving average it confirms trends, it does not forecast them.

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

Developed by Arnaud Legoux and Dimitrios Kouzis-Loukas in 2009.

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