ZigZag Indicator (ZigZag)
Filters out minor price movements by connecting significant pivot highs and lows. A new pivot is only confirmed once price reverses by at least the configured percentage (deviation).
Live Demo
Pick a market regime to see how ZigZag(1) reacts:
Usage
import {} from 'trading-signals';
// ZigZag yields results once 1 input has been added
const = new ({: 5});