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

Re: [amibroker] Date Filter



PureBytes Links

Trading Reference Links

Hello,
 
NotTraded = LastValue( DateNum() ) < Now( 3 ) - 3
 
The code above uses Now() function that returns current date. We subtract three just
to handle Saturdays Sundays and possible one non-trading day extra.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Tim Hyder
Sent: Sunday, May 21, 2006 10:36 AM
Subject: [amibroker] Date Filter

Hi All,

 

I am trying to create a date filter whereby I check today’s date against the last traded date.

 

The idea behind this is to stop stocks that haven’t traded in the past 5 days from being displayed in my scans.

 

Thanks in advance for any help.

 

Regards,

Tim

---------------------------------------------------------------

A successful man is one who can build a firm

foundation with the bricks that others throw at him.

 

David Brinkley

---------------------------------------------------------------

 



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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS