OPEN-SOURCE SCRIPT

CGPT Golden Cross / Death Cross Alert

411
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

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.