How to change line thickness

Forums ProRealTime English forum ProBuilder support How to change line thickness

Viewing 5 posts - 1 through 5 (of 5 total)
  • #159858

    Hi,

    I have this indicator that draws a line, but I would need it to be thicker, is that possible?

     

    Thanks

     

    #159859

    Hi,

    You posted in French forum, please see rules in yellow box at bottom of this page, in particular here the rule about having forum of choice and language used aligned, thanks. I’ll move your post to the English probuilder forum.

    As for the answer to your query, assuming you’re in v11, just add style(line,2) at the end of your drawsegment line (1 is default value you see, 2 is slightly bigger, other choices are 3, 4 or 5 only):

     

    #159863

    Désolé, je pensais que c’était le forum en anglais.

    Je suis toujours sur la version 10.3 et votre suggestion ne semble pas marcher.
    Auriez-vous un code pour la version 10.3?
    Merci d’avance

    Sorry, I thought this was the English forum.

    I’m still on version 10.3 and your suggestion doesn’t seem to work.
    Do you have a code for version 10.3?
    thank you in advance

     

    #159873

    Style won’t work with drawsegment in v10.3

    However, your segment seems to be horizontal (height “a” for both points), and a zero width rectangle would appear horizontally and slightly thicker than a segment, you could try this as a workaround to replace only horizontal segments, and see if it’s thicker enough for your needs, until your broker switches to v11:

     

    #159874

    Thanks, much appreciated

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

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