OPEN-SOURCE SCRIPT
Volume Surge by Mashrab

The "Volume Surge" indicator is like a simple market health checkup. It looks at how much of an asset (like a stock or crypto) is being traded right now and compares it to the recent past. Think of it as a way to quickly see if interest in that asset is suddenly spiking, fading, or staying the same.
The indicator shows this information in an easy-to-read table right on your chart.
How it works:
The indicator keeps track of two main things for you:
Current Volume: The total trading volume over the last "N" days (or whatever time period you choose).
Previous Volume: The total trading volume over the period right before that
Then, it gives you a summary:
The "Ratio" tells you how many times bigger or smaller the current volume is.
The "Percent Change" shows the percentage jump in volume.
How to use it:
This indicator helps you see when something interesting might be happening. Here are a few ways traders use it:
Confirm Breakouts: If a stock breaks above a key price level and the indicator shows a huge volume surge, it’s a stronger signal that the move is real and not a false alarm.
Spot Reversals: If a stock has been trending up but the volume starts to drop off, it could mean the trend is losing steam. A sudden, massive volume surge on a down day might indicate panic selling, which can sometimes happen right before the price turns around.
Check Trend Strength: A healthy trend usually has increasing volume going in the same direction. For example, if a stock is in an uptrend, you want to see lots of volume on the days it goes up.
This indicator isn't a crystal ball, but it's a great tool for understanding the "who" and "how much" behind a price move. It helps you see when a price change is backed by a lot of market activity, which often makes the move more trustworthy.
The indicator shows this information in an easy-to-read table right on your chart.
How it works:
The indicator keeps track of two main things for you:
Current Volume: The total trading volume over the last "N" days (or whatever time period you choose).
Previous Volume: The total trading volume over the period right before that
Then, it gives you a summary:
The "Ratio" tells you how many times bigger or smaller the current volume is.
The "Percent Change" shows the percentage jump in volume.
How to use it:
This indicator helps you see when something interesting might be happening. Here are a few ways traders use it:
Confirm Breakouts: If a stock breaks above a key price level and the indicator shows a huge volume surge, it’s a stronger signal that the move is real and not a false alarm.
Spot Reversals: If a stock has been trending up but the volume starts to drop off, it could mean the trend is losing steam. A sudden, massive volume surge on a down day might indicate panic selling, which can sometimes happen right before the price turns around.
Check Trend Strength: A healthy trend usually has increasing volume going in the same direction. For example, if a stock is in an uptrend, you want to see lots of volume on the days it goes up.
This indicator isn't a crystal ball, but it's a great tool for understanding the "who" and "how much" behind a price move. It helps you see when a price change is backed by a lot of market activity, which often makes the move more trustworthy.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.