StockFetcher Forums · Filter Exchange · percentage from MA question<< >>Post Follow-up
irishpitbull
54 posts
msg #100272
Ignore irishpitbull
4/15/2011 9:31:59 PM

is there code that allows use to say something like;


show stocks that closed < 0% from MA (20)


thanks

KCBInvesting
5 posts
msg #100275
Ignore KCBInvesting
modified
4/16/2011 4:50:32 AM

I'm not sure what you mean by "less than 0%" but this will find all stocks that closed within 1% of the MA(20).

There might be a better way to do it but this seems to work.

Fetcher[
Show stocks where close is between 5 and 250
and Average Volume(90) is above 1000000
draw MA(20)
add column MA(20)

set{pct,close/MA(20)}
pct between .99 and 1.01

set{calc1,1 - pct}
set{calc2,calc1 * -100}
add column calc2{% Above / Below MA(20)}
]



duke56468
683 posts
msg #100281
Ignore duke56468
4/16/2011 3:49:39 PM

Fetcher[
show stocks where close is < 1% of MA(20)
draw ma(20)
]



This might work for you

StockFetcher Forums · Filter Exchange · percentage from MA question<< >>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.