StockFetcher Forums · General Discussion · detect MA cross number of days ago not working<< >>Post Follow-up
ronbary
16 posts
msg #105576
Ignore ronbary
3/21/2012 9:12:21 AM

Hi support ,

i'm trying to find stocks that 9 SMA is crossing above 20 SMA , x days ago .

for example :

close between 1 and 80
and average volume(30) is above 250000

and ma(9) crossed above ma(20) 5 days ago



this filter should return MA cross 5 days ago , but if you run it you get CSCO and YHOO
and you can see clearly that MA cross was only 2 days or 1 day ago . ?

what i'm missing ?


thanks

Kevin_in_GA
4,549 posts
msg #105578
Ignore Kevin_in_GA
3/21/2012 9:22:01 AM

You need to modify your syntax -

Fetcher[

close between 1 and 80
and average volume(30) is above 250000

and ma(9) 5 days ago crossed above ma(20) 5 days ago
]



If you are looking for any cross above within the last few days (not wedded to 5 days) try this:

Fetcher[

close between 1 and 80
and average volume(30) is above 250000
count(ma(9) crossed above ma(20),5) above 0.5
]



StockFetcher Forums · General Discussion · detect MA cross number of days ago not working<< >>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