StockFetcher Forums · General Discussion · phrasing question<< >>Post Follow-up
gwood704
13 posts
msg #36466
Ignore gwood704
6/25/2005 7:05:14 PM

Does anyone know how to prhase a filter where you can find only those stocks that were not meeting your criteria yesterday but ARE meeting your criteria today? I'm trying to do the following:

roc(12) < 0 yesterday
roc(12) > 0 today

The above filter yields no results, so I think it must be due to how I am submitting the code? The first line by itself yields results, but if I input the second line, there are 0 results.

Thank you for any feedback.


MikeB60046
43 posts
msg #36470
Ignore MikeB60046
6/25/2005 10:58:52 PM

roc(12) 1 day ago < 0
roc(12) > 0



gwood704
13 posts
msg #36476
Ignore gwood704
6/26/2005 1:31:53 PM

Thank you, Mike. I appreciate your help. That phrase works great!


TheRumpledOne
6,407 posts
msg #36510
Ignore TheRumpledOne
6/27/2005 1:51:58 AM

Fetcher[


set{ROCB,days(ROC(12) 1 day ago above 0,100)}

roc(12) CROSSED ABOVE 0

add column ROC(12)
add column rocb

add column rsi(2)
add column weekly rsi(2)

sort column 5 descending
]



Highest ROC(12) pop to the top.

ROCB tells you how many days it has been below 0 before crossing above.

MAY ALL YOUR FILLS BE COMPLETE.


StockFetcher Forums · General Discussion · phrasing question<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.