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 de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Hey, don't forget to follow me!

t.me/+BeKBqrZPK15mN2E8
Também em:

Aviso legal