OPEN-SOURCE SCRIPT
Golden/Death Cross

🔔 Indicator: **Golden/Death Cross**
This indicator visually tracks the **Golden Cross** and **Death Cross** using exponential moving averages:
* **EMA 50** (short-term trend)
* **EMA 200** (long-term trend)
📈 How it works:
* When **EMA 50 crosses above EMA 200**, it's a **Golden Cross** (potential bullish signal) — the line turns **green**.
* When **EMA 50 crosses below EMA 200**, it's a **Death Cross** (potential bearish signal) — the line turns **red**.
* The line retains its color until the next crossover, helping traders stay visually aligned with trend shifts.
This is a minimal and clean tool designed to highlight long-term trend changes clearly and effectively.
⚠️ Disclaimer:
This script is for **educational and informational purposes only**. It does **not constitute financial advice** or a recommendation to buy or sell any financial instruments. Always do your own research and consult a licensed financial advisor before making trading decisions.
This indicator visually tracks the **Golden Cross** and **Death Cross** using exponential moving averages:
* **EMA 50** (short-term trend)
* **EMA 200** (long-term trend)
📈 How it works:
* When **EMA 50 crosses above EMA 200**, it's a **Golden Cross** (potential bullish signal) — the line turns **green**.
* When **EMA 50 crosses below EMA 200**, it's a **Death Cross** (potential bearish signal) — the line turns **red**.
* The line retains its color until the next crossover, helping traders stay visually aligned with trend shifts.
This is a minimal and clean tool designed to highlight long-term trend changes clearly and effectively.
⚠️ Disclaimer:
This script is for **educational and informational purposes only**. It does **not constitute financial advice** or a recommendation to buy or sell any financial instruments. Always do your own research and consult a licensed financial advisor before making trading decisions.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.