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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。