PROTECTED SOURCE SCRIPT

stelaraX - Hull Moving Average

40
stelaraX – Hull Moving Average

stelaraX – Hull Moving Average is a trend-following moving average designed to minimize lag while maintaining a smooth representation of price action. By combining weighted moving averages with a mathematical transformation, it reacts quickly to trend changes without excessive noise.

This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation
stelarax.com

Core logic

The Hull Moving Average (HMA) is calculated using a combination of weighted moving averages (WMA) with different lengths and a square-root smoothing factor.

Key principles:

* a shorter WMA increases responsiveness to recent price movement
* a longer WMA provides baseline smoothing
* the difference between both WMAs accelerates trend reaction
* the final WMA with square-root length reduces lag while keeping smoothness
* rising HMA values indicate bullish trend momentum
* falling HMA values indicate bearish trend momentum

This structure allows the HMA to adapt quickly to market changes while avoiding whipsaw behavior common in faster averages.

Visualization

The script plots:

* the Hull Moving Average directly on the price chart
* dynamic color changes based on slope direction
* green coloring for rising HMA values
* red coloring for falling HMA values

This clear color logic makes trend direction and momentum shifts immediately visible.

Use case

This indicator is intended for:

* identifying trend direction and early trend changes
* acting as dynamic support and resistance
* filtering entries in trend-following strategies
* confirming momentum during breakouts and pullbacks
* replacing traditional moving averages with reduced lag

It works especially well in fast-moving markets and integrates smoothly with price action 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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.