diagonal line

Viewing 4 posts - 1 through 4 (of 4 total)
  • #72488
    Seb

    Hi, I want to draw a line from the highest[20](high) to the highest[10](high) with the Drawline function. But for that I need the barindex of each highs. How to?

    #72491

    Try this one (not tested)

     

    now you’ll have two bars and two prices to draw a line or a segment.

    #72566
    Seb

    Thank you much, it works if I put [i] behind BarIndex! It’s not possible though to use a diagonal line in ProBacktest, as it seems to me.

    #72567

    You are right, my fault!

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

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