StockFetcher Forums · Filter Exchange · How to condense filtering for no down gaps<< >>Post Follow-up
andygabor
8 posts
msg #94053
Ignore andygabor
6/19/2010 9:33:26 AM

How can I condense the logic for this one:

and high above low 1 day ago
and high 1 day ago above low 2 days ago
and high 2 days ago above low 3 days ago
and high 3 days ago above low 4 days ago
and high 4 days ago above low 5 days ago
and high 5 days ago above low 6 days ago
and high 6 days ago above low 7 days ago
and high 7 days ago above low 8 days ago
and high 8 days ago above low 9 days ago
and high 9 days ago above low 10 days ago
and high 10 days ago above low 11 days ago
and high 11 days ago above low 12 days ago
and high 12 days ago above low 13 days ago
and high 13 days ago above low 14 days ago


olathegolf
119 posts
msg #94056
Ignore olathegolf
6/19/2010 11:18:36 AM

Your subject sounds different than your message.

Maybe consider:

Fetcher[
/No gaps down for 5 days*/

set{gapdn,open - close 1 day ago}
set{nogapsdown,count(gapdn above 0,5)}
nogapsdown equals 5
close above 1
]



Fetcher[
/*No gaps up or down for 5 days*/

set{gap,open - close 1 day ago}
set{nogaps,count(gap equals 0,5)}
nogaps equals 5
close above 1
]



Fetcher[
/*High Greater Than Low 1 Day Ago for 30 days*/

set{hilo,high - low 1 day ago}
set{cnt,count(hilo above 0,30)}
cnt equals 30
close above 1
]



Kevin_in_GA
4,599 posts
msg #94058
Ignore Kevin_in_GA
modified
6/19/2010 11:52:44 AM

Fetcher[

set{var1, low 1 day ago}
set{var2, count(high above var1,14)}
var2 above 13

]



andygabor
8 posts
msg #94078
Ignore andygabor
6/19/2010 9:12:16 PM

Thanks- that did it!!

StockFetcher Forums · Filter Exchange · How to condense filtering for no down gaps<< >>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.