OPEN-SOURCE SCRIPT
Updated Volume Spike Alert

Indicator Features:
📊 Core Functionalities:
Exceptional Volume Detection:
Calculates volume in USD (volume × price)
Compares it against a 90-day average (3 months)
Configurable from 1 to 252 days
Visual Signals:
Green labels for bullish candles with high volume
Red labels for bearish candles with high volume
Displays excess percentage (e.g., +45.2%)
Dual Alert System:
AlertCondition: For manual alert configuration in TradingView
Alert(): Automated alerts with detailed information
⚙️ Available Settings:
Average Period: 1–252 days (default: 90 days)
Enable/Disable Alerts: Configurable checkbox
Show/Hide Labels: Visual control
Label Size: Tiny, Small, Normal, Large
Minimum Threshold: Minimum percentage required to trigger a signal
📋 Displayed Information:
On Labels:
Excess percentage (e.g., +67.3%)
Color based on candle direction
In the Table:
Current volume in millions USD
Average volume in millions USD
Excess percentage
Alert status (ACTIVE/NORMAL)
Calculation period
In Alerts:
Candle type (BULLISH 🟢 / BEARISH 🔴)
Symbol and current price
Current volume vs. average
Timeframe used
📊 Core Functionalities:
Exceptional Volume Detection:
Calculates volume in USD (volume × price)
Compares it against a 90-day average (3 months)
Configurable from 1 to 252 days
Visual Signals:
Green labels for bullish candles with high volume
Red labels for bearish candles with high volume
Displays excess percentage (e.g., +45.2%)
Dual Alert System:
AlertCondition: For manual alert configuration in TradingView
Alert(): Automated alerts with detailed information
⚙️ Available Settings:
Average Period: 1–252 days (default: 90 days)
Enable/Disable Alerts: Configurable checkbox
Show/Hide Labels: Visual control
Label Size: Tiny, Small, Normal, Large
Minimum Threshold: Minimum percentage required to trigger a signal
📋 Displayed Information:
On Labels:
Excess percentage (e.g., +67.3%)
Color based on candle direction
In the Table:
Current volume in millions USD
Average volume in millions USD
Excess percentage
Alert status (ACTIVE/NORMAL)
Calculation period
In Alerts:
Candle type (BULLISH 🟢 / BEARISH 🔴)
Symbol and current price
Current volume vs. average
Timeframe used
Release Notes
Updated code to show not only the amounts of stocks but the amount of USD for the volumen in different frecuencies.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.