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.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.