OPEN-SOURCE SCRIPT
stelaraX - MACD

stelaraX – MACD
stelaraX – MACD is a classic momentum and trend-following indicator based on the relationship between two exponential moving averages. It is designed to visualize trend direction, momentum strength, and potential reversal points in a clear and uncluttered way.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation.
stelarax.com
Core logic
The MACD is calculated using three user-defined parameters:
* fast moving average period
* slow moving average period
* signal line smoothing period
The indicator consists of:
* the MACD line, calculated as the difference between the fast and slow EMA
* the signal line, which is an EMA of the MACD line
* the histogram, representing the difference between MACD and signal line
Momentum increases when the histogram expands and decreases when it contracts. Crossovers between the MACD line and the signal line highlight potential trend shifts.
Visualization
The script plots:
* the MACD line
* the signal line
* a color-coded histogram
Histogram bars adapt their color dynamically:
* green tones for positive momentum
* red tones for negative momentum
* brighter colors when momentum is increasing
* softer colors when momentum is weakening
A zero baseline is plotted to clearly separate bullish and bearish momentum phases.
Use case
This indicator is intended for:
* momentum and trend analysis
* identifying trend continuation and exhaustion
* confirming price action and breakout signals
* divergence observation between price and momentum
For traders looking to combine classical indicators with modern AI-driven chart analysis, additional tools are available at stelarax.com
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 – MACD is a classic momentum and trend-following indicator based on the relationship between two exponential moving averages. It is designed to visualize trend direction, momentum strength, and potential reversal points in a clear and uncluttered way.
This indicator is part of the stelaraX ecosystem, focused on clean technical analysis and AI-supported chart evaluation.
stelarax.com
Core logic
The MACD is calculated using three user-defined parameters:
* fast moving average period
* slow moving average period
* signal line smoothing period
The indicator consists of:
* the MACD line, calculated as the difference between the fast and slow EMA
* the signal line, which is an EMA of the MACD line
* the histogram, representing the difference between MACD and signal line
Momentum increases when the histogram expands and decreases when it contracts. Crossovers between the MACD line and the signal line highlight potential trend shifts.
Visualization
The script plots:
* the MACD line
* the signal line
* a color-coded histogram
Histogram bars adapt their color dynamically:
* green tones for positive momentum
* red tones for negative momentum
* brighter colors when momentum is increasing
* softer colors when momentum is weakening
A zero baseline is plotted to clearly separate bullish and bearish momentum phases.
Use case
This indicator is intended for:
* momentum and trend analysis
* identifying trend continuation and exhaustion
* confirming price action and breakout signals
* divergence observation between price and momentum
For traders looking to combine classical indicators with modern AI-driven chart analysis, additional tools are available at stelarax.com
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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。