Dual-Period ZigZag Upgrade

Job ID: 40494375

Budget: £20 – £250 GBP

I’m working with the free, open-source Swing High/Low (ZigZag) [ChartPrime] indicator on TradingView and need a focused enhancement in Pine Script v5. The goal is to see two independent ZigZag calculations on the same chart—think 20-period swings side-by-side with a faster 7-period view—while keeping both settings fully editable from the inputs panel.

To keep the visual clean, each set of swing arrows has to be vertically offset so they never sit on top of one another. I’d also like separate color pickers for each data set so I can quickly distinguish the slow and fast swings without diving into the code.

No alerts or additional features beyond what’s described are necessary.

Deliverable
• A single, commented Pine Script file that I can paste straight into TradingView, complete with two period inputs, two color inputs, and automatic vertical stacking of the arrows.