StockFetcher Forums · General Discussion · Low above MA for 5 days<< >>Post Follow-up
compren
8 posts
msg #159800
Ignore compren
11/19/2022 10:10:42 PM

Easiest way to code this:

Low was above MA(21) for the last 5 days

i.e. the low each day for the last 5 days was above MA(21) on that day

compren
8 posts
msg #159802
Ignore compren
11/19/2022 10:20:33 PM

For some reason i cannot edit or /__REMOVED__/

Easiest way to code this?
Low was above MA(21) for the last 5 days
i.e. the low each day for the last 5 days was above MA(21) on that day

I know I can do this:
Low 1 days ago > MA(21) 1 days ago
Low 2 days ago > MA(21) 2 days ago
Low 3 days ago > MA(21) 3 days ago
Low 4 days ago > MA(21) 4 days ago

And this:
set {low5, count(Low < MA(21),5)}
low5 < 1

But why not this:
Low > MA(21) for the last 5 days

StockFetcher Forums · General Discussion · Low above MA for 5 days<< >>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.