[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Graham - Re: Real Time Ticker List Screen



PureBytes Links

Trading Reference Links

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

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