BBMA by RWBTradeLab
- Индикаторы
-
Md Hasibul Kabir
Founder & Developer at RWBTradeLab.
I develop high-quality trading indicators, expert advisors (EAs),
and utility tools for MetaTrader 5.
My work focuses on precise calculations, non-repainting logic,
and clear visual market structure. - Версия: 2.10
- Обновлено: 2 сентября 2026
BBMA by RWBTradeLab
BBMA read as one running sequence, not as a pile of separate signals. This indicator plots the three line families the system is built on — Bollinger Bands, Linear Weighted Moving Averages on the High and on the Low, and an EMA on the Close — and then labels the sequence those lines produce, candle by candle, on any symbol and any timeframe.
The Lines
- Bollinger Bands: Upper, Basis and Lower, from SMA 20 with deviation 2
- LW MA Low (5 to 10): the lower band, drawn in green
- LW MA High (5 to 10): the upper band, drawn in red
- EMA on Close: the slower trend reference, default 50
Four families are drawn. Only the 5 and 10 period LW MAs carry rules — they are drawn solid. The 6, 7, 8 and 9 period averages are drawn dashed, they fill in the shape of the band, and nothing is calculated from them: switch the LW MA 6-9 Band off and not a single label changes.
The Sequence
- CSM — momentum. LW MA 5 pushes past the outer band and the candle closes even further out.
- EX — the reversal candle. It closes back inside the band while LW MA 5 is still outside it. One EX per CSM: after an EX, only a new CSM can open the door to the next one.
- MTP — the mandatory target. The opposite side LW MA 5/10, reached by price.
- MLV — price tries the outer band again and cannot close beyond it.
- CSD — direction change. A close through the Mid BB that also clears both opposite LW MAs.
- MTM — a pullback that pushes back out through the outer band.
- RE — the re-entry touch that follows a CSM, an MTM or a CSD.
Every label is written at the price it refers to. The structure events — CSM, EX, MLV, CSD and MTM — print on their own cycle's side, so the Upper cycle sits above the candle and the Lower cycle below it. The touch events print at the level that was actually reached, which is the OPPOSITE side: an Upper MTP and an Upper CSM or MTM Re-Entry are all reads of the lower LW MA 5/10, so they sit under the candle, and the Lower cycle's are mirrored above it.
What Is Read When
CSM, EX, MLV, CSD and MTM are structure. They are decided on the CLOSE of a candle and never change afterwards.
MTP and RE are touches, not structure. They are decided the moment price reaches a LW MA 5/10 level, on the running candle, because that is when the level is actually reached.
A touch label cannot be taken back. The running candle carries the heaviest weight inside its own LW MA, so its high and low move toward the level far faster than the level can move away — once the level is reached the condition cannot come undone, and the label stays exactly where it was printed. When the candle closes, the closing pass redraws it in place rather than moving it.
Key Features
- The full BBMA sequence labelled on the chart, not just the lines to read it from
- Seven pattern types, each with its own On/Off switch, so you can keep only the ones you trade
- Thirteen label colours, one per event and side, all adjustable
- Line visibility split four ways: Bollinger Bands, LW MAs, the LW MA 6-9 Band, and the EMA
- BB visual shift, which moves the drawn bands only and never the values the rules are measured against
- When several events land on one candle they are stacked clear of the wick instead of printing on top of each other, with the gap scaled to the Bollinger Band width so it looks right on every symbol
- Automatic object cleanup — remove the indicator and the chart is spotless
Chart = Alerts, Always
- Drawing and alerts come from ONE state machine over the same rules
- Structure alerts fire on the candle close; touch alerts fire the moment the level is reached, and never fire twice for the same event
- Whatever fires an alert is exactly what you see on the chart
Alerts (off by default)
- 14 alert types: CSM, MTM, EX, MLV, CSD and MTP for the Upper and the Lower cycle, plus Re-Entry Upper and Re-Entry Lower
- The message names the exact re-entry it is — CSD, MTM or CSM — so you always know which one fired
- 3 delivery channels: Popup, Push Notification, Email
- Every alert message includes event, price, symbol, timeframe and time
Inputs
- Lines: BB Period, BB Deviations, BB Shift (visual), the twelve LW MA lengths, EMA Period
- Pattern Types: CSM, MTM, EX, MTP, MLV, CSD, RE
- Line Style: show Bollinger Bands / LW MAs / LW MA 6-9 Band / EMA, and a colour for each family
- Labels: Scan Length (closed candles), font, font size, label gap
- Label Colors: one per event and side
- Alerts: master switch, Popup / Push / Email, and a switch per alert type
How to Use
Attach the indicator to any symbol and any timeframe. Read the sequence rather than the individual labels: a CSM says momentum has arrived, the EX that follows it is the candle that turns, the MTP is where that turn is expected to pay out, and an MLV or a CSD tells you the band is no longer being respected. MTM and RE mark the places where an existing move offers a second entry. The Pattern Types switches let you strip the chart down to the part of the sequence you actually trade. For best results combine with higher-timeframe structure and your own trade plan.
Important Notes
- Scan Length controls how far back the sequence is drawn; the state machine is replayed from scratch over that range on every candle close, so the chart always shows what the closed candles produced
- Push notifications require your MetaQuotes ID in MT5 (Tools -> Options -> Notifications); email alerts require SMTP settings
- Alerts work while the terminal is running
- Default colours are tuned for dark charts — all colours are fully adjustable for light themes
- This indicator is a market-structure tool, not financial advice. Trading involves risk — always use proper risk management
Creator: RWBTradeLab
If you find this indicator useful, please leave a review and share your feedback.

Пользователь не оставил комментарий к оценке
— RWBTradeLab