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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。