StockFetcher Forums · General Discussion · A simple count question<< >>Post Follow-up
19 posts
msg #150473
Ignore zaq777
1/23/2020 11:39:36 AM

I sent this off to "support" but not sure if they will answer it. So help here will be appreciated.

Suppose I want to filter out all closes above a moving average within a certain number of days with the only possible close being that of today.

So I don't care if it closes above today or not, but no close above any day before today.

Example Count(Close > EMA(200),100) is < 1.5 with today being the only possible positive close.

408 posts
msg #150487
Ignore xarlor
1/23/2020 11:03:22 PM

count(close 1 day ago < ema(200),100) > 99

111 posts
msg #150491
Ignore ludowillems
1/24/2020 5:16:01 AM

This is my version of wat seems to be a good reversal filter, based on the previous ones here:
/* price was below ma(180) during 6 months */
count(close 1 day ago < ma(180),127) > 126
/* price pierced ma(180) from below yesterday, but closed below ma(180) */
low < ma(180) 1 day ago
high > ma(180) 1 day ago
close < ma(180) 1 day ago
/* today is a red candle below ma(180), (probabely initiating a downtrend */
close < open
close < ma(180)
Average Volume(30) > 300000
Price > 3
chart-time is 6 months

StockFetcher Forums · General Discussion · A simple count question<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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 2021 - 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.