StockFetcher Forums · General Discussion · Bull Flag<< >>Post Follow-up
stockpunk
2 posts
msg #61913
Ignore stockpunk
4/28/2008 10:36:19 PM

I love trading bull flags and measured moves but I've found it very difficult to translate into a mathematical or screening function.

I found this screen on this website :

http://explosive-stocks.blogspot.com/2008/02/bull-flag-screen.html

but I'm having translating it into StockFetcher. Any help would be appreciated!!

% price change past 6 months = TOP 1000 AND
52 week high (less than or equal to) 12% AND
% price change past 1 month >-20% AND
% price change past 1 month <3% id=" xxxx" id="yyy" months =" TOP">-20% AND
% price change past 1 month <3%
PEG= Bottom 10
P/S= bottom 3


rtucker
318 posts
msg #61914
Ignore rtucker
4/29/2008 3:06:51 AM

You cant get PEG and P/S at this site.

Here is one way to get strong momentum stocks that are pulling back.

Fetcher[
/* strong move up. flagpole?*/
count(close is above parabolic sar(.1,.01) ,20) > 12
close < parabolic sar(.1,.01)

/*pause, flag/pennant? */
count(close < parabolic sar(.1,.01),5) > 2
close < parabolic sar(.1,.01)

*/strong trend*/
count(close is above ma(100),99) > 60


close > 20
avg vol(30) is above 500000]




stockpunk
2 posts
msg #61916
Ignore stockpunk
4/29/2008 8:10:41 AM

Nice. Thanks for the help!

maxreturn
745 posts
msg #61920
Ignore maxreturn
modified
4/29/2008 10:11:15 AM

Made it clickable:

Fetcher[
/*strong move up flagpole*/
count(close is above parabolic sar(.1,.01) ,20) > 12
close < parabolic sar(.1,.01)

/*pause, flag/pennant */
count(close < parabolic sar(.1,.01),5) > 2
close < parabolic sar(.1,.01)

/*strong trend*/
count(close is above ma(100),99) > 60

close > 20
avg vol(30) is above 500000
]



nikoschopen
2,824 posts
msg #61929
Ignore nikoschopen
4/29/2008 12:14:27 PM

Very nice filter, tuck!

DocMartens
3 posts
msg #62040
Ignore DocMartens
5/1/2008 11:21:45 PM

Funny, they should call that filter the sector rotation filter. Only the stocks are on the wrong end of the rotation.

rtucker
318 posts
msg #62046
Ignore rtucker
modified
5/2/2008 5:39:37 AM

Maybe ag, energy, commodities are done. Maybe not.

In the meantime:


____never mind. go back to previous filter____

rtucker
318 posts
msg #62067
Ignore rtucker
5/2/2008 12:24:36 PM

Not even a spit nickel in any of todays heros. Stopped from POT and PAL
yesterday... I hear that coal is next years fertilizer..... KOL is an obscure etf for this play.....well, back to the salt mine.

rtucker
318 posts
msg #62092
Ignore rtucker
5/2/2008 6:21:06 PM

Another flag filter:
Must have advanced subscription:

Fetcher[set{Z,count(2 day slope of close is between 0 and -.3,1)}
set{Y,count(5 day slope of close 2 days ago > .6,1)}
SET{AND9, Z * Y}


set{A,count(3 day slope of close is between 0 and -.3,1)}
set{B,count(5 day slope of close 3 days ago > .6,1)}
SET{AND1, B * A}


set{C,count(4 day slope of close is between 0 and -.3,1)}
set{D,count(5 day slope of close 4 days ago > .6,1)}
SET{AND2, C * D}



set{E,count(5 day slope of close is between 0 and -.3,1)}
set{F,count(5 day slope of close 5 days ago > .6,1)}
SET{AND3, E * F}

set{G,count(6 day slope of close is between 0 and -.3,1)}
set{H,count(5 day slope of close 6 days ago > .6,1)}
SET{AND4, G * H}

set{I,count(7 day slope of close is between 0 and -.3,1)}
set{J,count(5 day slope of close 7 days ago > .6,1)}
SET{AND5, I * J}

set{K,count(8 day slope of close is between 0 and -.3,1)}
set{L,count(5 day slope of close 8 days ago > .6,1)}
SET{AND6, K * L}

set{M,count(9 day slope of close is between 0 and -.3,1)}
set{N,count(5 day slope of close 9 days ago > .6,1)}
SET{AND7, M * N}

set{O,count(10 day slope of close is between 0 and -.3,1)}
set{P,count(5 day slope of close 10 days ago > .6,1)}
SET{AND8, O * P}



SET{OR1, AND1 + AND2}
SET{OR2, OR1 + AND3}
SET{OR3, OR2 + AND4}
SET{OR4, OR3 + AND5}
SET{OR5, OR4 + AND6}
SET{OR6, OR5 + AND7}
SET{OR7, OR6 + AND8}
SET{OR8, OR7 + AND9}
OR8 IS ABOVE 1
ADD COLUMN OR8
CLOSE > 20
AVG VOL(30) ABOVE 500000

CLOSE IS ABOVE MA(100)
SORT COLUMN 5 DESCENDING
]






rtucker
318 posts
msg #64413
Ignore rtucker
6/27/2008 3:26:34 PM

For whatever its worth. Some familiar names showing up on this sector
correction/rotation filter. Deja-vu all over again. Rotate into the banks and homebuilders. Ha! Not.

Fetcher[/*strong move up flagpole*/
count(close is above parabolic sar(.1,.01) ,20) > 12
close < parabolic sar(.1,.01)

/*pause, flag/pennant */
count(close < parabolic sar(.1,.01),5) > 2
close < parabolic sar(.1,.01)

/*strong trend*/
count(close is above ma(100),99) > 60

close > 20
avg vol(30) is above 500000
]





StockFetcher Forums · General Discussion · Bull Flag<< >>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.