genesis 2 posts msg #115733 - Ignore genesis |
10/8/2013 12:20:21 AM
Can someone please tell me why the following two phrases return different results, what am I not getting here?
Show stocks where close > 4% above close 1 day ago date offset 1
/* Using either the "date offset 1" as part of the filter or
removing it and selecting [Date Offset] << Previous day
Ran today and got back 719 symbols */
Show stocks where close 1 day ago > 4% above close 2 days ago
/* Ran today and got back 599 symbols */
|
craze 3 posts msg #115734 - Ignore craze |
10/8/2013 1:45:26 AM
Not sure why, but if you add:
avgvol(30) is above 10000 and price is above 1
then the difference is only 2 symbols, 213 vs 215. Just putting that out there. No point for me to guess why it's happening.
|
stockfetcher 980 posts msg #115736 |
10/8/2013 8:12:51 AM
There are a couple syntax issues in your filter. Below are corrected examples that should produce the same number of matches:
However, please keep in mind if you have the results setting of "Automatically Remove 0 volume stocks" you will see different results.
Hope that helps!
StockFetcher Support
|
genesis 2 posts msg #115758 - Ignore genesis |
10/8/2013 6:39:15 PM
It was the "Automatically Remove 0 volume stocks" setting that was causing the unexpected results. Thank you for pointing that out.
In my original filter I was also filtering on volume and wasn't noticing it but when I was debugging a filter by stepping through each line the difference jumped out at me and i was concerned there might be a larger issue with my logic or the filter itself.
Thank you.
|