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 open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.