The PolyFit & GaussianElimination Functions use only the data you 
pass it ... 

The Demo Main AFL was set up to use Beg & End Range markers but you 
can easily change those to whatever you like.

The extrapolations are only calculated once the fit as of some bar 
has been done.  If you click CHECK it will probably say that it does 
look forward but that is only because one the arrays is purposely 
down shifted so that extrapolation values can be calculated beyond 
the most current bar prior to plotting them shifted into the 
future ... It does not look forward at all.

--- In [email protected], "Chris DePuy" <[EMAIL PROTECTED]> wrote:
>
> Fred, 
> Thank you for sharing.
> To what extent does this code look forward, may i ask?
> Chris
> 
>   ----- Original Message ----- 
>   From: Fred Tonetti 
>   To: [email protected] 
>   Sent: Tuesday, October 03, 2006 3:29 PM
>   Subject: [amibroker] Polynomial Trendlines
> 
> 
>   There seemed to be some interest in this sort of thing the other 
day ...
> 
>   This one I can publish since it's not tied to any copyrighted 
material I am
>   aware of ...
> 
>   It will calculate a nth ( 1 - 8 ) Order Polynomial Fit of 
whatever data you
>   toss it using Gaussian Elimination for simultaneous solution of 
multiple
>   linear equations. As demonstrated in the small contained main AFL 
It can
>   extrapolate forward and/or backwards
> 
>   <http://www.amibroker.com/library/detail.php?id=731>
>   http://www.amibroker.com/library/detail.php?id=731 
> 
>   _____ 
> 
>   I am using the free version of SPAMfighter for private users.
>   It has removed 8588 spam emails to date.
>   Paying users do not have this message in their emails.
>   Try SPAMfighter <http://www.spamfighter.com/go.asp?t=249> for 
free now!
>






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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 



Reply via email to