| 
 PureBytes Links 
Trading Reference Links 
 | 
Here is one of the ways to do it
Bar = valuewhen( datenum()!=ref(datenum(),-1), barindex() );
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: masspectrometry [mailto:yangwangyw@xxxxxxxxxxx] 
Sent: Tuesday, December 21, 2004 6:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to find the first bar number in intraday (15 min.
time-fram) with AFL code?
I want to find the first bar number in inteaday (15 min. time-fram) with 
AFL code? The current bar is known, but increased with time. The first 
bar starts at 9:30 am. EST. 
Thanks,
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links
 
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
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:
    http://docs.yahoo.com/info/terms/
 
 |