StockFetcher Forums · View by Author: compound_gains (183 messages) ·  [ Display By: Date / Subject ]<< 1 ... 15 16 17 18 19 >> 
General Discussion · Help with filter...
compound_gains
msg #80263
9/29/2009 8:50:46 AM

These two filters should produce the same list...but they don't. The problem appears to be in the variable counts in Filter#2. Maybe I have the syntax wrong? Any thoughts would be appreciated.

FILTER #1
Fetcher[
not otcbb
set offset 5
close is between 1 and 15
set{volcnt, count(volume above 100000, 10) }
volcnt equal to 10

set{p1, count(high greater than open, 100)}
p1 greater than 75

set{chk, open / close 1 day ago}
set{chk1, count(chk less than 1.04, 100)}

set{x1, high - open}
set{Long_Profit, x1/open }

set{lp, count(Long_Profit > .09 , 100) }
set{adr, average day range(30)}
set{score, lp * adr }
score greater than 300


add column chk1
add column p1
add column score
add column adr
add column lp
sort column 5 ascending
chart-time one month
]



FILTER #2
Fetcher[not otcbb
close 5 days ago between 1 and 15
set{volcnt, count(volume above 100000, 10) 5 days ago }
volcnt equal to 10

set{p1, count(high greater than open, 100) 3 days ago}
p1 greater than 75

set{chk, open 4 days ago / close 5 days ago}
set{chk1, count(chk less than 1.04, 100) 5 days ago}

set{x1, high 5 days ago - open 5 days ago}
set{Long_Profit, x1/open }

set{lp, count(Long_Profit > .09 , 100) 5 days ago}
set{adr, average day range(30) 5 days ago}
set{score, lp * adr}
score greater than 300

add column chk1
add column p1
add column score
add column adr
add column lp
sort column 5 ascending
chart-time one month
]



P.S. Elements of TRO's Run Forest Run in this code are acknowledged.













Filter Exchange · Tight flag or 6 day flat base
compound_gains
msg #77616
8/17/2009 11:44:31 AM

I was just playing around with your screen and noticed that a number of stocks with this look...obviously just a tighter criteria on what you posted...dropped or were flat for the next couple of days and then made nice upward moves. It seems that it's a safer buy if you can get in no more than 3-5% above what the close was two days before.

Filter Exchange · Tight flag or 6 day flat base
compound_gains
msg #77519
8/13/2009 9:53:45 AM

Something to consider. Trading strategy is to buy 2 days after the signal near end of day if ask is no more than 3-5% above close on the signal day. Hold is no more than 5 days.

Fetcher[close between 1 and 5

volume > 250000
close below close 1 day ago
Linear Regression Slope(10) < 0.02

Linear Regression Slope(10) > -0.02
low below center linear regression line(10,1.0)
open above center linear regression line(10,1.0)
close below open
close above center linear regression line(10,1.0)

chart-time 1 month
]





StockFetcher Forums ·  · << 1 ... 15 16 17 18 19 >>

*** 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 2018 - 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