OPEN-SOURCE SCRIPT
Volume Spike (Multi-Timeframe)

Volume Spike (Multi-Timeframe)
Overview
Volume Spike (Multi-Timeframe) evaluates traded volume against its moving average on a selected timeframe so traders can identify when activity departs from recent norms.
What it does
How to use it
Implementation notes
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
Overview
Volume Spike (Multi-Timeframe) evaluates traded volume against its moving average on a selected timeframe so traders can identify when activity departs from recent norms.
What it does
- Calculates volume on the chart timeframe or any alternate timeframe you select in the inputs.
- Builds a configurable simple moving average to establish a rolling volume benchmark.
- Applies distinct colors to spike and baseline volume columns to highlight deviations.
- Plots the related moving-average line for reference.
- Registers an alert condition when volume closes above its moving-average baseline.
How to use it
- Choose the desired Volume Timeframe (leave blank to inherit the chart’s period).
- Tune the Volume MA Length to balance responsiveness and noise.
- Adjust the spike, base, and MA colors to align with existing chart styling.
- Enable the alert condition when automated notification of spikes is needed.
Implementation notes
- Timeframe selection is applied consistently to both the raw volume series and its moving average.
- Color inputs allow visual adjustments without modifying code.
- Alert messaging specifies that the event is a volume spike relative to the selected timeframe baseline.
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.