StockFetcher Forums · General Discussion · Counting Highs within X percent of 5 day high<< >>Post Follow-up
mktmole
325 posts
msg #83191
Ignore mktmole
11/17/2009 6:11:51 PM

This just isn't quite right. Especially looking at INFY today.

Fetcher[set{hh5,high 5 day high}
set{highup1, count(high < .01% above hh5,4)}
set{highup2, count(high < .01% below hh5,4)}
and add column highup1
and add column highup2
set{Both, highup1 + highup2}
show stocks where Both 1 day ago above 6 and add column both and volume above 300,000 and average volume(20) above 200,000
and draw hh5 on plot price and sort by column 7 descending
]



thanks again for any input.

mm

trendscanner
265 posts
msg #83192
Ignore trendscanner
11/17/2009 7:45:54 PM

I added one line at end. The filter does find INFY, so the criteria you've set seem to work effectively. What is it that you're thinking isn't working right?

Fetcher[
set{hh5,high 5 day high}
set{highup1, count(high < .01% above hh5,4)}
set{highup2, count(high < .01% below hh5,4)}
and add column highup1
and add column highup2
set{Both, highup1 + highup2}
show stocks where Both 1 day ago above 6 and add column both and volume above 300,000 and average volume(20) above 200,000
and draw hh5 on plot price and sort by column 7 descending
apply to symlist(infy)
]



mktmole
325 posts
msg #83197
Ignore mktmole
11/17/2009 9:09:14 PM

thanks trendscanner,

Don't most stock 'highs' appear being out of the very tight target range of within 0.1% above and below the 5 day high for 4 days ?

mm

trendscanner
265 posts
msg #83198
Ignore trendscanner
11/17/2009 10:14:59 PM

Yeah, it's definitely not finding a tight price range. I fiddled around with the logic but i couldn't find something that looked like what I think you're looking for (a tight price range near the 5 day high)

chetron
2,817 posts
msg #83202
Ignore chetron
11/18/2009 6:58:44 AM

maybel....


Fetcher[

set{hh5,high 5 day high}
set{vuplimit,hh5 * 1.01}
set{vdnlimit,hh5 * 0.99}

set{highup1, count(high below vuplimit,4)}
set{highup2, count(high above vdnlimit,4)}

and add column highup1
and add column highup2

set{Both, highup1 * highup2}

show stocks where Both 1 day ago above 6
add column both
volume above 300,000
average volume(20) above 200,000

draw hh5 on plot price
sort by column 7 descending

]



mktmole
325 posts
msg #83227
Ignore mktmole
11/18/2009 1:43:54 PM

Thank you Chetron and Trendscanner.
We are in the right direction and here is the result,

Fetcher[ /* Multiple Highs within 1% of 4 day high */
set{h4H,high 4 day high}
set{h4L,high 4 day low}

set{vuplimit,h4H * 1.01}
set{vdnlimit,h4L * 0.99}

set{highup1, count(high below vuplimit,4)}
and highup1 > 3

set{highup2, count(high above vdnlimit,4)}
and highup2 > 3

set{Both, highup1 + highup2}

and add column h4H
and add column h4L
/* draw h4H on plot price */
/* and add column highup1
and add column highup2
and add column both */
and do not draw highup1 and do not draw highup2
and add column average day range(10)

and close 1 day ago has been decreasing for the past 3 days
and volume 1 day ago < volume 2 days ago
and volume 1 day ago < volume 3 days ago
and average volume (5) is above 300,000
and average volume(45) above 300,000
and add column average volume(45)
and market is not OTCBB
and price between .70 and 50
and chart-length is 40 days
sort by column 7 descending
]



chetron
2,817 posts
msg #83230
Ignore chetron
11/18/2009 3:09:59 PM

thank you, mktmole

StockFetcher Forums · General Discussion · Counting Highs within X percent of 5 day high<< >>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.