Editing zig zag indicator

 

Hello all,

Am trying to put an edit into the standard zig zag indicator. I want to change the depth calculation from bar based to percentage based. That is new highs or lows won't be drawn until price has moved a certain percentage from the last high or low.


If I failed to make anything clear just ask.

Ideas and thoughts are welcome

Many thanks in advance