zigzag-tradingview This is how I get the points on the default Tradingview ZigZag chart. You can refer to it if you want (code is very sketchy, so please ignore it)