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

═══════════════════════════════════════════════════════════════════
🎯 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
🎯 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
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.