OPEN-SOURCE SCRIPT
stelaraX - Moving Average Multi

stelaraX – Multi MA
stelaraX – Multi MA is a flexible moving average indicator that allows the use of up to four independently configurable moving averages on a single chart. Each moving average can be customized by type, length, source, color, and line width, making the indicator suitable for a wide range of trading styles and timeframes.
The indicator is designed to provide a clear overview of trend direction, dynamic support and resistance, and moving average interactions.
Core logic
The script supports multiple moving average calculation methods:
* Simple Moving Average (SMA)
* Exponential Moving Average (EMA)
* Weighted Moving Average (WMA)
* Hull Moving Average (HMA)
* Volume Weighted Moving Average (VWMA)
* Running Moving Average (RMA)
Each of the four moving averages can be enabled or disabled individually and calculated from any price source.
Crossover signals
The indicator can generate crossover signals between any two selected moving averages:
* bullish crossover when the fast MA crosses above the slow MA
* bearish crossover when the fast MA crosses below the slow MA
Crossover signals are displayed directly on the chart using directional markers and can be enabled or disabled as needed.
MA cloud
An optional moving average cloud can be displayed between two selected moving averages:
* bullish cloud when the faster MA is above the slower MA
* bearish cloud when the faster MA is below the slower MA
Cloud colors and transparency are fully customizable.
Visualization
The indicator plots up to four moving average lines directly on the chart.
Additional visual features include:
* optional MA crossover markers
* optional moving average cloud
* optional bar coloring based on price position relative to selected moving averages
Bar colors reflect basic trend conditions when price is above or below selected averages.
Alerts
Alert conditions are available for:
* bullish and bearish moving average crossovers
* price crossing above or below selected moving averages
* price crossing above or below the long-term moving average
Alerts trigger only on confirmed crossover conditions.
Use case
This indicator is intended for:
* trend identification and confirmation
* moving average crossover strategies
* dynamic support and resistance analysis
* multi-timeframe trend alignment
* general market structure visualization
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 – Multi MA is a flexible moving average indicator that allows the use of up to four independently configurable moving averages on a single chart. Each moving average can be customized by type, length, source, color, and line width, making the indicator suitable for a wide range of trading styles and timeframes.
The indicator is designed to provide a clear overview of trend direction, dynamic support and resistance, and moving average interactions.
Core logic
The script supports multiple moving average calculation methods:
* Simple Moving Average (SMA)
* Exponential Moving Average (EMA)
* Weighted Moving Average (WMA)
* Hull Moving Average (HMA)
* Volume Weighted Moving Average (VWMA)
* Running Moving Average (RMA)
Each of the four moving averages can be enabled or disabled individually and calculated from any price source.
Crossover signals
The indicator can generate crossover signals between any two selected moving averages:
* bullish crossover when the fast MA crosses above the slow MA
* bearish crossover when the fast MA crosses below the slow MA
Crossover signals are displayed directly on the chart using directional markers and can be enabled or disabled as needed.
MA cloud
An optional moving average cloud can be displayed between two selected moving averages:
* bullish cloud when the faster MA is above the slower MA
* bearish cloud when the faster MA is below the slower MA
Cloud colors and transparency are fully customizable.
Visualization
The indicator plots up to four moving average lines directly on the chart.
Additional visual features include:
* optional MA crossover markers
* optional moving average cloud
* optional bar coloring based on price position relative to selected moving averages
Bar colors reflect basic trend conditions when price is above or below selected averages.
Alerts
Alert conditions are available for:
* bullish and bearish moving average crossovers
* price crossing above or below selected moving averages
* price crossing above or below the long-term moving average
Alerts trigger only on confirmed crossover conditions.
Use case
This indicator is intended for:
* trend identification and confirmation
* moving average crossover strategies
* dynamic support and resistance analysis
* multi-timeframe trend alignment
* general market structure visualization
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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。