OPEN-SOURCE SCRIPT

Goldencross & Deathcross Highlights (50/200 SMA) - Fixed daily

350
This indicator visualizes major long-term trend shifts in the market
by tracking the daily 50-day and 200-day Simple Moving Averages (SMAs)
— regardless of your current chart timeframe.

🟩 A green flash (Golden Cross) appears when the 50-day SMA crosses
above the 200-day SMA — signaling potential long-term bullish momentum.

🟥 A red flash (Death Cross) appears when the 50-day SMA crosses
below the 200-day SMA — suggesting potential long-term bearish pressure.

Unlike typical SMA overlays, this script:
• Pulls daily data directly (fixed to daily timeframe)
• Works cleanly on any chart timeframe (5m, 1h, 4h, etc.)
• Avoids clutter by hiding moving average lines
• Shows only short, subtle flashes and one clean marker per event

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

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.