The ZigZag is a not a trend following indicator which ignores smaller price movements eliminating noise and random price fluctuations.

HDFC Bank
In the above setup, distance field of the ZigZag indicator is set to 0.1%. It means it will ignore all price movements less than 0.1%. This is the closest indicator that shows Swing Highs and Swing Lows connecting them.

But it also gives many false positive as shown in last trades. So I developed my own indicator namely Bounce Indicator which is available at TradingView – https://www.tradingview.com/script/1RhSSvdK-Bounce-Indicator/

Green Triangle under a candle is a Swing Low.
Red Triangle above a candle is a Swing High.

The horizontal black lines on each Swing Highs and Swing Lows make the Swing Chart.
Connecting the Swing Highs and Swing Lows gives us our Bounce Indicator.

United spirits

But ZigZag Indicator in Zerodha Kite with 0.1% as distance works like a charm!