OPEN-SOURCE SCRIPT
Selling Volume Spike Alert [Ale]

VS Alert — Selling Volume Spike Alert
This is the mirror image: it watches for unusually large bursts of selling volume.
It uses the same structure but flips the subject. It defines a bearish bar as close < open and treats that bar's volume as selling volume. In its pane the selling volume points up (red columns) as the protagonist, with buying volume pointing down (teal). The same 20-period volume MA is the baseline.
The spike math is identical — selling volume divided by the average gives the spike ratio, tagged ALTO at 2x and EXTREMO at 3x, with the same threshold lines and shaded band. Spikes recolor the bar, drop a 💧 or 🔻 label at the top, and tint the background. The info table (top-right) mirrors the buying version: current volume, MA, spike ratio, delta, and state. Alerts and alertcondition() hooks fire on high/extreme selling volume, with distinct names so they don't collide with the buying indicator's alerts. The read here is the opposite: big selling spike = potential bearish pressure / distribution or de-risking.
How to read them together: an extreme spike on BVS with nothing on SVS is clean buying; the reverse is clean selling pressure; simultaneous spikes on both panes suggest a climax or absorption event — worth caution since those often precede reversals.
This is the mirror image: it watches for unusually large bursts of selling volume.
It uses the same structure but flips the subject. It defines a bearish bar as close < open and treats that bar's volume as selling volume. In its pane the selling volume points up (red columns) as the protagonist, with buying volume pointing down (teal). The same 20-period volume MA is the baseline.
The spike math is identical — selling volume divided by the average gives the spike ratio, tagged ALTO at 2x and EXTREMO at 3x, with the same threshold lines and shaded band. Spikes recolor the bar, drop a 💧 or 🔻 label at the top, and tint the background. The info table (top-right) mirrors the buying version: current volume, MA, spike ratio, delta, and state. Alerts and alertcondition() hooks fire on high/extreme selling volume, with distinct names so they don't collide with the buying indicator's alerts. The read here is the opposite: big selling spike = potential bearish pressure / distribution or de-risking.
How to read them together: an extreme spike on BVS with nothing on SVS is clean buying; the reverse is clean selling pressure; simultaneous spikes on both panes suggest a climax or absorption event — worth caution since those often precede reversals.
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.