StockFetcher Forums · General Discussion · new breakout up filter<< >>Post Follow-up
levamit
101 posts
msg #51824
Ignore levamit
5/26/2007 7:56:10 PM

i try to build filter with this kind parameters :a day in which the range (high-low) is two or more times the average range of the last 20 days,the last day volume is larger then the previous day's volume ,and the last day close is in the top 1/3 of the day's range.
if someone can help !!:) .
thanks

nikoschopen
2,824 posts
msg #51826
Ignore nikoschopen
5/27/2007 12:51:05 AM

1) a day in which the range (high-low) is two or more times the average range of the last 20 days

First, we'll need to find the range for each of the past 20 days and then take the average of its sum by dividing it by 20. (We'll also take this number against the ATR and see the difference).

set{ADR, sum(day point range,20) / 20}
set{2xADR, day point range / ADR}
2xADR above 2

2) the last day volume is larger then the previous day's volume

volume above volume 1 day ago

3) the last day close is in the top 1/3 of the day's range

Close is above Day Position(0.66,1)

Add column ADR
Add column 2xADR

Here's a complete filter:
Fetcher[
set{ADR, sum(day point range,20) / 20}
set{2xADR, day point range / ADR}
2xADR above 2

Close is above Day Position(0.66,1)

Add column ADR{ADR(20)}
Add column 2xADR
]

Here's the same filter but with ATR as the replacement for ADR:
Fetcher[
set{ADR, sum(day point range,20) / 20}
set{2xADR, day point range / ATR(20)}
2xADR above 2

Close is above Day Position(0.66,1)

Add column ATR(20){ATR(20)}
Add column ADR{ADR(20)}
Add column 2xADR
]

On a side note, you can see from columns 5 and 6 that ADR and ATR has slightly different values. That is because, unlike ADR that takes the difference between only the high and low into calculation, ATR is comprised of the high, low and the previous close.

levamit
101 posts
msg #51891
Ignore levamit
5/31/2007 8:10:28 AM

first I want to thanks for your quick answer about my question and this is exactly what i looking for .
now i looking for a day in which the range (high-low) is two or more times the average range of the last 20 days,the last day volume is larger then the previous day's volume ,and the last day close is in the low 1/3 of the day's range.
i try to change parameters between "above" and "below" but the chart not look like what i searching for.
thanks for your help.

nikoschopen
2,824 posts
msg #51896
Ignore nikoschopen
5/31/2007 5:11:07 PM

Since everything remains essentially the same as before, we merely need to tweak the parameter for the last condition from "above 0.66" to "below 0.33" (line 4):

Fetcher[
set{ADR, sum(day point range,20) / 20}
set{2xADR, day point range / ADR}
2xADR above 2

Close is below Day Position(0.33,1)

Add column ADR{ADR(20)}
Add column 2xADR
]

Here's the same filter but with ATR as the replacement for ADR:
Fetcher[
set{ADR, sum(day point range,20) / 20}
set{2xADR, day point range / ATR(20)}
2xADR above 2

Close is below Day Position(0.33,1)

Add column ATR(20){ATR(20)}
Add column ADR{ADR(20)}
Add column 2xADR
]

Add price and volume criteria to narrow down the matches.

StockFetcher Forums · General Discussion · new breakout up filter<< >>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.