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

Re: [amibroker] Re: Checking last bar for current date



PureBytes Links

Trading Reference Links

thanks for the responses
Barcount is no use as all stocks have different chart lengths
And Foreign will only work if the foreign ticker is behind the current
ticker, which is the opposite to what I am looking for, plus I do not
think datenum works inside foreign


On Tue, 07 Dec 2004 16:54:55 -0500, W Schmidt <wjschmidt@xxxxxxxx> wrote:
> 
> Try this:
> Filter = DateNum()!= LastValue(Foreign("^DJI","DateNum()"));
> 
> On Tue, 07 Dec 2004 19:28:49 -0000, Phsst <phsst@xxxxxxxxx> wrote:
> 
> >
> >
> >> 1. How about just comparing barcount() to the barcount() of a
> > foreign index you know is trading, such as $COMPQ. If they're not the
> > same, then you don't have data for the current day.<
> >
> > The above will not pick up issues that were listed *after* the
> > benchmark foreign index since the barcount will be less than the
> > benchmark even though the issue is active.
> >
> > Phsst
> >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/