| 
 PureBytes Links 
Trading Reference Links 
 | 
Thank you
for( i = 0; i < BarCount; i++ ) {
  Val[1] = ;
  ...
  Val[x] = ;
  for( j = 1; j <= x; j++ ) {
    counter = 0;
    for( k = (j+1); k <= x; k++ ) {
      if(Val[j] == Val[k]) { Counter = Counter + 1; }
    }
    // plot counter
  }
}
x is typically less than 46 and 
Barcount is minutes on a three month contract.
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Hello,
> 
> Please send the formula to support and I will tell you how to fix 
the formula.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Willem Fourie" <fourie_willem@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 09, 2005 12:58 PM
> Subject: [amibroker] Running out of Memory on looping
> 
> 
> > 
> > 
> > 
> > Dear reader,
> > I seem to run out of memory on looping using AmiBroker's script.
> > 
> > Am using arrays as much as possible and have tried 
function/procedure 
> > calls passing an array, but memory doesn't seem to be freed. 
> > 
> > Windows' VM/PF is set to "System managed size". 
AmiBroker's "Local 
> > data storage" is enabled and "Number of bars to load" set to 
500. "In-
> > memory cache" = 11.
> > 
> > Is there a way to reclaim memory on each iteration, or perhaps an 
> > internal table type structure or file I/O one might use?
> > 
> > Thanx in advance
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
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/
<*> 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/
 
 |