Lines ahoy!

 

Take a look at the attached picture.  See how the lines go the next candle?  How can I get rid of that angle line?  Note: this is a Pivot Point indicator.  So, I just want sets of straight lines without the "slides" in between.  Thanks.

 

 
When the value changes, clear the previous buffer element. There will be a two bar gap between between the changes
Use two buffers in alternation. Extend the old buffer to the new index if you don't want the one bar gap.
 
WHRoeder:
When the value changes, clear the previous buffer element. There will be a two bar gap between between the changes
Use two buffers in alternation. Extend the old buffer to the new index if you don't want the one bar gap.
Thanks WHRoeder.  Will give it a whirl.