
ALMA (Arnaud Legoux Moving Average) is a weighted moving average which applies a Gaussian (bell-shaped) curve to a given period of price data.
The offset and sigma parameters determine where the curve is placed and how wide it is, respectively. The result is a moving average that is generally less laggy than an SMA of the same period but may let more short-term price action through.
Moving averages are probably the first technical indicators every trader studies. But traditional moving averages come with a lot of noise. This is where the Arnaud Legoux Moving Average (ALMA) helps. ALMA is a technical indicator designed to reduce market noise while remaining highly responsive to price movements. Arnaud Legoux and Dimitrios Kouzis-Loukas developed it.
ALMA is not a simple average of previous price data. It actually uses a Gaussian distribution to smooth price data without introducing as much lag as traditional moving averages.
The weighting is what makes ALMA different. The Simple Moving Average (SMA) gives equal weight to all the prices. The Exponential Moving Average (EMA) gives more weight to recent prices. However, ALMA works differently. It gives different weights to historical prices using a Gaussian curve. The offset setting determines where the curve’s peak sits.
The offset determines where the peak of the Gaussian curve falls within the period. At an offset of 0.5, the peak is at the middle of the period. With the standard default offset of 0.85, the peak shifts toward the more recent end of the period.
The prices closest to that peak get the highest weights, and the weights fall off progressively as you move away from the peak. So the most recent price doesn't necessarily get the highest weight.
ALMA is designed to balance lag and smoothness differently than a conventional moving average. Its responsiveness to price changes varies depending on the period, offset, and sigma you select, and it’s wrong to assume it will be faster or less noisy than an EMA in all market situations.
Like other trend-following moving averages, the ALMA is most useful when the market has developed a clear sustained direction. In a sideways or choppy market, you can get many false crossovers.
You can, of course, apply other filters to your analysis (ADX, price structure, etc.) to prevent you from simply relying on the ALMA crossovers in the case of a weakly trending market.
One potential trend strength filter is to look at the ALMA when ADX(14) is above 25 and the ALMA is sloping in the direction of the intended trade. A rising ALMA versus its value 5 bars prior could be used as a condition for a long, a falling ALMA could be used as a condition for a short.
Readings below 20 would suggest a weak or non-trending market. Readings between 20 and 25 would be in the neutral zone (again, this will depend on your strategy).
This is how ALMA looks on a Nifty Futures on the 30-minute timeframe chart:

The blue line is ALMA and the red line is SMA. The parameter is the same for both moving averages and is set to 50.
As shown in the chart, the blue ALMA line is more responsive than the red SMA.
The ALMA indicator is based on three primary parameters:
A fairly common default is a window of 9, an offset of 0.85 and a sigma of 6. The charts in this article use a much longer window (50), with the offset and sigma at 0.85 and 6, respectively.
Here is how the settings look on the chart:

