OPEN-SOURCE SCRIPT

EMA Crossover Arrows (6 EMA & 20 EMA)

1 026
EMA Crossover Arrows (6 EMA & 20 EMA) - Quick Signal Detector

📊 OVERVIEW
A simple yet powerful indicator that automatically marks exact moments when the 6 EMA crosses the 20 EMA - giving you clear visual signals for potential trend changes without any chart clutter.

🎯 WHAT IT SHOWS
Two precise crossover signals:
- Blue Triangle Up (↑): 6 EMA crosses ABOVE 20 EMA (Bullish signal)
- Pink Triangle Down (↓): 6 EMA crosses BELOW 20 EMA (Bearish signal)

✨ KEY FEATURES
✓ Clean arrow markers appear only at crossover moments
✓ No lag - signals appear in real-time as crossovers occur
✓ Works on ANY timeframe (1min, 5min, 1H, daily, etc.)
✓ Non-intrusive - arrows don't clutter your chart
✓ Perfect for swing trading and trend following
✓ Zero configuration required

⚙️ TECHNICAL DETAILS
- 6 EMA: Fast-moving average for quick trend detection
- 20 EMA: Slower average providing trend confirmation
- Crossover detection uses Pine Script's built-in ta.crossover/crossunder functions
- No repainting - signals are final once the bar closes

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.