StratBase.aiStratBase.ai
DashboardCreate BacktestMy BacktestsCatalogBlogNewsToolsHelp

Products

  • Researcher Dashboard
  • Create Backtest
  • My Backtests
  • Catalog
  • Blog
  • News

Alerts

  • Calendar
  • OI Screener
  • Funding Rate
  • REKT
  • Pump/Dump

Company

  • About Us
  • Pricing
  • Affiliate
  • AI Widget
  • Contact

Legal

  • Privacy
  • Terms
  • Refund Policy

Support

  • Help Center
  • Reviews
StratBase.aiStratBase.ai

Think it. Test it.

StratBase.ai does not provide financial advice or trading recommendations. AI only formalizes user ideas into testable strategy configurations for research purposes. Past backtesting performance does not guarantee future results. All trading decisions and associated risks are the sole responsibility of the user. This platform is not a broker and does not facilitate real trading.

© 2026 StratBase.ai · AI-powered strategy research and backtesting platform

support@stratbase.ai
Help Center/Indicators/ALMA (Arnaud Legoux Moving Average)

ALMA (Arnaud Legoux Moving Average)

📈Indicators
📌

ALMA (Arnaud Legoux Moving Average)

📋

What is ALMA?

The Arnaud Legoux Moving Average (ALMA) uses a Gaussian (bell-curve) distribution to weight prices inside the lookback window. By adjusting the offset and sigma parameters, traders can fine-tune both the position of the weight peak and how sharply weights fall off, achieving a unique balance between smoothness and responsiveness.

⚙️

How it works

w_i = exp(-((i - offset × (N-1))^2) / (2 × (N / sigma)^2))
ALMA = sum(w_i × Close_i) / sum(w_i)
  • offset shifts the peak of the Gaussian curve (0 = oldest bar, 1 = newest bar).
  • sigma controls the width of the bell curve (smaller = narrower, more focused weighting).
⭐

Key features

  • Gaussian weighting — produces a very smooth line with minimal overshoot.
  • Tunable lag — adjust offset to move the weight emphasis between old and new prices.
  • Low noise — sigma controls how aggressively older data is discounted.
📌

Trading signals

Trend direction

  • Price above ALMA — bullish bias.
  • Price below ALMA — bearish bias.

Slope

  • Rising ALMA slope — strengthening uptrend.
  • Falling ALMA slope — strengthening downtrend.
  • Flat ALMA — consolidation or range-bound market.
📌

Parameters

| Parameter | Default | Description | |-----------|---------|-------------| | Period | 9 | Lookback window size | | Offset | 0.85 | Gaussian peak position (0..1). Higher = more weight on recent prices | | Sigma | 6 | Gaussian width. Smaller = sharper curve, more focused |

💡

Example conditions

| Condition | Meaning | |-----------|---------| | close > ALMA(9) | Price is above ALMA — bullish | | close cross_over ALMA(20) | Price reclaims ALMA — potential reversal up | | ALMA(9) cross_over SMA(20) | ALMA crosses above SMA — early momentum shift |

💡

Tips

  • Default parameters (9, 0.85, 6) work well for most markets.
  • Increase sigma for smoother output or decrease for faster reaction.
  • ALMA excels at identifying trend direction without the whipsaw common in EMA.
  • Compare ALMA to KAMA — both adapt to market conditions but use different mechanisms.
Related Resources|Fibonacci CalculatorPivot Points CalculatorTrading Blog