StockFetcher Forums · General Discussion · at least 120 up days in the last 200 days<< >>Post Follow-up
lummy8
10 posts
msg #121640
Ignore lummy8
10/2/2014 1:01:09 PM

Goodday =)

How do I create filters where it will show me all stocks that have at least 120 up days in the last 200 days?

Many thanks.

compound_gains
152 posts
msg #121642
Ignore compound_gains
modified
10/3/2014 3:48:30 PM

Count() syntax would easily do that for you, but the maximum look back with SF is 100 days.

Fetcher[
set{cnt, count(close > close 1 day ago, 100)}
add column cnt
]



http://www.stockfetcher.com/forums/General-Discussion/Question-about-maximum-days-look-back/116988

duke56468
683 posts
msg #121654
Ignore duke56468
10/4/2014 9:29:47 PM

Then sort column 5 descending of compound's filter

Fetcher[set{cnt, count(close > close 1 day ago, 100)}
add column cnt
sort column 5 descending
]



pirate67
99 posts
msg #121664
Ignore pirate67
10/6/2014 11:17:35 PM

Is anyone else getting only a 50 day chart using these filters? My SF settings are for 1 year charts and that is what happens with the rest of my filters, unless explicitly coded otherwise. I tried adding "chart-length is 1 year" and still got 50 days!

duke56468
683 posts
msg #121673
Ignore duke56468
10/8/2014 11:40:00 AM

My setting was for 3 months. I changed it to 1 year and that seems to work fine.

pirate67
99 posts
msg #121676
Ignore pirate67
10/8/2014 6:00:10 PM

Already had the setting at 1 year. Now all of a sudden it works right and I had made no changes. Go figure! Thanks for responding.

StockFetcher Forums · General Discussion · at least 120 up days in the last 200 days<< >>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 2016 - 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