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

Re: [amibroker] AFL: Slope of a moving average (curve) v. a straight line (for ex. a trendline)



PureBytes Links

Trading Reference Links

try this
Slope = ROC(MA(C,10),1);

On 7/8/05, Harold Harper <harold@xxxxxxxxxxxxx> wrote:
> Is it possible using AFL to calculate the slope of, for example, a
> moving average? See:
> 
> http://cstl.syr.edu/fipse/GraphB/Unit8/Unit8a.html
> 
> Calculating the slope of the line tangent to the curve should be, I'm
> assuming, straightfoward. I'm guessing the thornier question is how to
> find the line that is tangent to a particular day or period.
> 
> Thoughts or suggestions?
> 
> Thanks.
> 
> Harold Harper
> harold@xxxxxxxxxxxxx
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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