OPEN-SOURCE SCRIPT

VSA Highlight & Relative Strength of Volume [odnac]

152
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:
  • 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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。