StockFetcher Forums · Filter Exchange · Cup and handle pattern<< >>Post Follow-up
Heman49
3 posts
msg #63096
Ignore Heman49
5/28/2008 1:58:08 PM

This would probably be difficult, but does anyone have any insight or info on making a filter that scans for cup and handle patterns? This seems to be the most bullish of chart patterns

Thank you

nikoschopen
2,824 posts
msg #63098
Ignore nikoschopen
5/28/2008 2:04:46 PM

Fetcher[pattern is cup and handle]



WALLSTREETGENIUS
983 posts
msg #63114
Ignore WALLSTREETGENIUS
modified
5/28/2008 10:05:47 PM

Come on Niko...you cant just leave it at that...right? Those cups are crap! You need a crossover, and you need to know at what point. Here's how you get it....and notice how they are all getting ready to rocket?


Fetcher[ema(10) crossed above ema(30) from below
and ema(60) is more than 2% above ema(30)
draw ema(45)

Average volume(30) is above 100000
volume is above 100000
chart-length is 2-months
close is above 5
Sort column 3 descending
offset 0

Set{MA50,CMA(RSI(2),50)}
set{SD,cstddev(RSI(2),50)}
set{SD50,1.4 * SD}
set{BOLU,MA50 + SD50}
set{BOLD,MA50 - SD50}

draw BOLU on plot RSI(2)
draw BOLD on plot RSI(2)

set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

set{VolZ, days(volume < 1,100)}
set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VolCnt, VolUp - VolDn}

set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

add column volpct
add column Vdbl
ADD COLUMN SEPARATOR
add column sector
add column industry
ADD COLUMN SEPARATOR
add column PE
add column RSI(2)
add column CCI(100)
]





WALLSTREETGENIUS
983 posts
msg #63115
Ignore WALLSTREETGENIUS
5/28/2008 10:18:05 PM

Just one other thing....if you are going to limit yourself to "patterns"...then the market had better be mimicking this pattern as well. Fortunately for you, this current market is in a "right-side-lift" pattern. So you should be able squeeze out a few more for about another 10 days or so. You missed the boat about 2-3 weeks ago with this particular pattern. I'll bet more than 3,000 of them passed you by already.

Good Luck,



RIGGS

nikoschopen
2,824 posts
msg #63116
Ignore nikoschopen
modified
5/29/2008 1:45:12 AM


Quote from optiongurus:

Come on Niko...you cant just leave it at that...right?

Riggs, I thunk ya misunderstood me (as usual). My reply was merely meant as a rhetorical answer to show that this pattern is already available. The question of whether I believe this pattern is good or not is another matter altogether. However, I believe SF did an admirable job of providing C&H, regardless of how rudimentary it might otherwise be, since C&H is a real bitch to code. Be that as it may, here's a real hack job that should spit out stocks with some resemblance to C&H.

Fetcher[
Slow Stochastic(50) Fast %K above 90
set{diff, high 2 month high 2 months ago / high 2 month high}
set{diff2mo,high 2 month high - low 2 month low}
set{diff4mo, diff2mo 8 weeks ago}
set{ratio, diff2mo / diff4mo}
ratio between 0.33 and 0.66
diff between 0.97 and 1.03
]



WALLSTREETGENIUS
983 posts
msg #63118
Ignore WALLSTREETGENIUS
5/29/2008 10:04:03 AM

.....thata boy!....

nikoschopen
2,824 posts
msg #63119
Ignore nikoschopen
5/29/2008 10:52:01 AM

Ure more than welcome, homey.

johnpaulca
12,036 posts
msg #63141
Ignore johnpaulca
5/30/2008 10:50:09 AM

Niko...I executed your filter yesterday and came up with one stock...WIND...up 12% today....very nice...thanks bro.

nikoschopen
2,824 posts
msg #63142
Ignore nikoschopen
5/30/2008 11:35:54 AM

Sweet! I'm only glad to help.

chetron
2,817 posts
msg #63183
Ignore chetron
5/31/2008 5:41:45 PM

or maybe....

Fetcher[


SET{VAR1,COUNT(HIGH 2 DAY AGO > HIGH 3 DAY AGO,1)}
SET{VAR2,COUNT(LOW 2 DAY AGO > LOW 3 DAY AGO,1)}
SET{VAR3,COUNT(HIGH 1 DAY AGO < HIGH 2 DAY AGO,1)}
SET{VAR4,COUNT(LOW 1 DAY AGO < LOW 2 DAY AGO,1)}
SET{VAR5,COUNT(HIGH < HIGH 1 DAY AGO,1)}
SET{VAR6,COUNT(LOW < LOW 1 DAY AGO,1)}

SET{VAR11,VAR1 * VAR2}
SET{VAR12,VAR11 * VAR3}
SET{VAR13,VAR12 * VAR4}
SET{VAR14,VAR13 * VAR6}
SET{SHORT_ME,VAR14 * VAR5}


SET{VAR21,COUNT(HIGH 2 DAY AGO < HIGH 3 DAY AGO,1)}
SET{VAR22,COUNT(LOW 2 DAY AGO < LOW 3 DAY AGO,1)}
SET{VAR23,COUNT(HIGH 1 DAY AGO > HIGH 2 DAY AGO,1)}
SET{VAR24,COUNT(LOW 1 DAY AGO > LOW 2 DAY AGO,1)}
SET{VAR25,COUNT(LOW > LOW 1 DAY AGO,1)}
SET{VAR26,COUNT(HIGH > HIGH 1 DAY AGO,1)}

SET{VAR31,VAR21 * VAR22}
SET{VAR32,VAR31 * VAR23}
SET{VAR33,VAR32 * VAR24}
SET{VAR34,VAR33 * VAR26}
SET{BUY_ME,VAR34 * VAR25}

SET{PLAYS,SHORT_ME + BUY_ME}

ADD COLUMN SHORT_ME
ADD COLUMN BUY_ME

DRAW SHORT_ME
DRAW BUY_ME

PLAYS > .5
pattern is cup and handle

DO NOT DRAW PLAYS
sort column 6 descending



]



StockFetcher Forums · Filter Exchange · Cup and handle pattern<< >>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.