OPEN-SOURCE SCRIPT
stelaraX - ALMA

stelaraX – ALMA
stelaraX – ALMA is a trend-following moving average designed to reduce lag while maintaining smooth price representation. It uses a Gaussian-weighted distribution to emphasize recent price data without the excessive noise often seen in faster averages.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The Arnaud Legoux Moving Average (ALMA) applies a Gaussian weighting scheme across a user-defined lookback period. Unlike traditional moving averages, it shifts the weighting curve using an offset parameter, allowing fine control over responsiveness and smoothness.
Key principles:
* the lookback period defines the smoothing horizon
* the offset controls the center of the Gaussian curve and thus the balance between lag and responsiveness
* the sigma parameter adjusts the width of the Gaussian distribution
* rising ALMA values indicate bullish trend momentum
* falling ALMA values indicate bearish trend momentum
The ALMA reacts faster to price changes than classic moving averages while remaining visually smooth and stable.
Visualization
The script plots:
* the ALMA line directly on the price chart
* dynamic color changes based on ALMA slope direction
* green coloring for rising ALMA values
* red coloring for falling ALMA values
This color-coded display provides immediate visual feedback on short-term trend direction and momentum shifts.
Use case
This indicator is intended for:
* identifying trend direction and trend changes
* acting as a dynamic support and resistance guide
* filtering entries in trend-following strategies
* confirming momentum in breakout or pullback setups
* replacing traditional moving averages with reduced lag
It integrates well with price action, structure-based systems, and AI-assisted chart analysis.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
stelaraX – ALMA is a trend-following moving average designed to reduce lag while maintaining smooth price representation. It uses a Gaussian-weighted distribution to emphasize recent price data without the excessive noise often seen in faster averages.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com
Core logic
The Arnaud Legoux Moving Average (ALMA) applies a Gaussian weighting scheme across a user-defined lookback period. Unlike traditional moving averages, it shifts the weighting curve using an offset parameter, allowing fine control over responsiveness and smoothness.
Key principles:
* the lookback period defines the smoothing horizon
* the offset controls the center of the Gaussian curve and thus the balance between lag and responsiveness
* the sigma parameter adjusts the width of the Gaussian distribution
* rising ALMA values indicate bullish trend momentum
* falling ALMA values indicate bearish trend momentum
The ALMA reacts faster to price changes than classic moving averages while remaining visually smooth and stable.
Visualization
The script plots:
* the ALMA line directly on the price chart
* dynamic color changes based on ALMA slope direction
* green coloring for rising ALMA values
* red coloring for falling ALMA values
This color-coded display provides immediate visual feedback on short-term trend direction and momentum shifts.
Use case
This indicator is intended for:
* identifying trend direction and trend changes
* acting as a dynamic support and resistance guide
* filtering entries in trend-following strategies
* confirming momentum in breakout or pullback setups
* replacing traditional moving averages with reduced lag
It integrates well with price action, structure-based systems, and AI-assisted chart analysis.
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.