How do I code(in 10.2) a horizontal line?

Forums ProRealTime English forum ProBuilder support How do I code(in 10.2) a horizontal line?

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

    Hello Nicolas,

    I am trying to code the last price of an indicator as a horizontal line, visually similar to a bid ask. Ideally the length of the line would be truncated.

    I would be very grateful for your help.

    Robert

    #20551

    What do you call exactly the “last price of an indicator”? Do you only want to draw the last value of the indicator? Maybe an example would make it brighter to me 🙂 Thank you.

    #20554

    Yes thats what I am trying to do, but as a straight horizontal line on the right hand side of the chart.But not sure if it can be done in 10.2.

    sort of thinking …(it’s wrong I know)

    for close[5] to close[0] do

    B=averge[x](close)

    etc

    Robert

    #20557

    Nothing can be drawn at the right side of the chart “only”. But we can draw an horizontal line that will cross the entire chart like in the example attached (5 periods moving average current value), but it is only for new version 10.3.

    #20585

    I suspected as much. Thanks for your replies.

    R

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