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)

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Hey, don't forget to follow me!

t.me/+BeKBqrZPK15mN2E8
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm