OPEN-SOURCE SCRIPT
Volume Expansion vs 20-Day Average

This indicator compares the current bar’s volume with the average volume of the previous 20 periods.
It highlights moments of volume expansion, where trading activity exceeds its recent norm, often associated with increased participation, momentum, or institutional interest.
The indicator is designed to be used as a filter, not a standalone signal. It is particularly useful for confirming breakouts, momentum setups, or avoiding low-quality trades during low-liquidity conditions.
Volume thresholds can be adjusted to require a minimum multiple of the average volume, allowing traders to focus only on meaningful volume surges.
It highlights moments of volume expansion, where trading activity exceeds its recent norm, often associated with increased participation, momentum, or institutional interest.
The indicator is designed to be used as a filter, not a standalone signal. It is particularly useful for confirming breakouts, momentum setups, or avoiding low-quality trades during low-liquidity conditions.
Volume thresholds can be adjusted to require a minimum multiple of the average volume, allowing traders to focus only on meaningful volume surges.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.