[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] Re: trendline angle degree



PureBytes Links

Trading Reference Links

I think  below is correct

Look at the atan function:


SYNTAX	atan( Y DATA ARRAY, X DATA ARRAY )

FUNCTION	Returns the arc tangent of Y/X.  The value is returned in degrees 
from 0 to 359.9.  The degrees are returned increasing counter clockwise with 
0 degrees at the 3 position of the clock, 90 degrees at the 12 position etc.

EXAMPLE	The formula "atan( 10, 0 )" returns 90.

You are feeding the funciton the slope of the line (rise/run), where Y Data 
array is rise and X data array is run.

This will be different from your image which seems to show a horizontal line 
with a 90 degree angle.
It also appears that you are returning angles without regard to direction of 
slope.

Hope the above helps.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/