oldsmar52 104 posts msg #32976 - Ignore oldsmar52 |
8/25/2004 7:30:00 AM
Does anyone know how to write a filter such as: "show stocks where ema(10) has turned up in the past 1 day and close price is between 1 and 10 and average daily volume(90) is above 100000". I don't know if there is wording for "has turned up"....I can't get one to work.
Thanks, Frank
|
robdavis 69 posts msg #32977 - Ignore robdavis |
8/25/2004 8:48:40 AM
Hi Frank,
I suggest
Does anyone know how to write a filter such as:
> I don't know if there is wording for "has turned up"....I can't get one to work.
There are many ways to write a filter, any filter; here I've written one that is simple; the simpler the better. I'd assumed here that instead of saying ""EMA(10) has turned up" -- you wanted to say something more specific, like, "I don't care what the EMA(10) did before yesterday, but I do care about this: today's EMA(10) should be higher than that of yesterday.
So here is your filter, and this one works...
Alternatively, if we want to be more demanding, we can add a few more restrictions, and say,
It's really up to you.
I hope this helps.
Rob
|
robdavis 69 posts msg #32978 - Ignore robdavis |
8/25/2004 8:58:10 AM
P.S.: If we want to make the 2nd filter more perfect, we should add, "and EMA(10) 2 days ago is above EMA(10) 1 days ago"
Rob
|
robdavis 69 posts msg #32979 - Ignore robdavis |
8/25/2004 9:07:44 AM
P.P.S.: If we want the curling more pronounced, we can add (without the quotes),
"and EMA(10) divided by EMA(10) 1 day ago is greater than 1.01",
but then, as you see, the more restrictions we add, the fewer stocks we will have.
I hope this helps.
Rob
|
yepher 359 posts msg #32983 - Ignore yepher |
8/25/2004 3:06:39 PM
I believe another way to say "has turned up in the past 1 day" is "slope crossed above 0" meaning it was less than zero yesterday and today it has turned up.
You can try playing setting a min amount of turn up to reduce the result set more. Another thing you might try if you want more results is find stocks where the slope crossed above 0 in the past n days.
|
oldsmar52 104 posts msg #32998 - Ignore oldsmar52 |
8/26/2004 9:55:56 AM
To Rob: Thanks for the help/advice. My intention was to try and catch a stock as its EMA(10) began to turn up and approached its EMA(25). Whether that was/is a very good idea is to be determined yet, I guess.
Frank
|
kgriffen 49 posts msg #33017 - Ignore kgriffen |
8/27/2004 3:12:54 AM
Try:
-kg
|