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

[amibroker] Re: Checking last bar for current date



PureBytes Links

Trading Reference Links


A manual method:

MostRecentUpdate = 1041206;
// CHANGE MANUALLY ^^^^^^^
IssueIsActive = LastValue(DateNum()) == MostRecentUpdate;

Phsst
--- In amibroker@xxxxxxxxxxxxxxx, kaveman perth <kavemanperth@xxxx> wrote:
> Using unpadded data (ie no zero volume days shown) how can I build in
> to explorations to exclude the stock if the last bar is not the last
> actual traded day. I do not want to bring up a result for a stock that
> did not trade on the last market open day.
> I know I can use Now() but if I do exploration over the weeken or on
> public holidays then the exploration won't work at all. I ahd thought
> of checking using the foreign function against an index but from what
> I read in help only OHLCVI are allowable data fields, not datenum().
> Can anyone provide some help on this
> 
> -- 
> 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/