PROTECTED SOURCE SCRIPT
BBMA by RWBTradeLab

BBMA by RWBTradeLab
A clean, non-repainting BBMA indicator built for traders who combine Bollinger Bands with Linear Weighted Moving Averages and EMA to track volatility expansion, price extremes, and confirmed breakout behavior using closed candles only.
What this indicator does
This script combines Bollinger Bands (20, 2) with Linear Weighted Moving Averages (LWMA) and a 50 EMA to help traders identify high-probability price extension zones and confirmed BBMA break conditions—without repainting.
All calculations and alerts are based strictly on closed candles (no running-bar signals).
Core components
Bollinger Bands
*Period: 20
*Deviations: 2
*Apply to: Close
*Visual shift supported (default 0)
*Clean white band structure for clarity
Linear Weighted Moving Averages (LWMA)
*LW MA 5 Low
*LW MA 10 Low
*LW MA 5 High
*LW MA 10 High
These weighted averages react faster to recent price action and help define dynamic BBMA zones.
Exponential Moving Average
*EMA 50
*Apply to: Close
*Method: Exponential
Used as a higher-timeframe trend and structure reference.
BBMA alert logic (closed candle only)
Lower BBMA Break
Triggered when:
*LW MA 5 Low crosses below the Lower Bollinger Band
*The candle closes below the Lower Bollinger Band
*LW MA 5 Low remains below the Lower Bollinger Band after close
Upper BBMA Break
Triggered when:
*LW MA 5 High crosses above the Upper Bollinger Band
*The candle closes above the Upper Bollinger Band
*LW MA 5 High remains above the Upper Bollinger Band after close
⚠️ No alerts are generated on running candles—only on confirmed bar close.
Visuals on chart
*Bollinger Bands plotted in clean white
*LW MAs color-coded for easy distinction
*EMA 50 plotted in green
*Optional show/hide toggles for BB, LW MAs, and EMA
Alerts
Built-in alerts trigger only on candle close:
*BBMA Lower Break (confirmed)
*BBMA Upper Break (confirmed)
Designed for reliable discretionary trading and automation without repainting issues.
Key settings
*BB Period & Deviations
*LW MA periods (5 & 10, High / Low)
*EMA period
*Visual shift for Bollinger Bands
*Individual visibility toggles
Non-repainting confirmation
All calculations, plots, and alerts are based on confirmed candles only.
No running-bar logic → no repainting.
Disclaimer
This indicator is a technical analysis tool, not financial advice.
Trading involves risk—always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If you find this indicator useful, please leave a like ⭐ and share your feedback.
A clean, non-repainting BBMA indicator built for traders who combine Bollinger Bands with Linear Weighted Moving Averages and EMA to track volatility expansion, price extremes, and confirmed breakout behavior using closed candles only.
What this indicator does
This script combines Bollinger Bands (20, 2) with Linear Weighted Moving Averages (LWMA) and a 50 EMA to help traders identify high-probability price extension zones and confirmed BBMA break conditions—without repainting.
All calculations and alerts are based strictly on closed candles (no running-bar signals).
Core components
Bollinger Bands
*Period: 20
*Deviations: 2
*Apply to: Close
*Visual shift supported (default 0)
*Clean white band structure for clarity
Linear Weighted Moving Averages (LWMA)
*LW MA 5 Low
*LW MA 10 Low
*LW MA 5 High
*LW MA 10 High
These weighted averages react faster to recent price action and help define dynamic BBMA zones.
Exponential Moving Average
*EMA 50
*Apply to: Close
*Method: Exponential
Used as a higher-timeframe trend and structure reference.
BBMA alert logic (closed candle only)
Lower BBMA Break
Triggered when:
*LW MA 5 Low crosses below the Lower Bollinger Band
*The candle closes below the Lower Bollinger Band
*LW MA 5 Low remains below the Lower Bollinger Band after close
Upper BBMA Break
Triggered when:
*LW MA 5 High crosses above the Upper Bollinger Band
*The candle closes above the Upper Bollinger Band
*LW MA 5 High remains above the Upper Bollinger Band after close
⚠️ No alerts are generated on running candles—only on confirmed bar close.
Visuals on chart
*Bollinger Bands plotted in clean white
*LW MAs color-coded for easy distinction
*EMA 50 plotted in green
*Optional show/hide toggles for BB, LW MAs, and EMA
Alerts
Built-in alerts trigger only on candle close:
*BBMA Lower Break (confirmed)
*BBMA Upper Break (confirmed)
Designed for reliable discretionary trading and automation without repainting issues.
Key settings
*BB Period & Deviations
*LW MA periods (5 & 10, High / Low)
*EMA period
*Visual shift for Bollinger Bands
*Individual visibility toggles
Non-repainting confirmation
All calculations, plots, and alerts are based on confirmed candles only.
No running-bar logic → no repainting.
Disclaimer
This indicator is a technical analysis tool, not financial advice.
Trading involves risk—always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If you find this indicator useful, please leave a like ⭐ and share your feedback.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode gerenciar suas escolhas de bate-papo. Por favor, abra suas Configurações do perfil
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode gerenciar suas escolhas de bate-papo. Por favor, abra suas Configurações do perfil
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.