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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.