StockFetcher Forums · General Discussion · Candle Closing Strength 1 - 100<< >>Post Follow-up
mslattery@dc.rr.com
91 posts
msg #105833
Ignore mslattery@dc.rr.com
4/5/2012 4:25:11 PM

I would appreciate some assistance with the following filter.
It is designed to return a result from "score" of 0 to 100 based on how close the close of the days is to the high of the day.
Close = High = 100
Close = Low = 0

Several strange things are occurring. If I remove all limiting requirements (show stocks were close > close 1 day ago
and score > 50 ) it only returns about 100 stocks instead of providing closing score for all equities.

There must be some wrong in my logic or syntax?

Greatly appreciate some help.

Thanks Michael

Fetcher[
set {score1, High - Low}
set {score2, score1 / 100}
set {score3, Close - Low}
set {score4, score3 / score2}
set {score, score4 - score2}

add column score1
add column score2
add column score3
add column score4
add column score

show stocks were close > close 1 day ago
and score > 50
]



mahkoh
1,065 posts
msg #105834
Ignore mahkoh
modified
4/5/2012 5:47:37 PM

I get 10031 returned upon removing the restrictions. I think this is what you may be looking for:

Fetcher[show stocks were close > close 1 day ago
set{dayrange,high - low}
set{closeposition, close - low}
set{closeratio, closeposition / dayrange}
closeratio above 0.5
add column closeratio
sort column 5 descending
market is NASDAQ 100
]



mslattery@dc.rr.com
91 posts
msg #105836
Ignore mslattery@dc.rr.com
4/6/2012 2:15:09 AM

Thanks mahkoh:

That was exactly what I was trying to obtain.

Michael

Kevin_in_GA
4,599 posts
msg #105837
Ignore Kevin_in_GA
4/6/2012 8:54:52 AM

Isn't this just using the day position indicator?

Fetcher[

Close is above Day Position(0.5,1)
volume is above 500000
close above 2
add column day position(0.5,1)
set{percentage1, close / day position(0.5,1)}
set{percentage, percentage1*100}
add column percentage
sort on column 6 descending
]



Here I am using different filter settings, but the concept is still the same.

StockFetcher Forums · General Discussion · Candle Closing Strength 1 - 100<< >>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.