PureBytes Links
Trading Reference Links
|
Kar,
Every "pass" of AFL execution is complete unto itself. The number of
bars won't change in the middle of an AFL pass. Think of it as a
single static snapshot of time when the AFL starts. All arrays are
created at the beginning of each pass and are deleted at the end
(except for static variables). You do all your calculations to
figure out things like the bar number of the first bar of the day for
that pass, then you will do it again on the next pass. It does not
matter if the bar number changes between passes.
Dennis
On Aug 21, 2007, at 3:59 PM, kar_avi wrote:
> Hello,
>
> I have a general question about bar number. How do you get the bar
> number of say the first bar of the day in a 5 min chart even as more
> and more bars are being added?
>
> Barindex() and Barssince return arrays. How do you take these to
> compare with Barcount and other if conditions, by converting them into
> numbers? Or the only way is to use IIF to generate another result
> array?
>
> Warm Regards,
> Kar
>
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> 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/
|