Mickey's BB

This indicator combines the power of Bollinger Bands with engulfing candle patterns to identify high-probability reversal points.
โ Buy Signal: Triggered when a red candle touches the lower Bollinger Band and is engulfed by a green candle within the next few candles.
โ Sell Signal: Triggered when a green candle touches the upper Bollinger Band and is engulfed by a red candle within the next few candles.
โ Smart Lookahead: Scans up to X candles ahead (user-defined) to confirm engulfing reversals โ reducing noise in sideways markets.
โ Dynamic Stop-Loss & Target: Automatically plots SL/TP levels based on user-defined % thresholds.
โ SL HIT Labels: Highlights exactly when a stop-loss is breached, giving clear visual feedback on trade failures.
โ Adaptive Market Filter: Signals are only shown when Bollinger Band width exceeds a minimum threshold โ filtering out weak/noise signals in low volatility.
๐ Ideal for reversal traders, scalpers, and those who love combining price action with volatility-based setups.
๐ ๏ธ Customizable Parameters:
- SMA Period & Std Dev Multiplier (for BB)
- SL/Target % levels
- Engulf Lookahead range
- Minimum BB width to filter signals
๐ฏ Build it into your strategy, set alerts, or just use it visually to time your entries and exits with clarity.
This indicator combines the strength of Bollinger Bands with engulfing candle patterns to generate smart reversal signals. It's designed to help you catch clean entries at the edge of volatility expansion.
๐ What's New in This Version:
โ Refined Stop Loss (SL) Logic:
The SL is now determined by either a user-defined percentage or a candle-based level from the engulfed candle body.
Whichever SL is hit first triggers the trade exit.
โ Clear SL Prompting:
When a Stop Loss is hit, the label clearly states whether it was the Custom SL or the Candle SL, giving full transparency on trade exits.
โ Candle-Close Confirmations:
All signals (Buy, Sell, SL Hit, Target) are confirmed only after candle close โ no repainting noise.
โ Visual Clarity:
๐ฏ Target and โ SL prompts are color-coded and positioned with intent:
SLs: white background
Targets: blue background
Arrows are flipped depending on trade direction
๐ Built-in alerts make it easy to stay on top of trades in real time.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda โ ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda โ ketahui lebih lanjut di sini.