OPEN-SOURCE SCRIPT

Golden Cross & Death Cross

92
The Golden Cross & Death Cross Indicator is a powerful tool for identifying key trend reversals in the market. It detects when a 50-period Simple Moving Average (SMA) crosses a 200-period SMA, signaling potential bullish or bearish momentum shifts. This version is optimized for a clean and professional TradingView experience, ensuring minimal distractions while maintaining high visibility.

Key Features:

✅ Optimized SMA Settings – Uses the widely recognized 50-SMA (short-term) and 200-SMA (long-term) for reliable trend analysis.
✅ Minimalist Design – Displays only the "GC" (Golden Cross) and "DC" (Death Cross) text markers without background boxes, keeping the chart clean.
✅ Color-Coded Signals – Green for Golden Cross (bullish trend) and Red for Death Cross (bearish trend) for easy identification.
✅ Customizable & Lightweight – Designed for efficiency, with adjustable moving average periods to fit different trading strategies.

How It Works:

Golden Cross (Bullish Signal) 🟢: The 50-SMA crosses above the 200-SMA, indicating a potential uptrend.
Death Cross (Bearish Signal) 🔴: The 50-SMA crosses below the 200-SMA, suggesting a possible downtrend.
Signals are placed directly on the chart as small text labels without clutter, enhancing readability.
Best Use Cases:

📈 Swing Trading – Identifies long-term trend shifts for strategic trade entries.
📉 Position Trading – Confirms larger market movements for investors.
⏳ Trend Confirmation – Helps filter out false signals when combined with other indicators like RSI or MACD.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.