knotam 7 posts msg #77837 - Ignore knotam |
8/23/2009 1:16:28 AM
VMA(5) is less than High
High is greater than VMA(5)
I get 2 drastically different results when I use those 2 phrases. The first result, which returns stocks correctly, returns 62 hits. Ths second returns 2 hits and they are not accurate. I am looking for stocks where the intraday high was above VMA(5) at some point.
|
chetron 2,817 posts msg #77839 - Ignore chetron modified |
8/23/2009 8:24:40 AM
actually, i get 8794 for both.
hth
|
knotam 7 posts msg #77877 - Ignore knotam |
8/23/2009 10:59:53 PM
I tried this alone, and both values were the same. But when I put it in a saved filter and tested it, the results were different. I'll double check it again and post the actual results if they are different again.
|
knotam 7 posts msg #78107 - Ignore knotam |
8/27/2009 3:15:26 PM
Ran across this again, so grabbed some specifics:
apply to symlist(AA)
MA(20) is above MA(50)
MA(20) is above MA(5)
Returns 0 results
apply to symlist(AA)
MA(20) is above MA(50)
MA(5) is below MA(20)
Returns 1 result (AA)
Seems to me these are the same. I am beginning to lose faith in the filtering / screens that SF is generating. Am I doing something wrong? This is 3 lines of code that should spit out the same results.
|
knotam 7 posts msg #78108 - Ignore knotam |
8/27/2009 3:24:50 PM
MA(5) is between MA(20) and MA(50) seems to work though...
|