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.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.