OPEN-SOURCE SCRIPT

CGPT Golden Cross / Death Cross Alert

258
This custom indicator identifies Golden Cross (Gx) and Death Cross (Dx) events using either EMA or SMA moving averages. A Golden Cross occurs when a short-term MA (e.g., 50) crosses above a long-term MA (e.g., 200), signaling potential bullish momentum. A Death Cross signals potential bearish momentum, with the short-term MA crossing below the long-term MA.

It includes:

📈 Customizable MA types (EMA or SMA)

⚙️ Adjustable fast & slow MA lengths

🟢🔴 Chart labels for Gx (green) and Dx (red)

🎯 Background highlights for visual trend shifts

🔔 Built-in alert conditions for real-time notifications

Ideal for crypto, stocks, or forex swing and trend trading

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。