OPEN-SOURCE SCRIPT
MACD 衰减信号

For Max's MACD Decay Signal
A non-repainting signal based on MACD histogram momentum decay combined with price structure divergence. This script helps traders identify potential trend reversal points using multi-wave analysis.
📈 Bullish Signal
Triggered when:
MACD histogram prints three weakening red waves (histogram bars are rising toward zero)
Price makes lower lows, while MACD histogram rises (bullish divergence)
Histogram just turns green
🟢 Label: "MACD多头" appears below the candle
📢 Alert: "MACD 多头信号"
📉 Bearish Signal
Triggered when:
MACD histogram prints three weakening green waves (histogram bars falling toward zero)
Price makes higher highs, while MACD histogram falls (bearish divergence)
Histogram just turns red
🔴 Label: "MACD空头" appears above the candle
📢 Alert: "MACD 空头信号"
⚙️ Features
Adjustable MACD parameters: Fast, Slow, Signal lengths
Uses arrays to track momentum and price shift patterns
Built to avoid repainting, works on all timeframes
Comes with alert conditions for automation or manual notifications
✅ Best For
Catching early trend reversal opportunities
Combining with price action or support/resistance levels
Traders who value momentum + structure-based signals
A non-repainting signal based on MACD histogram momentum decay combined with price structure divergence. This script helps traders identify potential trend reversal points using multi-wave analysis.
📈 Bullish Signal
Triggered when:
MACD histogram prints three weakening red waves (histogram bars are rising toward zero)
Price makes lower lows, while MACD histogram rises (bullish divergence)
Histogram just turns green
🟢 Label: "MACD多头" appears below the candle
📢 Alert: "MACD 多头信号"
📉 Bearish Signal
Triggered when:
MACD histogram prints three weakening green waves (histogram bars falling toward zero)
Price makes higher highs, while MACD histogram falls (bearish divergence)
Histogram just turns red
🔴 Label: "MACD空头" appears above the candle
📢 Alert: "MACD 空头信号"
⚙️ Features
Adjustable MACD parameters: Fast, Slow, Signal lengths
Uses arrays to track momentum and price shift patterns
Built to avoid repainting, works on all timeframes
Comes with alert conditions for automation or manual notifications
✅ Best For
Catching early trend reversal opportunities
Combining with price action or support/resistance levels
Traders who value momentum + structure-based signals
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。