Retrieve Ray value of TrendLine

 

Hey,

Is it possible to retrieve a Ray value of a drawn ray line in the past, Or do i have to calculate it myself (how?)

Thanks 

 

 

Thanks for both (especially the later, I was not able to do Algebra.. (lived on the street as a kid, no school for me) maybe it's time to learn some basics)



edit pseudo code: GOT IT

I draw the trend line between 1 and 25. (just for visualization)
I want to know the Y value of bar #38's line crossing. 

 


PriceA = 1.28975
PriceB = 1.29097

ChangeX = 25
ChangeY = MathAbs(PriceA - PriceB) // = 0.00122

m = ChangeY / ChangeX // = 0.0000488

y = m * 38 + PriceA // = 1.29160

Reason: