StockFetcher Forums · Filter Exchange · /* OHLC NEAR OHLC 1 DAY AGO */<< >>Post Follow-up
TheRumpledOne
6,407 posts
msg #39757
Ignore TheRumpledOne
12/25/2005 10:33:05 AM

Fetcher[
/* OHLC NEAR OHLC 1 DAY AGO */

/* SELECTION CRITERIA */

open near open 1 day ago
high near high 1 day ago
low near low 1 day ago
close near close 1 day ago
]



This should find stocks that are consolidating.

I will let you add all the bells and whistles.

MAY ALL YOUR FILLS BE COMPLETE.


TheRumpledOne
6,407 posts
msg #39758
Ignore TheRumpledOne
12/25/2005 11:01:00 AM

Fetcher[
/* OHLC NEAR OHLC 1 DAY AGO */

set{odiffx, open - open 1 day ago )}

set{hdiffx, high - high 1 day ago )}

set{ldiffx, low - low 1 day ago )}

set{cdiffx, close - close 1 day ago )}

set{odiff, abs(odiffx )}

set{hdiff, abs(hdiffx)}

set{ldiff, abs(ldiffx)}

set{cdiff, abs(cdiffx )}

/* change the .10 to fit your criteria */

set{ocnt, count(odiff < .10, 1)}
set{hcnt, count(hdiff < .10, 1)}
set{lcnt, count(ldiff < .10, 1)}
set{ccnt, count(cdiff < .10, 1)}


set{hl, hcnt + Lcnt}
set{hlc, hl + ccnt}

/* SELECTION CRITERIA */

hl equal 2


/* market criteria */

market is NASDAQ

/* your price volume critiria below this line */

close above 10
volume above 100000

/* below for testing
add column odiff
add column hdiff
add column ldiff
add column cdiff

add column ocnt
add column hcnt
add column lcnt
add column ccnt

add column hlc

above for tesing */
]



This gives you a little more control.

MAY ALL YOUR FILLS BE COMPLETE.


BFreshour
139 posts
msg #39790
Ignore BFreshour
12/29/2005 5:35:17 PM

Fetcher[
/* OHLC NEAR OHLC 1 DAY AGO */

set{odiffx, open - open 1 day ago )}

set{hdiffx, high - high 1 day ago )}

set{ldiffx, low - low 1 day ago )}

set{cdiffx, close - close 1 day ago )}

set{odiff, abs(odiffx )}

set{hdiff, abs(hdiffx)}

set{ldiff, abs(ldiffx)}

set{cdiff, abs(cdiffx )}

/* change the .10 to fit your criteria */

set{ocnt, count(odiff < .10, 1)}
set{hcnt, count(hdiff < .10, 1)}
set{lcnt, count(ldiff < .10, 1)}
set{ccnt, count(cdiff < .10, 1)}


set{hl, hcnt + Lcnt}
set{hlc, hl + ccnt}

/* SELECTION CRITERIA */

hl equals 2



/* market criteria */

market is NASDAQ

/* your price volume critiria below this line */

close above 10
volume above 100000


/* below for testing
add column odiff
add column hdiff
add column ldiff
add column cdiff

add column ocnt
add column hcnt
add column lcnt
add column ccnt

add column hlc

above for tesing */

add column count(hl equals 2,20)
sort by column 5 descending
]



Simply added a column for days consolodation which tells you have many days in the last 20 days where marked as consolodation.


JohnyYuma
60 posts
msg #39851
Ignore JohnyYuma
1/1/2006 4:25:53 PM

BFreshour

I am using your filter to find stocks which are consolidating - but I am trying to find stocks based on the closing price alone

I modified your filter to derive the one below
but
it seems I have not done a good job

My understanding of the phrase "set{ccnt, count(cdiff < .01, 50)} " is that it will show the number of days in the last 50 days where the difference, between closing prices, is less than .01
but
the results that I get do not confirm the above

Additionally, is there a way that I can restrict my count to only consecutive (without a break) number of days?

Can you help me correct the filter?

Appreciate your help

Thanks


set{cdiffx, close - close 1 day ago )}
set{cdiff, abs(cdiffx )}
/* change the .10 to fit your criteria */
set{ccnt, count(cdiff < .01, 50)}
/* your price volume critiria below this line */
close above 10
average volume (90) above 500000
/* below for testing
add column cdiff
add column ccnt
above for tesing */
add column count(ccnt equals 2,50)
and count(ccnt equals 2,50) is greater than 40
sort by column 5 descending


JohnyYuma
60 posts
msg #39875
Ignore JohnyYuma
1/2/2006 8:19:58 PM

Anyone ?

Thanks


JohnyYuma
60 posts
msg #39936
Ignore JohnyYuma
1/4/2006 4:23:19 PM

What happened to the wonderful sense of canraderie that we had on these boards?

I guess because of certain bad apples, it's non-technical folks like myself who have to suffer

Well, guess I gave it a shot

Thanks


StockFetcher Forums · Filter Exchange · /* OHLC NEAR OHLC 1 DAY AGO */<< >>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.