StockFetcher Forums · Filter Exchange · Slope of Ma(50) above 0<< >>Post Follow-up
2damoon
6 posts
msg #156005
Ignore 2damoon
modified
3/2/2021 7:52:22 PM

I was trying look through the manual and make my code, is there a way to show only stocks where the 50 day moving average is between certain numbers. I tried to below filter but it draws a like of the slope of the 50 day moving average rather than show calculate the slow one the 50 day moving average to show screen stocks.

draw MA(200)
Show stocks where the 50 day slope of MA(50) is between 0
close price above MA(50) for 5 days
RSI(250) is above 50
close is above 3
close is below 10


THANK YOU ALL!


graftonian
1,089 posts
msg #156010
Ignore graftonian
3/3/2021 9:20:18 AM

line 2 of your code needs 2 values, I think that was the problem.
A couple of small changes:

draw MA(200)
50 day slope of MA(50) is between 0 and .1
close above MA(50) for the last 5 days
RSI(250) is above 50
close between 3 and 10

push5280
197 posts
msg #156011
Ignore push5280
3/3/2021 11:01:40 AM

clickable
Fetcher[
draw MA(200)
50 day slope of MA(50) is between 0 and .1
close above MA(50) for the last 5 days
RSI(250) is above 50
close between 3 and 10
]



push5280
197 posts
msg #156012
Ignore push5280
3/3/2021 11:03:14 AM

added the rsi line at 50

Fetcher[
draw MA(200)
50 day slope of MA(50) is between 0 and .1
close above MA(50) for the last 5 days
RSI(250) is above 50
draw RSI(250) line at 50
close between 3 and 10
]



nibor100
1,010 posts
msg #156014
Ignore nibor100
3/3/2021 12:19:24 PM

Beware of SF's "between statement" as sometimes the results will include stocks with either or both of the values that are supposed to be un-included boundaries.

For example, run either of the clickable filters, and sort the close/Last column a couple of times to see the overlaps if they exist.

Ed S.

StockFetcher Forums · Filter Exchange · Slope of Ma(50) above 0<< >>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.