PROTECTED SOURCE SCRIPT

DubleB_basic.ver

140
Title:
Final Combo: Bollinger Bands + 5 SMAs + Cross Signals + Dual Pierce + Hammer Alerts

Description:
This indicator combines multiple technical tools into one comprehensive package:

Bollinger Bands:
• BB (Length 4, StdDev 4, source: Open, no midline)
• BB (Length 20, StdDev 2, source: Close, with SMA midline)

Moving Averages (5 lines):
• SMA 5, 20, 60, 120, 240
• Each line has customizable color, style, and visibility toggle

Cross Signals:
• 5/20, 60/120, 60/240, 120/240 crossovers
• Plot markers with customizable style and colors
• Alerts triggered instantly when the cross forms

Dual Bollinger Pierce:
• Signals when a candle pierces both the 4,4 and 20,2 Bollinger Bands simultaneously
• Alerts notify as “Double BB” event

Candlestick Patterns:
• Hammer and Inverted Hammer detection (with relaxed conditions)
• Signals only confirmed at bar close
• Alerts notify as “Hammer detected” or “Inverted Hammer detected”

Alerts:
• All signals (crosses, double BB pierce, hammers) come with built-in alertcondition()
• Alert messages include symbol name and timeframe automatically


How to Use:

Add the indicator to your chart

Configure moving averages, colors, and marker styles as needed

Set alerts directly from the chart using “Add Alert” → select the conditions you want

Ideal for traders who need combined volatility, trend, and candlestick reversal signals in one tool

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.