StockFetcher Forums · Filter Exchange · Volume Strength Filter producing a Contradiction<< >>Post Follow-up
mslattery@dc.rr.com
86 posts
msg #99319
Ignore mslattery@dc.rr.com
2/22/2011 1:24:47 AM

This filter was working fine until I added the "within the last # days"
qualifier and it produces less hits the longer number of days you enter into the range.
It should produce more hits on each incremental increase of the number of days as the greater length of time should allow for more opportunities for the filter to find positive hits.

Contradiction is that Each additional day reduces the number of hits instead.

Can someone please tell me what is wrong and what if anything I have misunderstood about the within # days function?

Thanks Michael


Fetcher[set {VolStrength1, Avg Vol(10)}
set {VolStrength2, Volume / VolStrength1}
set {VolStrength, VolStrength2*100}
add column VolStrength {VOL-STRENGTHl}
show stocks where VolStrength > 200 within the last 1 days
date offset 4 days ago}
]



mslattery@dc.rr.com
86 posts
msg #99350
Ignore mslattery@dc.rr.com
2/22/2011 8:45:42 PM

Current vs of filter:

Fetcher[set {VolStrength1, Avg Vol(10)}
set {VolStrength2, Volume / VolStrength1}
set {VolStrength, VolStrength2*100}
add column VolStrength {VOL-STRENGTHl}
show stocks where VolStrength > 250 within the last 1 week
draw VolStrength
]



Tried a lot a variations to no avail. Still can get the within qualifier to work.

Thanks, Michael



duke56468
683 posts
msg #99376
Ignore duke56468
2/23/2011 12:38:41 PM

The filter is giving the number of stocks that VolStrength > 200 "for" the last x days, which is correct and would decrease as x increases. Maybe what you want is the count function to get the number.

mahkoh
891 posts
msg #99387
Ignore mahkoh
2/24/2011 6:50:22 AM

Not sure whether this is what you are looking for but it does work

Fetcher[
set {VolStrength1, Avg Vol(10)}
set {VolStrength2, Volume / VolStrength1}
set {VolStrength, VolStrength2*100}
add column VolStrength {VOL-STRENGTHl}
show stocks where VolStrength has been above 250 for 1 week
draw VolStrength
]



mystiq
650 posts
msg #99392
Ignore mystiq
modified
2/25/2011 1:22:12 AM

Fetcher[
set {VolStrength1, Avg Vol(10)}
set {VolStrength2, Volume / VolStrength1}
set {VolStrength, VolStrength2*100}
add column VolStrength {VOL-STRENGTHl}
show stocks where VolStrength >= 250 1 day ago
draw VolStrength
]



"1 day ago" :returns: 958 matches
"within the last 2 days" :returns: 1616 matches
"within the last 3 days" :returns: 2288 matches
"within the last 4 days" :returns: 2761 matches



..or..

Fetcher[
set {VolStrength1, Avg Vol(10)}
set {VolStrength2, Volume / VolStrength1}
set {VolStrength, VolStrength2*100}
add column VolStrength {VOL-STRENGTHl}
show stocks where VolStrength >= 250
draw VolStrength
date offset 4 days ago
]



StockFetcher Forums · Filter Exchange · Volume Strength Filter producing a Contradiction<< >>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 2016 - 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