StockFetcher Forums · General Discussion · 100 day count limitation<< >>Post Follow-up
fokane
74 posts
msg #58590
Ignore fokane
12/28/2007 3:34:06 PM

Has anyone got any tricks to get over the 100 day limitation of the count() function? i.e. to count further in the past?

TheRumpledOne
6,411 posts
msg #58591
Ignore TheRumpledOne
modified
12/28/2007 3:49:19 PM

Fetcher[
/* performance display */

set{chg100, count(day change > 10, 100) }

add column chg100 {%chg(0-100)}
add column chg100 100 days ago {%chg (100-200)}
add column chg100 200 days ago {%chg (200-300)}

market is nasdaq 100

sort column 6 descending
]


]

nikoschopen
2,824 posts
msg #58594
Ignore nikoschopen
12/28/2007 4:04:06 PM

A quick fix to the overarching problem of 100 day limitation is to nest one set statement that utilizes the "days ago" modifier within another set statement. First, you define the length of period over and above the 100 day limit and then plug that into the count(). For example, suppose you want to reach back to 120 days.

Fetcher[
set{back20, close 20 days ago}
set{back120, count(back20 crossed above MA(20),100)}
back120 above 0
]



fokane
74 posts
msg #58603
Ignore fokane
12/29/2007 7:53:33 AM

thanks.. i will check those ideas out.

StockFetcher Forums · General Discussion · 100 day count limitation<< >>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.