Retrieve Ray value of TrendLine

Back to topics list To post a new topic, please log in or register
avatar
20
niquedegraaff 2016.06.17 16:41
 

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 

 

avatar
1236
avatar
20
niquedegraaff 2016.06.17 17:00 #
 

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

 

Back to topics list  

To add comments, please log in or register