PureBytes Links
Trading Reference Links
|
Thanks Stephane ... an extra pair of eyes is so useful
----- Original Message -----
From: "Stephane Carrasset" <s.carrasset@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, March 31, 2004 8:44 AM
Subject: [amibroker] Re: Loops / AFL - AB ver 4.53
> Hello,
>
> remove the ; after
> for (i=LoopStart; i<BarCount; i++);
>
>
>
> > I am getting a different behavior from AFL than before:
> >
> > The line below, when used inside a loop works fine
> >
> > for (i=LoopStart; i<BarCount; i++);
> >
> > {
> >
> > Smooth = (Price + 2*Price[i-1] + 2*Price[i-2] + Price[i-3])/6;
> >
> > Notice that Smooth and Price have no subscripts.
> >
> > Smooth[i] = (Price[i] + 2*Price[i-1] + 2*Price[i-2] + Price[i-3])/6;
> >
> > The line above (with subscripts added) give subscript out of range
> error
> >
> >
> >
> > This seems to be different than before ... Anyone have similar
> experience?
> >
> > Ara
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Send the freshest Spring Flowers with a FREE vase from only $29.99!
Flowers are hand picked and shipped direct from the grower. Freshness
guaranteed for 7 days or your money back!
http://us.click.yahoo.com/YykvkC/sZ2HAA/3jkFAA/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
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/
|