OPEN-SOURCE SCRIPT

Bull Market Support Band Alert (20W SMA & 21W EMA) - Multi-Alert

169
═══════════════════════════════════════════════════════════════════
🎯 WHAT THIS INDICATOR DOES:
═══════════════════════════════════════════════════════════════════

This indicator monitors the Bull Market Support Band (BMSB) - a popular trend-following system that uses the 20-week Simple Moving Average (SMA) and 21-week Exponential Moving Average (EMA) to identify major market trends. It alerts you when price crosses either moving average on any stock in your watchlist.

═══════════════════════════════════════════════════════════════════
📈 THE BULL MARKET SUPPORT BAND STRATEGY:
═══════════════════════════════════════════════════════════════════

- ABOVE both MAs = Bullish trend (consider holding/buying)
- BELOW both MAs = Bearish trend (consider caution/selling)
- CROSSING ABOVE = Potential trend change to bullish
- CROSSING BELOW = Potential trend change to bearish

Originally popularized by cryptocurrency analysts, the BMSB has proven effective across all markets for identifying major trend changes.

═══════════════════════════════════════════════════════════════════
⚡ KEY FEATURES:
═══════════════════════════════════════════════════════════════════

✅ Single alert monitors your ENTIRE watchlist
✅ Works on ANY timeframe (daily, 4H, 1H) while maintaining weekly MA accuracy
✅ Visual signals when crosses occur (green/red arrows)
✅ Real-time status table showing current values
✅ Background coloring for quick trend identification
✅ Customizable alert settings for crosses above/below

═══════════════════════════════════════════════════════════════════
🔔 HOW TO SET UP ALERTS:
═══════════════════════════════════════════════════════════════════

1. Add this indicator to your chart
2. Click Alert (alarm icon)
3. Select "BMSB Watchlist Alert" → "BMSB Cross Alert"
4. Choose your alert frequency:
• "Once Per Bar" = Immediate alerts (for active traders)
• "Once Per Bar Close" = Confirmed signals (fewer false alarms)
5. CHECK "Apply to all symbols in watchlist" ← IMPORTANT!
6. Select your watchlist and create

═══════════════════════════════════════════════════════════════════
⚙️ RECOMMENDED SETTINGS:
═══════════════════════════════════════════════════════════════════

📍 FOR SWING TRADERS:
- Chart: Daily timeframe
- Alert Trigger: Once Per Bar Close
- Both crosses enabled

📍 FOR ACTIVE TRADERS:
- Chart: 4H or Daily timeframe
- Alert Trigger: Once Per Bar
- Both crosses enabled

📍 FOR LONG-TERM INVESTORS:
- Chart: Weekly timeframe
- Alert Trigger: Once Per Bar Close
- Focus on crosses above

═══════════════════════════════════════════════════════════════════
📊 VISUAL ELEMENTS:
═══════════════════════════════════════════════════════════════════

- BLUE LINE = 20-week Simple Moving Average
- RED LINE = 21-week Exponential Moving Average
- GREEN ARROWS = Price crossed above BMSB
- RED ARROWS = Price crossed below BMSB
- GREEN BACKGROUND = Price above both MAs (bullish)
- RED BACKGROUND = Price below both MAs (bearish)
- STATUS TABLE = Current price position and MA values

═══════════════════════════════════════════════════════════════════
💡 PRO TIPS:
═══════════════════════════════════════════════════════════════════

1. The indicator calculates WEEKLY MAs regardless of your chart timeframe
2. Best used with liquid stocks/cryptos with good volume
3. Consider waiting for daily/weekly close for confirmation
4. Crosses are more significant after extended periods above/below
5. Works great with additional confirmation (volume, RSI, etc.)

═══════════════════════════════════════════════════════════════════
⚠️ IMPORTANT NOTES:
═══════════════════════════════════════════════════════════════════

- FREE accounts limited to 1 active alert
- Alerts check based on YOUR selected timeframe, not the weekly MA calculation
- False signals possible during ranging/choppy markets
- Not financial advice - use as one tool among many

═══════════════════════════════════════════════════════════════════
👨‍💻 AUTHOR'S NOTE:
═══════════════════════════════════════════════════════════════════

Built for traders who want to monitor multiple stocks efficiently without creating dozens of individual alerts. Perfect for identifying major trend changes across your entire portfolio with a single alert.

Tags: #BMSB #BullMarketSupportBand #20WeekSMA #21WeekEMA #TrendFollowing #MovingAverage #WatchlistAlert #MultiTimeframe #SwingTrading #TrendTrading

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.