karennma 8,057 posts msg #125800 - Ignore karennma modified |
10/24/2015 3:15:49 PM
Geesh! I lost my place and don't know where I saw this.
Someone wrote a filter which included the following:
Fetcher
set{ny, count(market is nyse, 1)}
set{nas, count(market is nasdaq, 1)}
set{tot, ny + nas}
tot above 0
My question is, why did you add: "tot, ny + nas" and why was "tot above 0" included?
?
|
four 5,087 posts msg #125801 - Ignore four modified |
10/24/2015 3:32:20 PM
The filter will now consider one or both NYSE, NASDAQ:
LOGIC:
not NYSE + not NASDAQ = 0 + 0 = 0
not NYSE + NASDAQ = 0 + 1 = 1
NYSE + not NASDAQ = 1 + 0 = 1
Thus, as long as the stock belongs to one or more, hence ">0", the filter returns the stock.
|