OPEN-SOURCE SCRIPT

MACD 衰减信号

178
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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。