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.