StockFetcher Forums · General Discussion · Need a little help with coding<< >>Post Follow-up
wallybaby
9 posts
msg #156188
Ignore wallybaby
3/18/2021 11:34:06 AM

I am trying to make a filter that shows where the ema 20 is above the ema 50 and then there are one or 2 closes below the ema(20) but above the ema(50) and then a close above the ema(20) . 3 closes below the EMA(20) would disqualify it. I have remmed out a few efforts that I made. they may just need an adjustment thanks is advance for any help.

volume more than 1000000
close more than 5
and close less than 100
and ema(20) more than ema(50)


and close less than ema(20)
and close more than ema(50)

/*and close not between ema(20) and ema(50) for last 3 days*/

/* do not have 3 consecutive closes lower than EMA(20)*/

/* so close between the ema 20 and the ema 50 one time and then close above the 20 ema but only one time or 2 times but not 3 times*/



xarlor
581 posts
msg #156195
Ignore xarlor
modified
3/18/2021 6:14:16 PM

Fetcher[
volume > 1000000
close > 5
close < 100
ema(20) > ema(50)
close > ema(50) for last 4 days
close 3 days ago > ema(20)
count(close 1 day ago < ema(20) 1 day ago,2) > 0
close 1 day ago < ema(20) 1 day ago
close > ema(20)
]



wallybaby
9 posts
msg #156196
Ignore wallybaby
3/18/2021 6:50:34 PM

thanks You guys are the best.

StockFetcher Forums · General Discussion · Need a little help with coding<< >>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.