PureBytes Links
Trading Reference Links
|
I believe LinRegSlope takes as it's second argument a NON time
variant argument or a constant NOT an array like for example AMA
would. I don't know but I supect the code I put in my original post
won't work any way or if it has a chance of working I wouldn't know
how to modify it so it does, maybe
LRS = LinRegSlope(close[ i ], HilbertPeriod[ i ]);
--- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher"
<chuck_rademacher@x> wrote:
> Why would you need to use a "for loop"?
>
> Why wouldn't you just say: LRS = LinRegSlope
(close,HilbertPeriod);
>
>
> -----Original Message-----
> From: Fred [mailto:fctonetti@x...]
> Sent: Wednesday, April 16, 2003 7:03 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: AmiBroker 4.31.0 BETA Question
>
>
> If I wanted to do something like find the linear regression slope
of
> the close with varying lengths where the length was equal to the
> Hilbert Period, this still can't be done inside a For loop in AFL,
> can it ?
>
> Example:
>
> Lets Assume HilbertPeriod is array that has been calculated
earlier
> based on Hilbert Period does the code below have a prayer of
working ?
>
> for( i = 1; i < BarCount; i++ )
> {
> LRS[ i ] = LinRegSlope(C, HilbertPeriod [ i ]);
> }
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|