The formulas used for the calculation of ALMA are:
m = floor(offset × (N − 1))
s = N ÷ sigma
Weight(i) = exp(−(i − m)² ÷ (2 × s²)), for i = 0 (oldest bar) to N − 1 (newest bar)
ALMA = Σ (Weight(i) × Price(i)) ÷ Σ Weight(i)
Example with the defaults (N = 9, offset 0.85, sigma 6) on Nifty daily closes: m = floor(0.85 × 8) = 6 and s = 9 ÷ 6 = 1.5.
|
i |
Date |
Close |
Weight |
Weight × Close |
|
0 |
20-Aug |
24,231.85 |
0.0003 |
8.13 |
|
1 |
21-Aug |
24,252.00 |
0.0039 |
93.76 |
|
2 |
24-Aug |
24,219.05 |
0.0286 |
691.83 |
|
3 |
25-Aug |
24,334.55 |
0.1353 |
3,293.32 |
|
4 |
26-Aug |
24,207.75 |
0.4111 |
9,952.10 |
|
5 |
27-Aug |
24,090.85 |
0.8007 |
19,290.44 |
|
6 |
28-Aug |
24,175.65 |
1.0000 |
24,175.65 |
|
7 |
31-Aug |
24,080.40 |
0.8007 |
19,282.08 |
|
8 |
01-Sep |
24,055.80 |
0.4111 |
9,889.64 |
|
Total |
3.5918 |
86,676.95 |
Hence, ALMA = 86,676.95 ÷ 3.5918 = 24,131.89.
The 9-bar SMA for the same data is 24,183.10.
Notice that the highest weight is assigned to 28-Aug (i = 6), rather than the newest observation. This happens because the 0.85 offset places the Gaussian curve’s peak toward the end of the period, but not necessarily on the final bar.
Here are the broad differences between the different moving averages
|
Feature |
ALMA |
SMA |
EMA |
|
Weighting method |
Gaussian weighting |
Equal weighting |
Exponentially decreasing weights |
|
Response to price |
Adjustable through offset and sigma |
Generally slower to reflect recent changes |
Gives greater weight to recent prices |
|
Smoothness |
Adjustable through its parameters |
Generally smooth |
Depends on the period |
|
Lag |
Can be reduced by shifting the Gaussian peak towards recent bars |
Often higher than a responsive weighted average of the same period |
Generally lower than an SMA of the same period |
|
Common use |
Trend analysis and trade timing |
Identifying broader price trends |
Tracking recent price movements |
ALMA differs from a conventional moving average in how it allocates weights across the period. It uses Gaussian weighting, which lets the user tweak the balance between smoothness and responsiveness. Of course, no moving average is the best for every security, timeframe, and market condition.
ALMA is similar to SMA and EMA in how it's interpreted. If price is trading above the ALMA, that's likely seen as a bullish signal (price is above its weighted average). If it's trading below the ALMA, that's likely to be seen as a bearish signal.
Again, these are just signals and should be taken in context with the prevailing trend, the price action and other technical indicators.
A rising ALMA could indicate an uptrend, and a falling ALMA could indicate a downtrend. However, the ALMA’s slope doesn’t necessarily indicate momentum or the strength of buying or selling pressure.
Traders also monitor price crossovers along with the ALMA’s slope to assess the strength of the prevailing trend.
ALMA trading strategies are very similar to SMA strategies. However, we will also use ADX(14) above 25 as a filter. Here are a few common strategies:
For a short trade, reverse the conditions
For a long trade, the trend condition is that price is above ALMA and ALMA is above its value 5 bars ago.
For a short trade, simply reverse all of the above.
For a long trade, use the same entry conditions as the price crossover strategy,
For a short trade,
Note: These are illustrative trading rules, not universally validated strategies. The ATR multipliers, RSI thresholds, ALMA periods and ADX filters are configurable parameters. Traders should backtest the rules on the relevant instrument and timeframe, account for brokerage and other transaction costs, and consider slippage before using them in live markets
Risk management is one of the most important aspects of trading when using any indicator. Traders must always use a stop-loss and have a clear target in mind before going for entries. Position sizing is also important to ensure that traders don’t take over-leveraged positions.
ATR can also help traders set stop-loss distances based on market volatility.
For a long trade, place the stop below a recent swing low or at a predefined multiple of ATR below the entry price.
For a short trade, the stop could be placed above a recent swing high or at a pre-defined multiple of ATR above the entry price. The correct distance will vary depending on the instrument, timeframe, and trading strategy.
One of the most common errors people make when using the ALMA is to treat every crossover as a trade. Like all moving averages, the ALMA can produce false signals when the price is simply moving sideways or ranging around the indicator with no clear trend.
You can reduce your dependence on crossovers by using them alongside trend-strength indicators, price action, and so on.
Another issue is that traders tend to over-optimise ALMA settings, making the indicator perform well on historical data but poorly in live markets. Overfitting ALMA should be avoided.
Here is an example using ALMA

This is the same 30-min chart of Nifty July futures (18 June to 9 July 2026) with ALMA(50, 0.85, 6). Nifty made a double bottom around 23,940.
While some traders may take a long trade here, we can wait for a candle to close above ALMA. That happened on 1 July 2026, giving a long entry around 24,085.
The stop-loss can be just below the 23,940 support, at 23,920 (risk of 165 points), and the target can be the next resistance zone at 24,350 (reward of 265 points). This gives a risk-to-reward of about 1:1.6.
The target was reached on 3 July 2026, when the Nifty futures contract opened above the ₹24,350 target level. Assuming an exit at ₹24,350, the gross profit on one lot of 65 units would be 265 × 65 = ₹17,225, before brokerage, exchange charges, taxes and slippage.
The Arnaud Legoux Moving Average (ALMA) is a moving average which uses Gaussian weighting. It has an offset and a sigma which can be adjusted to give you a smoother or more responsive moving average. It can be used to determine the direction of a price trend, spot potential breakouts, and time entries and exits. Like all other moving averages, it is a lagging indicator and can produce false signals, particularly in a sideways market. It should be used in conjunction with other forms of technical analysis and appropriate risk management.