OPEN-SOURCE SCRIPT
Nova Capital MACD

Nova Capital MACD is a momentum oscillator based on the classic MACD calculation, enhanced with a clean 4-state histogram and optional signal labels.
Core calculation:
MACD Line = Fast MA − Slow MA
Signal Line = MA(MACD Line, Signal Length)
Histogram = MACD Line − Signal Line
Features in this version:
4-state histogram coloring (positive/negative + rising/falling) to visualize momentum changes more clearly.
Optional confirmed-bar behavior (signals trigger only on closed bars).
Optional zero-line directional filter:
Long labels only when MACD is below 0.
Short labels only when MACD is above 0.
Built-in alert conditions for Long/Short events.
How to use:
Watch histogram state changes for momentum transitions.
A Long label appears on MACD crossing above the Signal line (optionally below 0).
A Short label appears on MACD crossing below the Signal line (optionally above 0).
Note: This indicator is not a complete trading system. Use risk management and confirm signals with market context.
Core calculation:
MACD Line = Fast MA − Slow MA
Signal Line = MA(MACD Line, Signal Length)
Histogram = MACD Line − Signal Line
Features in this version:
4-state histogram coloring (positive/negative + rising/falling) to visualize momentum changes more clearly.
Optional confirmed-bar behavior (signals trigger only on closed bars).
Optional zero-line directional filter:
Long labels only when MACD is below 0.
Short labels only when MACD is above 0.
Built-in alert conditions for Long/Short events.
How to use:
Watch histogram state changes for momentum transitions.
A Long label appears on MACD crossing above the Signal line (optionally below 0).
A Short label appears on MACD crossing below the Signal line (optionally above 0).
Note: This indicator is not a complete trading system. Use risk management and confirm signals with market context.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Nova Capital | Pulso Nova. Educación financiera aplicada a mercados digitales.
Financial education applied to digital markets.
Financial education applied to digital markets.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Nova Capital | Pulso Nova. Educación financiera aplicada a mercados digitales.
Financial education applied to digital markets.
Financial education applied to digital markets.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。