StockFetcher Forums · General Discussion · How to code (easy)<< >>Post Follow-up
lvainik
52 posts
msg #48405
Ignore lvainik
12/5/2006 7:37:10 PM

Price never less than ma (50) over the last 60 days

Thanks!


TheRumpledOne
6,411 posts
msg #48407
Ignore TheRumpledOne
modified
12/5/2006 8:20:06 PM

Fetcher[
set{E50b,days(close is above ma(50),100)}
set{E50a,days(close is below ma(50),100)}
set{CxM50, E50a - E50b}

set{test1, count(close above ma(50), 60) }

add column cxm50

sort column 5 descending

test1 above 59

draw ma(50)

]




column cxm50 is how many days the close above/below the ma(50). I snagged the code from my BASIC FILTER DISPLAY.

HTH.



wcurtis
54 posts
msg #48417
Ignore wcurtis
12/6/2006 1:29:24 PM

This site has a big bunch of very helpful and talented contributors. I feel that there are many like me that stand back and watch as new filters, ideas and personal experiences are brought to light for the benifit everyone. We try your filters to see if they will work for us, your experiences & ideas are the iceing on the cake. Thank you !!!


StockFetcher Forums · General Discussion · How to code (easy)<< >>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.