Horizontal daytrade lines

Forums ProRealTime English forum ProBuilder support Horizontal daytrade lines

Viewing 6 posts - 1 through 6 (of 6 total)
  • #159741

    Hi, I want to make an day trade indicator that plot 8 (or more) colored horizontal lines. The formula for every line has to be:  (but are not final)

    (openings price divide by 2 + 0.25) multiplied by 2  = 1st horizontal line blue

    (openings price /2 + 0.50) x2  = 2de horizontal line green

    (openings price /2 + 0.75) x2  = 3de horizontal line blue

    (openings price /2 + 1 ) x2  = 4th horizontal line yellow

    Then the same in minus

    (openings price /2 – 0.25) x2  = 1st horizontal line blue

    (openings price /2 – 0.50) x2  = 2de horizontal line green

    (openings price /2 – 0.75) x2  = 3de horizontal line blue

    (openings price /2 – 1 ) x2  = 4th horizontal line yellow

    The lines may run over whole chart with the price stated at the end right side. If possible, can I add in the program a small text on every line?

    Can someone help me starting so I can adjust it further? Thanks!

    #159832

    Sample code for your first line:

     

    #159883

    Thank you for this first line.

    Sorry this are my first steps into programming but it looks easy to further make the other lines myself.

    Thanks for get me starting.

    #160253

    I have already come this far, but I like to have the price displayed on each horizontal line. So the result of line1 on the horizontal line, result of line2 on line2 etc…..

    Maybe also thicker lines.

    Is this possible, I have not found this immediately here in the forum.

    Thanks

     

    #160257

    To use a variable value with DRAWTEXT add # before and after the variable name:

     

    #160265

    Thank you very much!

    Works like a charm.

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

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