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

[EquisMetaStock Group] Re: trendline angle degree



PureBytes Links

Trading Reference Links

Hi there,

To get the angle is not easy.  If you look at the properties of a
line, it gives you the start and end date and value, which you could
use as (x0,y0) and (x1,y1) coordinates and from that calculate the
angle in something like Excel.  Using something like

    angle = asin(y/r) = asin(y/(sqrt(y^2+x^2))

may do the trick.

Regards
MG Ferreira
TsaTsa EOD Programmer and trading model builder
http://www.ferra4models.com
http://fun.ferra4models.com 


--- In equismetastock@xxxxxxxxxxxxxxx, "meta" <meta_stock@xxxx> wrote:
> Hi,
> I'm new at the group,
> I need a little help
> I need a program, a plug-in or a formula for metastock (or excel) tells
> trendline angle degree, +/- as in figure
> http://img151.echo.cx/img151/3320/noname0rf.gif
> any help?
> TIA





 
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/