PureBytes Links
Trading Reference Links
|
From: http://www.flexsoft.com/
TAS - Technical Analysis Scanner
Technical Analysis Functions
Chap: 23.1.5 Angle - Angle of a line p.138
Usage: ANGLE( a )
Returns: Number
Description :
returns the angle in degrees of the line described by the array
'a'. This function is only usable on an array that has been
created by either linreg or linreg2.
Do not confuse the angle returned by this function with the angle
as viewed on a chart of a security. When you view a chart, your
charting program most likely has scaled your view so that the
zero y-axis is not visible. In addition, the angle on a screen
monitor is distorted by the aspect ratio of your monitor
(typically 4 wide by 3 high). The angle returned by this function
is a true mathematical angle which is calculated using the (0,0)
origin.
Example:
X = ANGLE(LINREG(C,-20,0));
WriteLn(`Angle over last 20 close bars is `,X,' degrees');
This computes the angle in degrees of the simple linear
regression line of the closing price over the last 20 days.
Thought the above could be of any help, haven't used it myself though,
Regards,
Ton Maas
Ms-IRB@xxxxxxxxx
=========================================================
===========================================================
-----Oorspronkelijk bericht-----
Van: Scott Roycraft <roycraft@xxxxxxxxxxxxx>
Aan: MetastockEmail <metastock-list@xxxxxxxxxxxxx>
Datum: zaterdag 11 juli 1998 2:57
Onderwerp: Trendline By Angle Problem
>Hello,
>
>Has anyone successfully used Metastock 6.5's Trendline By Angle? I place it
>on my chart and specify an angle. Then when I compare what I see on the
>screen to what I see on my printed version of the chart. The lines are way
>off! To me it looks like the printed version is accurate. Does anyone know
>of a work-around?
>
>thanks,
>Scott
>
>
|