StockFetcher Forums · Filter Exchange · double nr7 days<< 1 2 >>Post Follow-up
rjmoats1
8 posts
msg #73764
Ignore rjmoats1
4/22/2009 1:43:23 AM

hey thanks for your help, appeciate it .

what do you mean by keep the orginal and add a new line?

chetron
2,817 posts
msg #73769
Ignore chetron
modified
4/22/2009 6:34:27 AM

ALF'S FILTER GOT YOU TO B2B, NO NEED TO REINVENT IT, NOW JUST ADD YOUR B2B2B TO THAT VARIABLE AND SO ON.


HTH

alf44
2,025 posts
msg #73774
Ignore alf44
modified
4/22/2009 10:02:41 AM

rj...first of all, 3 consecutive NR7s...is pretty rare !

You could build a filter that looks ONLY for "3 consecutive NR7s"...but you would prolly have very few hits.

In fact, yesterday...in the previous "back2back filter" I posted...only JAVA popped up.

That's only 1 stock out of the entire NASDAQ 100...and that screened for "2 consecutive NR7s" !

So...with that in mind...why create a filter that is SO restrictive...you may go days without any hits.

Instead create a filter that scans for NR7s AND consecutive NR7s...and tells you when one or ALL are present.


That's what THIS filter does:

-----------------------------------------------------------

Fetcher[/* Back to Back to Back NR7s */

/* NR7s (nr.7) (Narrowist Range of the last 7 days) */
set{NR7today, count(Day Point Range reached a new 7 day Low, 1)}

/* NR7yesterday (nr.7yest) (2 consecutive NR7s) */
set{NR7yesterday, count(Day Point Range 1 day ago reached a new 7 day Low, 1)}

/* NR7dayB4yest (nr.7dayB4yest) (3 consecutive NR7s) */
set{NR7dayB4yesterday, count(Day Point Range 2 days ago reached a new 7 day Low, 1)}


/* NR7 Fetcher Code */
set{NR7_1, NR7today * 1}
set{NR7_2, NR7yesterday * 1}
set{NR7_3, NR7dayB4yesterday * 1}

set{A1, NR7_1 + NR7_2}
set{A2, A1 + NR7_3}


Show all stocks where A2 greater than 0
Market is S&P 500

add column NR7today {nr.7now}
add column NR7yesterday {nr.7yest}
add column NR7dayB4yesterday {nr.7dayB4yest}

sort column 5 descending
]



-----------------------------------------------------------

This will alert you to ALL 3 possibilities.

Obviously, a "1" in each of the 3 columns would indicate that "3 consecutive NR7s" have taken place over the last 3 days...each day narrower in range than the day before it.

It's sorted descending by "nr7 now"...since that would need to occur in order to have consecutives.


Regards,

alf44


alf44
2,025 posts
msg #73779
Ignore alf44
4/22/2009 2:23:45 PM

One More Time !!!

This filter makes "2 consecutive NR7s" (today & yesterday) OR "NR7 2 days ago" (day before yesterday) the scan criteria.

This eliminates the check for single NR7s (today)...and combines it into a check for "2 consecutives" (today & yesterday). By doing this you eliminate a column and greatly reduce the number of hits. It's sorted so that the stocks that had 2 consecutive NR7s (today & yesterday) come to the top.

So...

A "1" in the first column indicates back to back NR7s (today & yesterday) !
A "1" in the second column indicates an NR7 (day before yesterday) !!
A "1" in BOTH columns would indicate "3 consecutive NR7s !!!

----------

Fetcher[/* Back to Back to Back NR7s (lite) */

/* NR7s (nr.7) (Narrowist Range of the last 7 days) */
/* NR7backtoback (nr.7b2b) (2 consecutive NR7s) */
/* NR7backtobacktoback (nr.7b2b2b) (3 consecutive NR7s) */

/* ------------------------------------------------------------------------------------------------- */

/* 2 consecutive NR7s (nr.7b2b) (today & yesterday) */
set{NR7today, count(Day Point Range reached a new 7 day Low, 1)}
set{NR7yesterday, count(Day Point Range 1 day ago reached a new 7 day Low, 1)}

set{NR7backtoback, NR7today * NR7yesterday}

/* 3 consecutive NR7s (nr.7b2b2b) (ie.NR7 day before yesterday) */
set{NR7dayB4yesterday, count(Day Point Range 2 days ago reached a new 7 day Low, 1)}


/* NR7 Fetcher Code */
set{NR7_12, NR7backtoback * 1}
set{NR7_3, NR7dayB4yesterday * 1}

set{A1, NR7backtoback + NR7dayB4yesterday}


Show all stocks where A1 greater than 0
Market is S&P 500

add column NR7backtoback {nr.7b2b}
add column NR7dayB4yesterday {nr.7b2b2b}

sort column 5 descending
]



-----

Regards,

alf44


StockFetcher Forums · Filter Exchange · double nr7 days<< 1 2 >>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.