OPEN-SOURCE SCRIPT

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

103
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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.