How to hide a line between two datapoints

Forums ProRealTime English forum ProBuilder support How to hide a line between two datapoints

Viewing 7 posts - 1 through 7 (of 7 total)
  • #129239

    Hi,

    I have a simple code that draws a line at the market daily closing price (5pm EST), but I don’t know how to hide the oblique line that connects 2 consecutive daily closing prices.

    The code is:

    if Hour=22 then
    a=close
    endif
    return a

    Does anyone know how to hide the oblique that connects each “a” (see chart for more clarity)?

    Thanks

    #129253

    You can’t, with RETURNed data.

    You have to draw those segments yourself using DRAWSEGMENT.

    #129256

    I moved your topic to ProBuilder since it’s related to an indicator.

    #129257

    Try this:

     

    1 user thanked author for this post.
    #129274

    Thanks a lot Roberto!

     

     

    #129283

    Quick question Roberto, how do I change the style of the segment please?

     

    #129294

    Only v11 allows to change it (while RETURNed data can always be customized with properties, even in v10.3), if you are using it you can replace line 5 with:

    In v10.3 you can only add COLOURED to change colour.

    1 user thanked author for this post.
Viewing 7 posts - 1 through 7 (of 7 total)

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