OPEN-SOURCE SCRIPT
Gemini Smart SMA Pro + Wyckoff V2 (Enhanced Cloud)

The Smart SMA Pro + Wyckoff V2 is an advanced trend-following and market-cycle indicator built for traders who utilize Wyckoff Theory and Volume Spread Analysis (VSA). It is specifically designed to identify the transition from "Cause" (Squeeze/Accumulation) to "Effect" (Expansion/Markup).
By analyzing the volatility spread between two customizable Moving Averages and validating movements with relative volume, this tool helps traders stay out of sideways markets and enter only when high-conviction momentum is present.
Key Features
Wyckoff Phase Detection: Automatically detects Squeeze (Accumulation/Distribution) and Expansion (Markup/Markdown) phases.
Intelligent Dynamic Cloud: The cloud between the MAs changes its transparency dynamically based on the Volume Ratio and trend slope. Darker colors indicate high-volume trend confirmation.
Dual-Layered SOS/SOW Signals: * SOS (Sign of Strength): A Yellow Dot appears on a bullish squeeze breakout. A Yellow Arrow is added only if the move is validated by High Relative Volume.
SOW (Sign of Weakness): An Orange Dot appears on a bearish breakout, with an Orange Arrow appearing only if supported by high volume.
Live Multi-Data Dashboard: A real-time table displaying the status of Fast/Slow MAs, the current market cycle stage, and the Volume Ratio.
Professional Alerts: Built-in alerts for Sign of Strength (SOS) and Sign of Weakness (SOW) breakouts.
How to Trade with it
Grey Cloud (Squeeze): Market is building a "Cause." Avoid trading and prepare for a breakout.
Yellow Dot + Arrow: This is a Confirmed SOS. It indicates institutional participation and a high probability of a new Markup phase.
Buy/Sell Labels: Standard trend entries based on price crossing the Signal Line (Fast MA). Use these to join an already established trend.
Dashboard Monitoring: Check the "Vol. Ratio" to see if the current move has enough strength to sustain the expansion.
How this Indicator was Created
This project is the result of a cutting-edge collaborative development process between a human trader and Gemini (Google’s AI).
Logic Synthesis: We combined traditional technical analysis with AI-optimized algorithms to calculate the Volatility Ratio, ensuring the "Squeeze" detection is more accurate than standard Bollinger-based tools.
Conditional Visuals: The logic was refined through multiple iterations to create a "Smart Visual" system. For instance, the Volume-Validated Arrow was an architectural decision to separate minor breakouts from high-conviction institutional moves.
Code Optimization: The entire script was written in Pine Script® V6, ensuring maximum performance, low latency on charts, and a clean, responsive Dashboard interface using advanced table objects.
----------------------------------------------------------------------------------------------------------------------------------------------------
The Partnership: This indicator represents the perfect synergy between human market intuition and AI’s computational precision, resulting in a tool that is both mathematically sound and visually intuitive for professional use.
By analyzing the volatility spread between two customizable Moving Averages and validating movements with relative volume, this tool helps traders stay out of sideways markets and enter only when high-conviction momentum is present.
Key Features
Wyckoff Phase Detection: Automatically detects Squeeze (Accumulation/Distribution) and Expansion (Markup/Markdown) phases.
Intelligent Dynamic Cloud: The cloud between the MAs changes its transparency dynamically based on the Volume Ratio and trend slope. Darker colors indicate high-volume trend confirmation.
Dual-Layered SOS/SOW Signals: * SOS (Sign of Strength): A Yellow Dot appears on a bullish squeeze breakout. A Yellow Arrow is added only if the move is validated by High Relative Volume.
SOW (Sign of Weakness): An Orange Dot appears on a bearish breakout, with an Orange Arrow appearing only if supported by high volume.
Live Multi-Data Dashboard: A real-time table displaying the status of Fast/Slow MAs, the current market cycle stage, and the Volume Ratio.
Professional Alerts: Built-in alerts for Sign of Strength (SOS) and Sign of Weakness (SOW) breakouts.
How to Trade with it
Grey Cloud (Squeeze): Market is building a "Cause." Avoid trading and prepare for a breakout.
Yellow Dot + Arrow: This is a Confirmed SOS. It indicates institutional participation and a high probability of a new Markup phase.
Buy/Sell Labels: Standard trend entries based on price crossing the Signal Line (Fast MA). Use these to join an already established trend.
Dashboard Monitoring: Check the "Vol. Ratio" to see if the current move has enough strength to sustain the expansion.
How this Indicator was Created
This project is the result of a cutting-edge collaborative development process between a human trader and Gemini (Google’s AI).
Logic Synthesis: We combined traditional technical analysis with AI-optimized algorithms to calculate the Volatility Ratio, ensuring the "Squeeze" detection is more accurate than standard Bollinger-based tools.
Conditional Visuals: The logic was refined through multiple iterations to create a "Smart Visual" system. For instance, the Volume-Validated Arrow was an architectural decision to separate minor breakouts from high-conviction institutional moves.
Code Optimization: The entire script was written in Pine Script® V6, ensuring maximum performance, low latency on charts, and a clean, responsive Dashboard interface using advanced table objects.
----------------------------------------------------------------------------------------------------------------------------------------------------
The Partnership: This indicator represents the perfect synergy between human market intuition and AI’s computational precision, resulting in a tool that is both mathematically sound and visually intuitive for professional use.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。