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

[amibroker] Re: How to find EMA(C,34) slope in degrees for 2 period?



PureBytes Links

Trading Reference Links


What about the following?
 Is this correct for the last 2 period slope:

SlopeInDegrees = atan(LinRegSlope(EMA(C,34),2)) * 360 * 3.1476;

Thanks
Choco
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> well ROC(EMA(C,30),2) gives rate of change for 2 periods as percentage
> according to Help.
> Never thought about it before but it does not state percentage of ??,
> assume previous value
> To express in degrees, check some discussions over past month or so, I
> believe this was discussed andan answer code provided.
> 
> 
> On Sat, 19 Feb 2005 04:54:03 -0000, sinhavishal <sinhavishal@xxxx>
wrote:
> > 
> > 
> > Any code is available for this please?
> > 
> > Thanks
> > Choco
> > 
> > 
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> > 
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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