StockFetcher Forums · Filter Exchange · FETCH STOCKS USING BIGBOX**MEDIUMBOX**SMALLBOX<< >>Post Follow-up
SAFeTRADE
646 posts
msg #57095
Ignore SAFeTRADE
modified
11/28/2007 2:10:53 PM

/*
VISUALIZE 3 BOXES ONE INSIDE THE OTHER. THE SMALL BOX INSIDE THE MEDIUM
BOX, THE MEDIUM BOX INSIDE THE LARGE BOX AS THE ILLUSTRATION BELOW DISPLAYS.


_________________________
| |
| |SMALLBOX
| |_______ 75%
| |
| |
|_MEDIUMBOX__ 50%
|
|
|
| BIGBOX
_________________________

NOW IMAGINE A DIAGONAL LINE RUNNING FROM THE LOWER LEFT BOTTOM OF THE BIGBOX
TO THE UPPER RIGHT HAND TOP OF THE SMALLBOX. THE BOXES COULD BE ARRANGED DIFFERENTLY
BUT FOR MY PURPOSES I HAVE CHOSEN THIS SETUP IE., THE MEDIUM BOX SITTING ON THE 50%
LINE OF THE BIGBOX AND THE SMALLBOX SITTING ON THE 50% LINE OF THE MEDIUM BOX OR 75%
LINE OF THE BIGBOX. WHEN THAT DIAGONAL LINE IS INTERSECTING THE 50% LINE OF THE BIGBOX
IT IS ALSO INTERSECTING THE 50% LINE OF THE MEDIUMBOX AND ALSO THE 50% LINE OF THE
SMALLBOX. THE SAME WOULD BE TRUE FOR THE 75% LINE OR ANY OTHER LINE YOU WISH TO USE.

FOR MY PURPOSE I WILL USE THE 75% LINE BECAUSE I LIKE BUYING STOCKS WHEN THEY ARE RISING.
MY SETUP CONSISTS OF BOTH THE BIGBOX AND THE MEDIUMBOX ABOVE 75% AND THE SMALLBOX CROSSING
ABOVE 75% IN THE LAST1 DAY. I THINK THIS PRESENTS IT SELF AS A STRONGER MOVE WHEN ALL
THE ANGLES ARE LINED UP. SO, I WILL BE LOOKING FOR BIGBOX AND MEDIUMBOX TO BE ABOVE 75
AND THE SMALLBOX CROSSING ABOVE 75. AS A SIGN OF STRENGTH I WILL USE RSI(14) TO BE ABOVE
65, ANY THAT ARE BELOW 65 ARE NOT OF ANY INTEREST TO ME. ALSO IS IT A NEW MOVE OR A
FURTHER MOVE OF AN EXISTING TREND. WEEKLY MACD CATCHES THE NEW MOVES.

I NORMALLY LIKE TO BUY A NEW HIGH, BE IT A 52 WEEK HIGH OR A TWENTY DAY HIGH AND A 55 DAY
HIGH. THIS STRATEGY SHOULD GET ME IN A LITTLE EARLY AND I WILL STILL BE IN THE MONEY WHEN
IT TESTS THE NEW HIGH. */


Fetcher[

/************************************************************************/
/************************************************************************/
/* BIG BOX SIZE IS 100 DAY HIGH AND 50 DAY LOW */
/************************************************************************/
/************************************************************************/
Set{LimDiff100, high 100 day high minus low 50 day low}
set{PPDiff100, CLOSE minus Low 50 day low}
set{PPDiv100, PPDiff100 / limdiff100}
set{bigbox, PPDiv100 * 100}

/************************************************************************/
/************************************************************************/
/* MEDIUM BOX SIZE IS 75 DAY HIGH AND 25 DAY LOW */
/************************************************************************/
/************************************************************************/

set{LimDiff75, high 75 day high minus low 25 day low}
set{PPDiff75, CLOSE minus Low 25 day low}
set{PPDiv75, PPDiff75 / limdiff75}
set{mediumbox, PPDiv75 * 100}

/************************************************************************/
/************************************************************************/
/* SMALL BOX SIZE IS 50 DAY HIGH AND 12.5 DAY LOW */
/************************************************************************/
/************************************************************************/

SEt{LimDiff50, high 50 day high minus low 12.5 day low}
set{PPDiff50, CLOSE minus Low 12.5 day low}
set{PPDiv50, PPDiff50 / limdiff50}
set{smallbox, PPDiv50 * 100}

/************************************************************************/
/************************************************************************/





close > 20
shares outstanding < 100
volume > 50000
BUY > 0


add column bigbox
add column mediumbox
add column smallbox
add column rsi(14){rsi14}
add column volmass
set{temp, count(smallbox crossed above 75 in the last 1 day,1)}
set{temp1, temp * 100}
set{buy, temp1 * .25}

draw smallbox on plot BUY
DRAW BIGBOX ON PLOT BUY
draw mediumbox on plot BUY
draw weekly rsi(2) on plot weekly rsi(5)
draw rsi(14) on plot weekly rsi(5)
draw weekly rsi(5) line at 75
draw weekly rsi(5) line at 65





draw ma(50)
draw ma(100)
draw ma(200)

set{big, bigbox}
set{med, mediumbox}


big > 75
med > 75

do not draw big
do not draw med
draw weekly macd

SORT COLUMN 8 DESCENDING


set{turnvol30, obv(30) / 1000000}
set{turn30, turnvol30 / shares outstanding}
set{volmass, indposition(turn30, 60) * 100}
draw volmass line at 75
]





