nrp zig zag on close

 

Hi,

I'm looking for a non-repainting version of the zig zag indicator (it doesn't draw the last leg: that's why it does not "repaint") calculated only on the close, not the high and low (like the standard version).

 
take from here & make your own changes
Reason: