StockFetcher Forums · Filter Exchange · moving average<< >>Post Follow-up
stockfetchervong
16 posts
msg #48244
Ignore stockfetchervong
11/29/2006 9:36:04 PM

I need help writing a scanner that scan stocks that have ma(50) or ema(50) declined for quite sometimes, said 2 or 3 weeks, then the the moving average stablized and start moving sideway.


traderblues
195 posts
msg #48246
Ignore traderblues
11/30/2006 6:35:07 AM

Fetcher[count(ma(50) <= MA(50) 1 day ago,20) above 15
and count(ma(50) >= ma(50) 1 day ago,5) above 3
and ma(50) above ma(200)
and price above 1
]




stockfetchervong
16 posts
msg #48264
Ignore stockfetchervong
11/30/2006 8:33:48 PM

thanks


TheRumpledOne
6,407 posts
msg #48298
Ignore TheRumpledOne
modified
12/1/2006 8:04:25 PM

Fetcher[
/* EMA(50) TREND */

set{E0821b,days( ema(50) is above ema(50) 1 day ago,100)}
set{E0821a,days( ema(50) is below ema(50) 1 day ago,100)}
set{ E50xE50 , E0821a - E0821b}

add column E50xE50
add column E50xE50 1 day ago

draw ema(50)

close above 20
volume above 10000000
market is nasdaq

sort column 5 descending


]



Column E50xE50 tells you how many days the ema(50) has been rising/falling.

The second E50xE50 column ( 1 day ago ) lets you know how many days it was rising/falling the day before. So when one is positive and the other negative you know how many days the "streak" lasted.

HTH.




StockFetcher Forums · Filter Exchange · moving average<< >>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.