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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน