ZigZagSignal

Category: trend, market_structure

A structural ZigZag indicator that identifies swing highs and lows using Depth, Deviation, and Backstep, featuring visual arrows, trendline connections, and alerts with a configurable confirmation delay.

Formula

Standard ZigZag Algorithm: \n1. Identify local extremes using `iHighest` and `iLowest` over `InpDepth` window.\n2. Filter extremes using `InpDeviation` (minimum price change).\n3. Re-evaluate within `InpBackstep` window to ensure the most extreme point is selected.\n4. Second pass to ensure strictly alternating high-low peaks by removing intermediate points.

Inputs

See signal primitives and every published strategy that uses ZigZagSignal on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home