PureBytes Links
Trading Reference Links
|
Why
would you need to use a "for loop"?
<FONT face=Arial color=#0000ff
size=2>
Why
wouldn't you just say: <SPAN
class=465251923-16042003>LRS =
LinRegSlope(close,HilbertPeriod);
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
<BLOCKQUOTE
>
<FONT face="Times New Roman"
size=2>-----Original Message-----From: Fred
[mailto:fctonetti@xxxxxxxxx]Sent: Wednesday, April 16, 2003 7:03
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
AmiBroker 4.31.0 BETA QuestionIf 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
]);}Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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 the Yahoo! Terms of Service.
|