📊 Indicator Overview
This is a Bollinger Bands indicator enhanced with a flexible alert system. It calculates the standard three bands:
• Upper Band = Moving Average + (Deviation × Standard Deviation)
• Lower Band = Moving Average – (Deviation × Standard Deviation)
• Middle Band = Simple Moving Average
The bands are plotted directly on the chart, just like the standard Bollinger Bands.
🔔 Alert System
Unlike the default indicator, this version adds customizable alerts.
• Independent band settings: Each band (upper, lower, middle) has its own alert configuration.
• Trigger types available:
• Equal → Price touches the band exactly.
• Crosses Above → Price moves from below to above the band.
• Crosses Below → Price moves from above to below the band.
• All → Any of the above conditions.
• None → Disable alerts for that band.
📢 Alert Output
When a condition is met:
• A pop-up message appears with details (e.g., “Price crossed ABOVE Upper Band at 1.23456”).
• A sound alert plays ( by default, customizable).
• One alert per bar safeguard ensures you don’t get spammed if price hovers around a band.
⚙️ User Inputs
• Bands settings: Period, Shift, Deviation.
• Alert settings: Trigger type per band, pop-up on/off, sound on/off, sound file name.
✅ Benefits
• Provides real-time notifications when price interacts with Bollinger Bands.
• Lets traders fine-tune alerts per band to match their strategy (e.g., breakout detection, mean reversion signals).
• Prevents alert flooding with the one-alert-per-bar logic.