PROTECTED SOURCE SCRIPT
ZigZag Strict & Smart Divergence

This is not a traditional ZigZag. This script implements an advanced State Machine designed to filter market noise and identify only the most significant price swings (Major Turning Points) .
The core strength lies in its Strict AND Confirmation logic: a new swing is confirmed only when two conditions are met simultaneously: sufficient Price Deviation (e.g., 0.4%) AND sufficient Time/Bar Count (e.g., 5 bars) . This ensures the indicator is Non-Repainting and highly reliable.
Divergences (Regular and Hidden) are calculated exclusively between these Confirmed and Frozen extreme points, providing high-probability reversal and continuation signals, free from the noise of minor price fluctuations. Use this tool to visualize true market structure and execute precision trades based on validated momentum shifts.
The core strength lies in its Strict AND Confirmation logic: a new swing is confirmed only when two conditions are met simultaneously: sufficient Price Deviation (e.g., 0.4%) AND sufficient Time/Bar Count (e.g., 5 bars) . This ensures the indicator is Non-Repainting and highly reliable.
Divergences (Regular and Hidden) are calculated exclusively between these Confirmed and Frozen extreme points, providing high-probability reversal and continuation signals, free from the noise of minor price fluctuations. Use this tool to visualize true market structure and execute precision trades based on validated momentum shifts.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。