OPEN-SOURCE SCRIPT

WaveTrend with Crosses

226
WaveTrend with Crosses — Spot Golden & Dead Crosses with Precision!
WaveTrend with Crosses is a customized version of the classic WaveTrend oscillator, enhanced with clean visual signals to help you pinpoint momentum shifts through golden and dead crosses.

✅ Key Features
Momentum analysis based on WaveTrend (WT1 & WT2)

Detects Golden Cross (WT1 crosses above WT2) and
Dead Cross (WT1 crosses below WT2)

Customizable Overbought/Oversold zones (defaults: ±60, ±53)

Visual circle markers on valid crossovers for easy recognition

Built-in alert system to notify you of real-time cross signals

📊 How to Use
Add the indicator to your chart and choose your desired symbol & timeframe.

The blue shaded area shows the divergence between WT1 and WT2 — a visual cue for momentum buildup.

Circle markers:

Red circle: Dead cross — potential bearish momentum

Green circle: Golden cross — potential bullish reversal

Customize the settings to fit your personal trading strategy if needed.

🛠 User Inputs
n1, n2: Channel lengths (default: 10 and 21)

obLevel, osLevel: Overbought/Oversold thresholds (default: ±60 / ±53)

standardValue: Threshold used to validate significant crossovers (default: 60)

🔔 Alert System
Get notified with alerts like "Golden Cross" or "Dead Cross" when key crossovers occur,
helping you react quickly and confidently.

⚠️ Notes
Past performance is not indicative of future results — always backtest and use in conjunction with other tools.

Low timeframes may generate frequent signals; filtering or confirmation is recommended.

💡 Author's Note
Simple and effective — this tool is designed to focus solely on cross-based entries.
Ideal for momentum-based scalping or swing trading strategies.
Feel free to customize and tweak as needed! 😄

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.