StockFetcher Forums · General Discussion · Using set for custom functions<< >>Post Follow-up
awmorris
8 posts
msg #97203
Ignore awmorris
10/26/2010 1:15:08 AM

Don't get too entirely caught up in the exact details because I have changed the filter for this example, but it is pretty close to what I am trying to do.

I have a filter that is working somthing like this:
Select stocks that set new 3 month high
and rsi(5) above 80
and MA(20) has increased 5% in the last 20 days
and average volume(30) above 100000
and close above 15

This works well and returns matches where all conditions occur on the same day... i'm good so far.

Now I want to say show stocks where the rsi(2) is below 15 and the previous query was found within the last 7 days.
I don't want to use the days ago function because I'll accept a match anywhere in the previous 7 days...
but I can't just say "within the last 7 days" for all conditions because I need all the conditions to converge on the same day

I hope this makes sense.

Thanks in advance
Anthony



StockFetcher Forums · General Discussion · Using set for custom functions<< >>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.