Note that the bottom of the code says ...

// *********************************************************
// *
// * Demo AFL to use PolyFit
// *
// *********************************************************

Feel free to change whatever you want there to accomplish your 
goal ... I would think of the functions as something that could be 
included wherever you need the functionality.

--- In [email protected], "John Tierney" <[EMAIL PROTECTED]> 
wrote:
>
> Polynomial TrendlinesHi Fred,
> 
> I would like to change your PolyFit function that I could write a 
system
> around using it.  Something like buy/sell when the slope of the 
line changes
> or the slope changes a certain percentange of the latest high/low 
of the
> line.  The way you have the indicator wriiten, you use the "range 
feature"
> on the chart to identify the range of data to use in the 
calculations.
> 
> At the very least, it would appear that the following two line will 
have to
> modified because this is where the selected range on the chart is 
read by
> your indicator.
> PF_BegBar = BeginValue(BI);PF_EndBar = EndValue(BI);There does not 
appear to
> any way to set the range from inside an AFL function.  This would 
make
> everything much easier.   Are there any other code sequences inside 
of the
> [John Tierney] VBS function: Gaussian_Elimination or the the AFL 
function:
> PolyFit that I will have to watch out for?Thanks,John
>






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