Is it possible to set the line width by DRAWSEGMENT(x1, y1, x2, y2)?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #265790 quote
    thomas2004chthomas2004ch
    Participant
    Senior

    as titled

    #265792 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Hi,

    you can make the segment wider with the use of the optional keyword STYLE, with a line or a dottedline (4 different dots available), and a thickness as an integer from 1 to 5.

    Examples:

    DRAWSEGMENT(x1, y1, x2, y2) STYLE(line,2)

    DRAWSEGMENT(x1, y1, x2, y2) STYLE(line,5)

    DRAWSEGMENT(x1, y1, x2, y2) STYLE(dottedline1,3)

    STYLE


    thomas2004ch and Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Is it possible to set the line width by DRAWSEGMENT(x1, y1, x2, y2)?


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JC_BywanJC_Bywan
10 hours, 33 minutes ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/23/2026
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...