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

RE: [amibroker] Re: Quote sources (EOD providers)



PureBytes Links

Trading Reference Links




Hello,
Exactly, you don't need to worry about this. Always write for(bar=0; 
bar<barcount; bar++) { .... }
and AFL will use only as many bars as needed and not more. (see also my 
other reply)
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE dir=ltr 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Ara Kaloustian 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, July 25, 2004 3:41 AM
  Subject: Re: [amibroker] Looping within 
  QuickAFL bounds
  
  I beleive TJ had said that if For (i=0;.... Quick 
  AFL decides where to start... if starting value is not zero, then Q-AFL has no 
  impact.
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    Herman van den 
    Bergen 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">AmiBroker YahooGroups 
    Sent: Saturday, July 24, 2004 5:38 
    PM
    Subject: [amibroker] Looping within 
    QuickAFL bounds
    
    <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. <SPAN 
    class=437013000-25072004>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:<A 
    href="">http://www.amibroker.com/Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Check AmiBroker web page at:<A 
    href="">http://www.amibroker.com/Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    


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.