PROTECTED SOURCE SCRIPT
VSA Full Analyzer + Confirmation Coloring

This script is a Volume Spread Analysis (VSA) tool designed to identify both strength and weakness signals in the market by analyzing volume, candle spread (high-low), and price action context. It helps traders interpret smart money activity and confirm or negate signals with the following candle.
🔍 Key Features:
Volume Analysis:
Uses a moving average (MA) and standard deviation (STD) to assess volume behavior.
Flags high/low volume bars and evaluates their spread (wide/narrow).
Price Action Context:
Evaluates whether the close is near the high, mid, or low of the bar.
Compares the current bar's volume and close to the previous 3 bars to detect trends or reversals.
Signal Detection:
Detects a variety of VSA patterns, including:
Weak Signals: No Demand, Weak Demand, No Supply, Upthrust, Reverse Upthrust, Effort to Fall, Shakeout, Hidden Selling
Strong Signals: Buying Effort, Buying Climax, Selling Climax, Stopping Volume, Test, Spring, Effort to Rise
Each signal is colored differently for visual clarity.
Confirmation & Negation:
Highlights the next candle if it confirms the signal (higher close + higher volume) or negates it (lower close + lower volume).
Confirmation = black bar
Negation = gray bar
Bar & Label Visualization:
Adds color-coded labels above or below candles with signal names.
Allows the option to disable the bar color change while keeping labels active.
🔍 Key Features:
Volume Analysis:
Uses a moving average (MA) and standard deviation (STD) to assess volume behavior.
Flags high/low volume bars and evaluates their spread (wide/narrow).
Price Action Context:
Evaluates whether the close is near the high, mid, or low of the bar.
Compares the current bar's volume and close to the previous 3 bars to detect trends or reversals.
Signal Detection:
Detects a variety of VSA patterns, including:
Weak Signals: No Demand, Weak Demand, No Supply, Upthrust, Reverse Upthrust, Effort to Fall, Shakeout, Hidden Selling
Strong Signals: Buying Effort, Buying Climax, Selling Climax, Stopping Volume, Test, Spring, Effort to Rise
Each signal is colored differently for visual clarity.
Confirmation & Negation:
Highlights the next candle if it confirms the signal (higher close + higher volume) or negates it (lower close + lower volume).
Confirmation = black bar
Negation = gray bar
Bar & Label Visualization:
Adds color-coded labels above or below candles with signal names.
Allows the option to disable the bar color change while keeping labels active.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.