morteza471 132 posts msg #34774 - Ignore morteza471 |
1/6/2005 3:01:44 AM
i am trying to write a filter, for stocks were had a run up or reached 52 weeks high and had a pull back for 2 or 3 days and one day ago price closed above open. all i get is 0 please help me write this filter thank you.
|
xplorer 257 posts msg #34778 - Ignore xplorer |
1/6/2005 10:30:10 AM
Post your screen ... it makes it easier to help.
Anyways ... here is a start:
|
xplorer 257 posts msg #34785 - Ignore xplorer |
1/6/2005 7:01:07 PM
same screen .... different syntax:
|
xplorer 257 posts msg #34786 - Ignore xplorer |
1/6/2005 7:07:44 PM
hmmm ... not sure why the second retrieves more ??? ...hmmm
|
morteza471 132 posts msg #34798 - Ignore morteza471 |
1/7/2005 3:49:23 AM
the best thank you
|
dangreene 229 posts msg #34801 - Ignore dangreene |
1/7/2005 12:23:01 PM
xplorer;
you said;
hmmm ... not sure why the second retrieves more ??? ...hmmm
-----------------------------------------------------------------
First of all I am assuming from the timestamp of your post that you ran the 2 filters and got results for end of day 01/05/2005.
While I didn't eyeball each and every one, it seems that the first scan returned stocks where the close was truly lower than the preceding day.
The second filter returned 2 extra stocks, GLOB and EVN.
Note that the closing price for each of these was the same on the second and third day, VIZ:
GLOB = 1.21 & 1.21
EVN = 16.36 & 16.36
That appears to be the difference. Do you agree ?
dangreene
|
Skeksis 36 posts msg #34802 - Ignore Skeksis |
1/7/2005 12:46:35 PM
I believe StockFetcher uses "less than or equal to" and "greater than or equal to" inequalities in the syntax for increasing, decreasing, above, and below queries, instead of "less than" or "greater than".
|
xplorer 257 posts msg #34805 - Ignore xplorer |
1/7/2005 6:20:28 PM
dangreene / Skesis ...
Thanks ... good call ... and that makes sense why those two screens differed. Little assumptions / oversights can really change the results... as this shows... thanks for the feedback on this !
|