Has anyone ever had issue with trying to extract the angle of a Ray line? or even a standard trendline for that matter? I am trying to extract angle of the line and I am getting angle of 0. Basically with the following code:
double Angle = GetObject(name,OBJPROP_ANGLE);
I need to get the value on the current bar of a line that was drawn a while ago based on its angle. I can't use trig to get it with start and end points and with time, because most of the time, the time duration spans across weekends and it skews the math. Can someone help?
Thanks
double Angle = GetObject(name,OBJPROP_ANGLE);
I need to get the value on the current bar of a line that was drawn a while ago based on its angle. I can't use trig to get it with start and end points and with time, because most of the time, the time duration spans across weekends and it skews the math. Can someone help?
Thanks