OPEN-SOURCE SCRIPT
VSA Highlight & Relative Strength of Volume [odnac]

This is a TradingView indicator combining VSA (Volume Spread Analysis) signals with a relative strength of volume visualization.
The indicator has two main parts:
1. VSA Volume Highlight:
2. Relative Strength of Volume:
Inputs include:
The indicator is designed to help traders visually identify key volume patterns and analyze buying and selling pressure in the market.
The indicator has two main parts:
1. VSA Volume Highlight:
- Detects common VSA signals, including Stopping Volume, Buying Climax, No Supply, No Demand, Test, Up-thrust, Shakeout, Demand Absorption, and Supply Absorption.
- Supports a trend filter using a user-selectable moving average type (SMA, EMA, WMA, or VWMA) and length.
- Calculates spread and volume moving averages to determine wide/narrow spreads and high/low volume relative to the averages.
- Determines relative bar positions (close near high, close near low, or mid-close) to categorize VSA signals.
- Optionally colors the background based on the detected VSA signal.
- Supports alerts for each VSA signal type.
2. Relative Strength of Volume:
- Splits total volume into buying and selling components based on the candle’s high, low, and close.
- Buying volume is calculated as volume times the proportion of the candle’s close above the low.
- Selling volume is calculated as volume times the proportion of the candle’s close below the high.
- Plots buying and selling volume as colored columns in the pane.
- Plots total volume in the status line colored according to the dominant side (buying or selling).
Inputs include:
- Toggle visibility for each VSA signal.
- Trend filter options (type and length).
- Volume and spread moving average lengths and multipliers for high/low volume and wide/narrow spread detection.
- Thresholds for close positions near high or low, and for identifying Buying Climax.
- Opacity for VSA volume highlights.
The indicator is designed to help traders visually identify key volume patterns and analyze buying and selling pressure in the market.
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.