Hello,

Status("barinrange")

http://www.amibroker.com/f?status

See also Knowledge Base article about QuickAFL:
http://www.amibroker.com/kb/2008/07/03/quickafl/

Best regards,
Tomasz Janeczko
amibroker.com

bigitop wrote:
> I have a minute-database with more than 3 million bars. The problem I have is 
> that i'm using loops and complex calculations and the program is crashing.
>
> I would just like to perform these calculations on the bars that are within 
> the AA date range. How can I find out the barindex of the first and last bar 
> within the AA date range??
>
> The code should work something like this:
>
> for(i=firstBarinRange;i<lastBarinRange; i++){....}
>
> I was trying this to get the last bar in the range:
>
> index = BarIndex();
> lastindex = SelectedValue(index);
>
> The problem with this is that the index array is being calculated for ALL 
> bars and it is very slow. But any similar code to get the first index of the 
> range will do.
>
> Any help is appreciated.  Thanks in advance.
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to 
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>   

Reply via email to