Drawsegment to Highest/Lowest point

Forums ProRealTime English forum ProBuilder support Drawsegment to Highest/Lowest point

Viewing 2 posts - 1 through 2 (of 2 total)
  • #53387

    Hi!

    I would like to draw segments to the specific tops and bottoms of the Highest[x](high) and lowest[x](low) points.

     

    As for now i have written this:

    but this only draws WHEN a specific high or low actually was the highest/lowest point so far.

     

    I cant get around how i would write if i want the segments to be drawn to the actual CURRENT highest/lowest points.

     

    So the issue is finding the x (or) barindex-values that tells probuilder where to draw the segments.

    #53682

    If you want to draw only the last highest high and lowest low segments, just add this line at the top of your code:

     

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login