Alma SD SuperTrend
Jul 14, 2025

The Alma SD SuperTrend indicator provides a robust trend-following solution by integrating the Arnaud Legoux Moving Average (ALMA) with a volatility-based SuperTrend logic driven by standard deviation. This tool is designed to filter out market noise and identify high-probability trend shifts across various asset classes and timeframes.
Usage
The Usage section focuses on interpreting the visual signals and adapting the indicator to different market conditions.
- Trend Identification: When the price is above the SuperTrend line and the candles are green, a bullish trend is active. Conversely, when the price is below the line and the candles are purple (red), a bearish trend is indicated.
- Signal Shading: The filled area between the price and the SuperTrend line acts as a visual guide for trend strength and direction.
- Trading Strategy: Traders often use the color switches as entry or exit signals. A flip from purple to green suggests a potential long entry, while a flip from green to purple suggests a potential short entry.
- Volatility Adaptation: In highly volatile markets, increasing the Factor setting can help prevent premature exits by widening the tracking bands.
Details
The Alma SD SuperTrend distinguishes itself from traditional SuperTrend indicators through its core mathematical foundation:
- Arnaud Legoux Moving Average (ALMA): Unlike standard moving averages, ALMA uses a Gaussian filter. This allows it to reduce the "lag" typically associated with smoothing while effectively removing high-frequency noise that often triggers false signals in trend-following systems.
- Standard Deviation vs. ATR: While the classic SuperTrend uses Average True Range (ATR), this script utilizes Standard Deviation (SD). This statistical approach measures how price deviates from the mean (ALMA), allowing the bands to expand and contract based on pure price variance.
- Stability Logic: The script includes a floor/ceiling mechanism. The upper band can only move down and the lower band can only move up during an active trend unless a crossover occurs, preventing the trailing stop from "widening" against the trader's position.
Settings
Source
- Source: Determines the price data used for all calculations (e.g., Close, HL2, etc.).
SuperTrend Settings
- Factor: A multiplier applied to the standard deviation. Increasing this makes the indicator less sensitive to price fluctuations.
- SD Length: The lookback period used to calculate the statistical standard deviation.
Alma Settings
- Alma Length: The window size for the ALMA calculation. Larger values result in a smoother baseline.
- Alma Sigma: Controls the "width" of the Gaussian distribution; higher values make the average smoother but potentially more lagging.
- Alma Offset: Adjusts the responsiveness. An offset closer to 1 makes the ALMA follow the price more closely (lower lag).
FAQ
How do I interpret the color changes on the chart?
A green line and green candles signify a bullish regime, while a red/purple line and candles signify a bearish regime. The switch happens when price closes across the volatility band.
Can I use this for scalping?
Yes, by reducing the Alma Length and SD Length, the indicator becomes more responsive to short-term price movements, making it suitable for lower timeframes.
How can I access the Alma SD SuperTrend?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.