luc1grunt
622 posts
msg #57098
Ignore luc1grunt
11/28/2007 2:45:24 PM

damn, too many errors in syntax. What am I missing here?


SAFeTRADE
646 posts
msg #57099
Ignore SAFeTRADE
11/28/2007 2:50:08 PM

FILTER HAS BEEN MODIFIED

TheRumpledOne
6,411 posts
msg #57116
Ignore TheRumpledOne
modified
11/28/2007 4:24:46 PM

Fetcher[
/************************************************************************/
/************************************************************************/
/* BIG BOX SIZE IS 100 DAY HIGH AND 50 DAY LOW */
/************************************************************************/
/************************************************************************/
Set{LimDiff100, high 100 day high minus low 50 day low}
set{PPDiff100, CLOSE minus Low 50 day low}
set{PPDiv100, PPDiff100 / limdiff100}
set{bigbox, PPDiv100 * 100}

/************************************************************************/
/************************************************************************/
/* MEDIUM BOX SIZE IS 75 DAY HIGH AND 25 DAY LOW */
/************************************************************************/
/************************************************************************/

set{LimDiff75, high 75 day high minus low 25 day low}
set{PPDiff75, CLOSE minus Low 25 day low}
set{PPDiv75, PPDiff75 / limdiff75}
set{mediumbox, PPDiv75 * 100}

/************************************************************************/
/************************************************************************/
/* SMALL BOX SIZE IS 50 DAY HIGH AND 12.5 DAY LOW */
/************************************************************************/
/************************************************************************/

SEt{LimDiff50, high 50 day high minus low 12.5 day low}
set{PPDiff50, CLOSE minus Low 12.5 day low}
set{PPDiv50, PPDiff50 / limdiff50}
set{smallbox, PPDiv50 * 100}

/************************************************************************/
/************************************************************************/

set{temp, count(smallbox crossed above 75 in the last 1 day,1)}
set{temp1, temp * 100}
set{buy, temp1 * .25}

draw smallbox on plot BUY
DRAW BIGBOX ON PLOT BUY
draw mediumbox on plot BUY
draw weekly rsi(2) on plot weekly rsi(5)
draw rsi(14) on plot weekly rsi(5)
draw weekly rsi(5) line at 75
draw weekly rsi(5) line at 65

set{turnvol30, obv(30) / 1000000}
set{turn30, turnvol30 / shares outstanding}
set{volmass, indposition(turn30, 60) * 100}
draw volmass line at 75

draw ma(50)
draw ma(100)
draw ma(200)

set{big, bigbox}
set{med, mediumbox}

big > 75
med > 75
close > 20
shares outstanding < 100
volume > 50000
BUY > 0

add column bigbox
add column mediumbox
add column smallbox
add column rsi(14){rsi14}
add column volmass

do not draw big
do not draw med
draw weekly macd

SORT COLUMN 8 DESCENDING
]



All I did was move some code around.

It's best to put your selection criteria that uses SET statement results AFTER your SET statements!!


SAFeTRADE
646 posts
msg #57120
Ignore SAFeTRADE
11/28/2007 5:02:35 PM

Thanks TRO, appreciate your input. I have to mess around with the filters to get them to work because I don't have the premium account. I find that if I stick in a bunch of these /*******************/ I can get around the 10 set statements allowed. Maybe just my imagination and then I sort a stick stuff in at the end as an after thought.

moqual
38 posts
msg #57121
Ignore moqual
11/28/2007 5:19:09 PM

what enter/exit timeframe do you like to use with this scan?

SAFeTRADE
646 posts
msg #57142
Ignore SAFeTRADE
11/28/2007 10:49:50 PM

Entry and exit are the same as in the Simple long filter post.
Entry is the close. Exit is a new 13 day low or when the ballon26 crosses below 75. In this case when Bigbox crosses below 75.

StockFetcher Forums · Filter Exchange · FETCH STOCKS USING BIGBOX**MEDIUMBOX**SMALLBOX<< >>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.