StockFetcher Forums · Filter Exchange · Help screening based on ROC and EMA(13)<< >>Post Follow-up
sppsss
3 posts
msg #152962
Ignore sppsss
modified
7/5/2020 5:32:58 PM

I have this rudimentary filter. How do I add a condition to screen for stocks where close ROC(3) spent at least 4 days below EMA(13) before crossing above it?

Fetcher[
market is not OTCBB
market is not ETF
volume > 50000
close > open
close is between 1 and 50
close is 5% above close 1 day ago
MACD Histogram(12,26,9) is above MACD Histogram(12,26,9) 1 day ago
MACD Histogram(12,26,9) is below 0 for the past 5 days
market cap is above 10
draw roc(3)
]



xarlor
587 posts
msg #152966
Ignore xarlor
7/5/2020 6:43:17 PM

Fetcher[
market is not OTCBB
market is not ETF
volume > 50000
close > open
close is between 1 and 50
close is 5% above close 1 day ago
MACD Histogram(12,26,9) is above MACD Histogram(12,26,9) 1 day ago
MACD Histogram(12,26,9) is below 0 for the past 5 days
market cap is above 10
draw roc(3)

/* ROC(3) spent at least 4 days below EMA(13) before crossing above it */

set{rocema,cema(roc(3),13)}
roc(3) crossed above ROCema
count(roc(3) 1 day ago < ROCema 1 day ago,4) equals 4
]



sppsss
3 posts
msg #152967
Ignore sppsss
7/5/2020 8:28:35 PM

Appreciate your quick response xarlor. Works like a charm.

How do you make the filter query a hyper link in your response?

sppsss
3 posts
msg #152974
Ignore sppsss
7/6/2020 8:40:32 AM

NM I figured it out.

StockFetcher Forums · Filter Exchange · Help screening based on ROC and EMA(13)<< >>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.