StockFetcher Forums · Filter Exchange · Swing trap...<< >>Post Follow-up
Trollatunga
11 posts
msg #73877
Ignore Trollatunga
4/26/2009 6:43:20 PM

Hi

Can you help me create a filter that filter out swing traps like this one: http://www.swing-trade-stocks.com/swingtrap-chart-pattern.html

thanks

chetron
2,817 posts
msg #73894
Ignore chetron
modified
4/27/2009 6:48:54 AM

try working with this.....

Fetcher[

/* TACHIKAWA */

/* LOOKS FOR 2ND AND 4TH STAGES OF LIGHTNING BOLT */

SET{VHH21,COUNT(HIGH 2 DAY AGO BELOW HIGH 1 DAY AGO,1)}
SET{VHH10,COUNT(HIGH BELOW HIGH 1 DAY AGO,1)}
SET{VHH3,VHH21 * VHH10}

SET{VLL21,COUNT(LOW 2 DAY AGO ABOVE LOW 1 DAY AGO,1)}
SET{VLL10,COUNT(LOW ABOVE LOW 1 DAY AGO,1)}
SET{VLL3,VLL21 * VLL10}

SET{VHH8,COUNT(HIGH 1 DAY AGO ABOVE HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VHL8,COUNT(LOW 1 DAY AGO ABOVE LOW 8 DAY LOW 2 DAY AGO,1)}
SET{VLH8,COUNT(HIGH 1 DAY AGO BELOW HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VLL8,COUNT(LOW 1 DAY AGO EQUAL LOW 8 DAY LOW ,1)}

SET{HIHI,VHH3 * VHH8}
SET{LOHI,VHH3 * VLH8}
SET{HILO,VLL3 * VHL8}
SET{LOLO,VLL3 * VLL8}

set{vme1,count(lolo above .5,13)}
set{vme2,count(lohi above .5,8)}
set{vme3,count(hilo above .5,5)}
set{vme4,count(lohi above .5,3)}
set{vme5,count(hilo above .5,1)}

set{vme6,vme1 * vme2}
set{vme7,vme6 * vme3}
set{vme8,vme7 * vme4}
set{picks,vme8 * vme5}

add column picks

DRAW LOLO
DRAW LOHI
DRAW HILO
DRAW HIHI

ADD COLUMN LOLO
ADD COLUMN HIHI
ADD COLUMN HILO
ADD COLUMN LOHI

close above .1
volume above 100000
lolo above .5
HILO 5 DAY AGO ABOVE .5


]



chetron
2,817 posts
msg #73902
Ignore chetron
4/27/2009 9:33:04 PM

AND THIS.....


Fetcher[


/* TACHIKAWA */

/* THIS LOOKS FOR THE 3RD AND 4TH STAGE OF LIGHTNING BOLT */

SET{VHH21,COUNT(HIGH 2 DAY AGO BELOW HIGH 1 DAY AGO,1)}
SET{VHH10,COUNT(HIGH BELOW HIGH 1 DAY AGO,1)}
SET{VHH3,VHH21 * VHH10}

SET{VLL21,COUNT(LOW 2 DAY AGO ABOVE LOW 1 DAY AGO,1)}
SET{VLL10,COUNT(LOW ABOVE LOW 1 DAY AGO,1)}
SET{VLL3,VLL21 * VLL10}

SET{VHH8,COUNT(HIGH 1 DAY AGO ABOVE HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VHL8,COUNT(LOW 1 DAY AGO ABOVE LOW 8 DAY LOW 2 DAY AGO,1)}
SET{VLH8,COUNT(HIGH 1 DAY AGO BELOW HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VLL8,COUNT(LOW 1 DAY AGO EQUAL LOW 8 DAY LOW ,1)}

SET{HIHI,VHH3 * VHH8}
SET{LOHI,VHH3 * VLH8}
SET{HILO,VLL3 * VHL8}
SET{LOLO,VLL3 * VLL8}

set{vme1,count(lolo above .5,13)}
set{vme2,count(lohi above .5,8)}
set{vme3,count(hilo above .5,5)}
set{vme4,count(lohi above .5,3)}
set{vme5,count(hilo above .5,1)}

set{vme6,vme1 * vme2}
set{vme7,vme6 * vme3}
set{vme8,vme7 * vme4}
set{picks,vme8 * vme5}

add column picks

DRAW LOLO
DRAW LOHI
DRAW HILO
DRAW HIHI

ADD COLUMN LOLO
ADD COLUMN HIHI
ADD COLUMN HILO
ADD COLUMN LOHI

close above .1
volume above 100000
lolo above .5
LOHI 2 DAY AGO ABOVE .5
]



chetron
2,817 posts
msg #73903
Ignore chetron
modified
4/27/2009 9:44:53 PM

AND FOR THE PURISTS..............



Fetcher[



/* TACHIKAWA */
/
/* THIS IS FOR THE PURISTS */

SET{VHH21,COUNT(HIGH 2 DAY AGO BELOW HIGH 1 DAY AGO,1)}
SET{VHH10,COUNT(HIGH BELOW HIGH 1 DAY AGO,1)}
SET{VHH3,VHH21 * VHH10}

SET{VLL21,COUNT(LOW 2 DAY AGO ABOVE LOW 1 DAY AGO,1)}
SET{VLL10,COUNT(LOW ABOVE LOW 1 DAY AGO,1)}
SET{VLL3,VLL21 * VLL10}

SET{VHH8,COUNT(HIGH 1 DAY AGO ABOVE HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VHL8,COUNT(LOW 1 DAY AGO ABOVE LOW 8 DAY LOW 2 DAY AGO,1)}
SET{VLH8,COUNT(HIGH 1 DAY AGO BELOW HIGH 8 DAY HIGH 2 DAY AGO,1)}
SET{VLL8,COUNT(LOW 1 DAY AGO EQUAL LOW 8 DAY LOW ,1)}

SET{HIHI,VHH3 * VHH8}
SET{LOHI,VHH3 * VLH8}
SET{HILO,VLL3 * VHL8}
SET{LOLO,VLL3 * VLL8}

set{vme1,count(lolo above .5,13)}
set{vme2,count(lohi above .5,8)}
set{vme3,count(hilo above .5,5)}
set{vme4,count(lohi above .5,3)}
set{vme5,count(hilo above .5,1)}

set{vme6,vme1 * vme2}
set{vme7,vme6 * vme3}
set{vme8,vme7 * vme4}
set{picks,vme8 * vme5}

add column picks

DRAW LOLO
DRAW LOHI
DRAW HILO
DRAW HIHI

ADD COLUMN LOLO
ADD COLUMN HIHI
ADD COLUMN HILO
ADD COLUMN LOHI

close above .1
volume above 100000
lolo above .5
LOHI 5 DAY AGO ABOVE .5
HILO BELOW .5
HILO 1 DAY AGO BELOW .5
HILO 2 DAY AGO BELOW .5
HILO 3 DAY AGO BELOW .5
HILO 4 DAY AGO BELOW .5
]




work in progress....


Fetcher[


/* TACHIKAWA */

/* LOOKS FOR 2ND AND 4TH STAGES OF LIGHTNING BOLT */

SET{VHH21,COUNT(HIGH 2 DAY AGO BELOW HIGH 1 DAY AGO,1)}
SET{VHH10,COUNT(HIGH BELOW HIGH 1 DAY AGO,1)}
SET{VHH3,VHH21 * VHH10}

SET{VLL21,COUNT(CLOSE 2 DAY AGO ABOVE CLOSE 1 DAY AGO,1)}
SET{VLL10,COUNT(CLOSE ABOVE CLOSE 1 DAY AGO,1)}
SET{VLL3,VLL21 * VLL10}

SET{VHH8,COUNT(CLOSE 1 DAY AGO ABOVE CLOSE 8 DAY HIGH 2 DAY AGO,1)}
SET{VHL8,COUNT(CLOSE 1 DAY AGO ABOVE CLOSE 8 DAY LOW 2 DAY AGO,1)}
SET{VLH8,COUNT(CLOSE 1 DAY AGO BELOW CLOSE 8 DAY HIGH 2 DAY AGO,1)}
SET{VLL8,COUNT(CLOSE 1 DAY AGO EQUAL CLOSE 8 DAY LOW ,1)}

SET{HIHI,VHH3 * VHH8}
SET{LOHI,VHH3 * VLH8}
SET{HILO,VLL3 * VHL8}
SET{LOLO,VLL3 * VLL8}

set{vme1,count(lolo above .5,13)}
set{vme2,count(lohi above .5,8)}
set{vme3,count(hilo above .5,5)}
set{vme4,count(lohi above .5,3)}
set{vme5,count(hilo above .5,1)}

set{vme6,vme1 * vme2}
set{vme7,vme6 * vme3}
set{vme8,vme7 * vme4}
set{picks,vme8 * vme5}

add column picks

DRAW LOLO
DRAW LOHI
DRAW HILO
DRAW HIHI

ADD COLUMN LOLO
ADD COLUMN HIHI
ADD COLUMN HILO
ADD COLUMN LOHI

close above .1
volume above 100000
lolo above .5
HILO 5 DAY AGO ABOVE .5

]



chetron
2,817 posts
msg #73945
Ignore chetron
4/29/2009 10:24:57 PM

down and dirty.....



Fetcher[
/* just look for the bat signal on the macd and it's a lock. */

low below low 1 day ago
low below low 7 day low 1 day ago
draw macd(4,8)
]



Eman93
4,750 posts
msg #73948
Ignore Eman93
4/29/2009 11:09:26 PM

enhanced?



Fetcher[
/* just look for the bat signal on the macd and it's a lock. */

close is above 1
close is below 100

low below low 1 day ago
low below low 7 day low 1 day ago
draw macd(4,8)

MACD Histogram(12,26,9) < 0

MACD Histogram(12,26,9) > MACD Histogram(12,26,9) one day ago


Volume has been increasing for 1 days

Average Volume(30) is above 70000
]


]

chetron
2,817 posts
msg #73952
Ignore chetron
modified
4/30/2009 6:53:05 AM

THE "HISTOGRAM > HISTOGRAM 1 DAY AGO" GETS YOU IN 1 DAY LATE. I PLAN ON THE 3RD DIP TO BE THE "C" WAVE AND PLAY THE NEXT DAY RALLY.

MCDI WOULD HAVE BEEN GOOD FOR 28 APR 09, THOUGH IT LOOKS MORE LIKE A GULL THAN A BAT, UPPER PEAKS SHOULD BE CLOSER TO THE 0 LINE.

Trollatunga
11 posts
msg #74060
Ignore Trollatunga
5/3/2009 8:33:30 PM

Thanks for the effort and your time Eman93 and chetron....

I didnt like the TACHIKAWA screen formula, it cinda was to complicated for me and I could not find the result that I am looking for.

It seems to be very difficult to find this pattern, but I tried myself and have come up with this:

1. one based on support and resistance

show stocks where low is less than 3% above support(10)
and support(10) slope is between -0.02 to 0.02
and low is below resistance(16)
and resistance(16) slope is below 0
ma(20) has been increasing for the last 20 days

2. and I also have tried to find swing trap with descending triangle like this one:

show stocks where pattern is descending triangle(12)
and ma(20) has been increasing for the last 20 days

What do you think of this?
If you are interest you can edit these screening formulas.

Yeah one last thing, how can I make screening formulas that screens for resistance that becomes supports? and the other way around?

Thanks alot....




Eman93
4,750 posts
msg #74061
Ignore Eman93
5/3/2009 9:37:05 PM

Chet,

Can you explain what you mean by 3rd dip? 3rd dip below 7 day low?

Thanks.

chetron
2,817 posts
msg #74080
Ignore chetron
modified
5/4/2009 9:18:57 AM

THE 3RD DIP OF MACD(4,8) HISTOGRAM.
20APR09 1ST
23APR09 2ND
28APR09 3RD

HTH

StockFetcher Forums · Filter Exchange · Swing trap...<< >>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.