StockFetcher Forums · General Discussion · Finding stocks where close is within 15% 1 year high<< >>Post Follow-up
khan0905
1 posts
msg #34227
Ignore khan0905
12/5/2004 12:47:59 AM

I came up with the following filter but it's not working...

set{x,1 year high - close}
set{y,x/ 1 year high}
set{z,y*100}
show stocks where z is less than 15

Can anybody help?


dangreene
229 posts
msg #34233
Ignore dangreene
12/5/2004 8:47:21 AM

khan0905,

This will get you started.

Fetcher[set{x, 1 year high - close}
set{y, x / 1 year high}
set{z, y * 100}
show stocks where z is less than 15
and add column x
and add column y
and add column z
]




yepher
359 posts
msg #34234
Ignore yepher
12/5/2004 11:19:20 AM

khan,

If you want to do the same thing without using the "set" syntax you could write the filter this way:

Fetcher[
close is less than 15 percent below the close 52 week high

/*and draw close 52 week high minus 15 percent on plot price*/
and price above 1
]



The problem I have with this particular technique is 15% seems to have a different meaning based on the magnitude of the price.

A solution to the problem might look something like the filter below. It tries to find stocks where the price is within 15% of the top (85%) of the 52 week high/low range. It is calculated similar to Bollinger %B but using the yearly high/low close values as the input.

Fetcher[
set{myHigh, close 52 week high}
set{myLow, close 52 week low}
set{myDelta1, close minus myLow}
set{myDelta2, myHigh minus myLow}
set{percentC, myDelta1 / myDelta2}

percentC above .85

AND draw close 52 week high
AND draw close 52 week low
AND draw percentC
AND price above 1
]



Hope this helps...


StockFetcher Forums · General Discussion · Finding stocks where close is within 15% 1 year 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.