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

[amibroker] simple code idea



PureBytes Links

Trading Reference Links




<SPAN 
class=437013000-25072004>Hello,
<SPAN 
class=437013000-25072004> 
would anybody have 
figured out how to restrict a loop to the same range as QuickAFL. Normally is 
use loops like:

  for(bar=0; 
  bar<barcount; bar++) { .... }
<SPAN 
class=437013000-25072004> 
However this is 
wasting a lot of cycles, especially when working with about 100,000 minute bars 
of which only the displayed segment (about 1% of the data) is important. 
For use 
with QuickAFL ON, can anybody provide the code to 
define:

  <SPAN 
  class=437013000-25072004>FirstBarUsedByQuickAFL =  ?
  <SPAN 
  class=437013000-25072004>LastBarUsedByQuickAFL =  
?
<SPAN 
class=437013000-25072004>so that I can make the loop like 
so:

  <SPAN 
  class=437013000-25072004>for( bar = FirstBarUsedByQuickAFL; bar <= 
  LastBarUsedByQuickAFL; Bar++ ) { .... 
}
Many 
thanks,
<SPAN 
class=437013000-25072004>herman.


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.