OPEN-SOURCE SCRIPT

Golden & Death Cross with Re-Activation [By Oberlunar]

🎄 Merry Christmas to All Traders! 🎄

Let me introduce you to a practical and customizable classic tool: the Golden & Death Cross with Re-Activation. This script is designed to help you navigate the markets with precision and adaptability.

Why Is This Script Important?
1. Customizable Moving Averages
You can choose from SMA, EMA, WMA, HMA, or RMA for both moving averages. This flexibility allows you to tailor the strategy to fit different markets and trading styles.

2. Smart Signal Handling
The script generates Golden Cross (LONG) and Death Cross (SHORT) signals while deactivating them automatically when the moving averages start to converge, avoiding unnecessary noise.

3. Reactivation Based on Distance Threshold
With the treshold parameter, signals are reactivated only when the moving averages move apart sufficiently, ensuring that the signals remain meaningful and not just random market noise.

What Are These Moving Averages?
  1. SMA (Simple Moving Average),
  2. EMA (Exponential Moving Average),
  3. WMA (Weighted Moving Average),
  4. HMA (Hull Moving Average),
  5. RMA (Relative Moving Average)



Community Input
We invite you to test this script on various markets (forex, stocks, crypto) and share your insights:

Which moving average combination works best for EUR/USD?
How about BTC/USD?
Does the treshold make a noticeable difference?
Let us know in the comments!

Example Settings
MA 1 Type: HMA, Length: 21
MA 2 Type: HMA, Length: 200
Reactivation Threshold: 0.5

Experiment with it, and let us know your findings.

Wishing you a calm holiday season and a profitable new year ahead! 🎁

🎄 Merry Christmas and Happy Trading! 🎄
deathcrossExponential Moving Average (EMA)goldencrossHull Moving Average (HMA)Weighted Moving Average (WMA)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Hey, don't forget to follow me!

t.me/+BeKBqrZPK15mN2E8
Aussi sur:

Clause de non-responsabilité