The angle to the vertical (if memory is OK - double check me) in radians of a line with slope x = atan(x).  And the angle in degrees is 45 * atan(x) / atan(1).
 
Bill
 
 
----- Original Message -----
From: "Charles J. Dudek" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 23, 2006 6:47 PM
Subject: [amibroker] Never Took Trigonometry

>
> I don't know how to convert a slope value (LinRegSlope) to an angle.
> I took a line from the Woodie's CCI script and converted it, but I
> don't think it's right.
>
> PI = atan(1.00) * 4;
> angle = round(180 * acos(1/LinRegSlope(C,sp)) / PI);

> Chuck Dudek
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
>
http://www.amibroker.com/support.html
>

> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> To unsubscribe from this group, send an email to:
>   
[EMAIL PROTECTED]
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.5/425 - Release Date: 08/22/06
>
>
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to