StockFetcher Forums · Filter Exchange · Inside Day NR7s<< >>Post Follow-up
alf44
2,025 posts
msg #96736
Ignore alf44
10/5/2010 12:51:09 AM


Bill aka "wkloss"

Let's move that discussion over here...

This is the way I would write the scan you asked about !!!


This will give you days that are BOTH ... IDs AND NR7s !!!

-----

Fetcher[ /* Inside Days that are also NR7s */

/* IDs ("...id") (Inside Days -> H/L Range inside H/L Range 1 day ago) */
set{IDhi, count(High below High 1 day ago, 1)}
set{IDlo, count(Low above Low 1 day ago, 1)}
set{ID, IDhi * IDlo}

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

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

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

/* Pattern Fetcher */

set{IDs, ID * 1 }
set{NR7s, NR7 * 1}

set{IdNr7, IDs + NR7s}

Show stocks where IdNr7 is greater than 1

Market is NASDAQ

add column IDs {ID}
add column NR7s {NR7}

draw EMA(10)
draw EMA(30)
draw EMA(150)

draw indicator Slow Stochastic Fast %K (8,3)
draw Slow Stochastic Fast %K (8,3) line at 20
draw Slow Stochastic Fast %K (8,3) line at 80

chart-time is 55 days
]



-----

Hope this helps !!!

GLTY !!!


wkloss
230 posts
msg #96740
Ignore wkloss
10/5/2010 10:58:41 AM

alf44,

That did exactly what I needed. I do have one question. If I wanted another filter that only shows NR4 Inside days, can I just change all the 7's to 4's?

Bill



alf44
2,025 posts
msg #96743
Ignore alf44
modified
10/5/2010 1:33:24 PM


Bill,

I would do this instead ...

This revised filter will now show you BOTH "Inside Day NR4s" AND "Inside Day NR7s" !

All from one filter...

---

Fetcher[/* Inside Days that are also EITHER NR4s OR NR7s */

/* Inside Days (H/L Range inside H/L Range 1 day ago) */
set{IDhi, count(High below High 1 day ago, 1)}
set{IDlo, count(Low above Low 1 day ago, 1)}
set{ID, IDhi * IDlo}

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

/* Inside Day NR4s (Inside Day with Narrowist Range of the last 4 days) */
set{NR4, count(Day Point Range reached a new 4 day Low, 1)}
set{IdNr4s, ID * NR4}

/* Inside Day NR7s (Inside Day with Narrowist Range of the last 7 days) */
set{NR7, count(Day Point Range reached a new 7 day Low, 1)}
set{IdNr7s, ID * NR7}

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

/* Pattern Fetcher */
set{A1, IdNr4s + IdNr7s}


Show stocks where A1 is greater than 0

Market is NASDAQ 100

add column ID
add column NR4
add column NR7

draw EMA(10)
draw EMA(30)
draw EMA(150)

draw indicator Slow Stochastic Fast %K (8,3)
draw Slow Stochastic Fast %K (8,3) line at 20
draw Slow Stochastic Fast %K (8,3) line at 80

chart-time is 55 days
]



---

Looking at NASDAQ 100 stocks here but you can obviously choose your own universe of stocks or other Markets.

Also, keep in mind that an NR7 will ALWAYS be an NR4 as well ... but, an NR4 may not be an NR7 ! It very well could be ... but not neccesarily. Think about it !

Hope this helps !


wkloss
230 posts
msg #96747
Ignore wkloss
10/5/2010 2:45:14 PM

alf44

Thanks. Combining them was a great idea.

Bill

StockFetcher Forums · Filter Exchange · Inside Day NR7s<< >>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 2016 - 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