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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.