You may have to loop through the zigzag indior to find the bars which have the values. You might have to alter the code that is zigzag.