OPEN-SOURCE SCRIPT
Volume vs Price Impact Z-Score

Volume vs Price Impact Z‑Score
This indicator measures how disproportionate the traded volume is relative to the price movement of a candle.
Step 1: Volume-to-Price Impact (VPI)
VPI = Volume / (abs(Close - Open) + ε)
(or optionally using High - Low as the price range)
Step 2: Z‑Score Standardization
Z = (VPI - SMA(VPI, length)) / STDEV(VPI, length)
Interpretation:
Z > 2 → High volume with little price movement → possible absorption (accumulation/distribution).
Z < -2 → Large price move with low volume → weak or illiquid move (potential false breakout).
Use cases:
Detecting accumulation/distribution phases.
Highlighting false breakouts or weak price moves.
Supporting entry/exit decisions based on market efficiency (volume vs. price impact).
This indicator measures how disproportionate the traded volume is relative to the price movement of a candle.
Step 1: Volume-to-Price Impact (VPI)
VPI = Volume / (abs(Close - Open) + ε)
(or optionally using High - Low as the price range)
Step 2: Z‑Score Standardization
Z = (VPI - SMA(VPI, length)) / STDEV(VPI, length)
Interpretation:
Z > 2 → High volume with little price movement → possible absorption (accumulation/distribution).
Z < -2 → Large price move with low volume → weak or illiquid move (potential false breakout).
Use cases:
Detecting accumulation/distribution phases.
Highlighting false breakouts or weak price moves.
Supporting entry/exit decisions based on market efficiency (volume vs. price impact).
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.