PROTECTED SOURCE SCRIPT
ZigZag Strict + Filtered 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. Подробнее читайте в Условиях использования.