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

RE: Filtering out dead stocks



PureBytes Links

Trading Reference Links

Here is how I do it...

y1:=2000;
m1:=7;
dt:=25;

test:=If(Year()<>y1,1,If(Month()<>m1,1,If(DayOfMonth()<>dt,1,0)));

Test=1

Since the Explorer does not allow the Input Function, you will need to enter
the Year, Month, and Day as the variables y1,m1,and dt, respectively.

Hope this helps.

Michael

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Tony
Sent: Monday, September 25, 2000 9:49 AM
To: metastock@xxxxxxxxxxxxx
Subject: Filtering out dead stocks


Is there anyway of making a filter that tests to see that the most
recent data is equal to today's trade date.

I keep getting stocks such as Hadco show up on my explorations even
though the stock no longer exists. I am tired of manual using the
Downloader to filter such stocks.

I simply want to filter out stocks whose last trade date is prior to
today or I guess today - 1.

Thanks