PureBytes Links
Trading Reference Links
|
But BarCount *IS* total number of bars in a chart. And that was original question.
BarIndex will not give you total number of "available bars in the data" because
you don't know that. Why? Because in a second or two new backfilled data may arrive
and it will all change, or user will change filtering or interval and the number of bars of "available data" will change.
Why do you care at all about "total number of "available" bars" it is irrelevant, unless you really
want to PROCESS THEM. But then... you would need to ACCESS them. But then.... you will need
to SetBarsRequired( sbrAll, sbrAll ) and then... BarCount will represent total number of bars of available data.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "jooleanlogic" <juliangoodsell@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, August 27, 2009 3:50 PM
Subject: [amibroker] Re: barcount
> Thanks Snoopy,
>
> Barcount doesn't give you the total number of bars in the data, just the total number of available bars.
> I need to know how many total bars exist in the current symbol when running under QuickAFL.
>
> Turning off QuickAFL is about a 10x performance hit which is not acceptable for the sake of one number.
>
> Jules.
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, Snoopy <snoopy.pa30@xxx> wrote:
>>
>> Here is the reference to the Barcount Constant. Not sure if it will
>> impact Quickafl.
>>
>> *BarCount* constant gives the number of bars in array (such as Close,
>> High, Low, Open, Volume, etc). Array elements are numbered from 0 (zero)
>> to BarCount-1.
>>
>
>
>
>
> ------------------------------------
>
> **** 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
>
>
>
------------------------------------
**** 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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|