StockFetcher Forums · General Discussion · Question --- Count function<< >>Post Follow-up
dwiggains
391 posts
msg #77728
Ignore dwiggains
8/20/2009 2:49:28 PM

Hi
I need to learn how to do the count function.


close > 5 and average volume (90) > 200,000 and

set {c, close / close 5 days ago} add column c and c > 1.3

I want c to be > 1.3 anytime during the last 20 days.

Right now my function is good for today only.

Thanks
See ya
David

chetron
2,817 posts
msg #77738
Ignore chetron
modified
8/20/2009 5:34:45 PM

maybe...


Fetcher[



close > 5 and average volume (90) > 200,000 and

set {c, close / close 5 days ago} add column c and c > 1.3
set{var1,count(c > 1.3,21)}

draw var1

]



dwiggains
391 posts
msg #77744
Ignore dwiggains
8/20/2009 7:21:37 PM

Hey thanks a lot --- found one mistake but figured it out.

Fetcher[
close > 5 and average volume (90) > 200,000 and
set {c, close / close 5 days ago} add column c
set{var1,count(c > 1.3,21)} and var1 > 1.3
draw var1
]



I need varI > 1.3 ----- not c > 1.3

thanks again

see ya
David

StockFetcher Forums · General Discussion · Question --- Count function<< >>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