Program trendline between any two points on RSI

Forums ProRealTime English forum ProBuilder support Program trendline between any two points on RSI

Viewing 3 posts - 1 through 3 (of 3 total)
  • #200316

    Hello All,

    I am trying to code an indicator that will draw a line between two points on RSI like I have attached in the screen shot.

    I am wondering what the best way to get my line coordinates is for  DRAWLINE(x1,y1,x2,y2)?

    Once I have these I thought I might be able to duplicate this line by calculating the slope with rise/run so I can have duplicates of the line on the indicator.

    I hope this will also allow me to get the value of the line at any given point in time.

    Any advice would be greatly appreciated,

    Many thanks,

    Tim.

     

    #200335
    JS

    Hi @tabarrington

    We miss your screen shot… 😉

     

    1 user thanked author for this post.
    #200345

    Many thanks, I actually just figured it out!

     

    Thank you very much!!

    1 user thanked author for this post.
    avatar JS
Viewing 3 posts - 1 through 3 (of 3 total)

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