StockFetcher Forums · Filter Exchange · TRO RED/GREEN filter<< 1 2 >>Post Follow-up
chetron
2,817 posts
msg #68182
Ignore chetron
modified
10/8/2008 10:05:25 PM

MAYBE.....


Fetcher[

/* TACHIKAWA */
/* green red divergence */

SET{VAR1,CLOSE 1 DAY AGO}
SET{VAR2,CLOSE 2 DAY AGO}
SET{VAR3,OPEN 1 DAY AGO}

SET{VAR11,COUNT(OPEN BELOW VAR1,1)}
SET{VAR12,COUNT(CLOSE ABOVE VAR1,1)}
SET{VAR13,VAR11 * VAR12}

SET{VAR41,COUNT(VAR3 BELOW VAR2,1)}
SET{VAR42,COUNT(VAR1 ABOVE VAR2,1)}
SET{VAR43,VAR41 * VAR42}

SET{VAR21,COUNT(OPEN ABOVE VAR1,1)}
SET{VAR22,COUNT(CLOSE BELOW VAR1,1)}
SET{VAR23,VAR21 * VAR22}

SET{VAR31,COUNT(VAR3 ABOVE VAR2,1)}
SET{VAR32,COUNT(VAR1 BELOW VAR2,1)}
SET{VAR33,VAR31 * VAR32}

SET{GG1,COUNT(VAR43 ABOVE .5,100)}
SET{GR1,COUNT(VAR33 ABOVE .5,100)}
SET{GO_RED,COUNT(VAR23 ABOVE .5,100)}
SET{GO_GREEN,COUNT(VAR13 ABOVE .5,100)}

SET{VAR51,GO_GREEN - GG1}
SET{VAR52,GR1 - GO_RED}
SET{TRIG,VAR51 * VAR52}

ADD COLUMN GG1
ADD COLUMN GO_GREEN
ADD COLUMN GO_RED
ADD COLUMN GR1

DRAW GO_RED
DRAW GO_GREEN

2 DAY SLOPE OF GO_GREEN ABOVE 0
2 DAY SLOPE OF GO_RED BELOW 0

CLOSE ABOVE .1
VOLUME ABOVE 1000000
SORT COLUMN 5 DESCENDING







]



Sqwii
160 posts
msg #68192
Ignore Sqwii
10/9/2008 2:17:24 AM

And chetron ? That shows that stocks most often go green? "gg1" is most times or ?

Or are you looking for the "go_green"?

??

chetron
2,817 posts
msg #68202
Ignore chetron
10/9/2008 7:08:11 AM

Sqwii
- Ignore Sqwii 10/9/2008 2:17:24 AM

And chetron ? That shows that stocks most often go green? "gg1" is most times or ?

Or are you looking for the "go_green"?

??

*********************************

THE FILTER SORTS ON THE MOST OFTEN GO GREEN, YOU CAN SORT ON COLUMN GO RED FOR THE MOST OFTEN RED.


GG1 IS YESTERDAYS GO GREEN COUNT.

ETC......



Sqwii
160 posts
msg #68203
Ignore Sqwii
10/9/2008 7:30:03 AM

Hi chetron..

Ah okay..

But then cant you make it so its the difference between go green and go red? So sorting about the best difference in a column?

So if go green is 25 and go red is 20.. then it isn't quite good...

But if go green is 25 and go red is 15, then its a good buy... ?

Right ?

chetron
2,817 posts
msg #68204
Ignore chetron
10/9/2008 8:07:02 AM

you mean like this???????????????


Fetcher[



/* TACHIKAWA */
/* green red diff*/

SET{VAR1,CLOSE 1 DAY AGO}
SET{VAR2,CLOSE 2 DAY AGO}
SET{VAR3,OPEN 1 DAY AGO}

SET{VAR11,COUNT(OPEN BELOW VAR1,1)}
SET{VAR12,COUNT(CLOSE ABOVE VAR1,1)}
SET{VAR13,VAR11 * VAR12}

SET{VAR41,COUNT(VAR3 BELOW VAR2,1)}
SET{VAR42,COUNT(VAR1 ABOVE VAR2,1)}
SET{VAR43,VAR41 * VAR42}

SET{VAR21,COUNT(OPEN ABOVE VAR1,1)}
SET{VAR22,COUNT(CLOSE BELOW VAR1,1)}
SET{VAR23,VAR21 * VAR22}

SET{VAR31,COUNT(VAR3 ABOVE VAR2,1)}
SET{VAR32,COUNT(VAR1 BELOW VAR2,1)}
SET{VAR33,VAR31 * VAR32}

SET{GG1,COUNT(VAR43 ABOVE .5,100)}
SET{GR1,COUNT(VAR33 ABOVE .5,100)}
SET{GO_RED,COUNT(VAR23 ABOVE .5,100)}
SET{GO_GREEN,COUNT(VAR13 ABOVE .5,100)}

SET{VAR51,GO_GREEN - GG1}
SET{VAR52,GR1 - GO_RED}
SET{TRIG,VAR51 * VAR52}
set{grdiff,go_green - go_red}

add column grdiff
ADD COLUMN GG1
ADD COLUMN GO_GREEN
ADD COLUMN GO_RED
ADD COLUMN GR1

DRAW GO_RED
DRAW GO_GREEN

CLOSE ABOVE .1
VOLUME ABOVE 1000000
SORT COLUMN 5 DESCENDING







]



chetron
2,817 posts
msg #68205
Ignore chetron
10/9/2008 8:48:33 AM

AND THEN.....


Fetcher[





/* TACHIKAWA */
/* green red DIVERGENCE AND diff */

SET{VAR1,CLOSE 1 DAY AGO}
SET{VAR2,CLOSE 2 DAY AGO}
SET{VAR3,OPEN 1 DAY AGO}

SET{VAR11,COUNT(OPEN BELOW VAR1,1)}
SET{VAR12,COUNT(CLOSE ABOVE VAR1,1)}
SET{VAR13,VAR11 * VAR12}

SET{VAR41,COUNT(VAR3 BELOW VAR2,1)}
SET{VAR42,COUNT(VAR1 ABOVE VAR2,1)}
SET{VAR43,VAR41 * VAR42}

SET{VAR21,COUNT(OPEN ABOVE VAR1,1)}
SET{VAR22,COUNT(CLOSE BELOW VAR1,1)}
SET{VAR23,VAR21 * VAR22}

SET{VAR31,COUNT(VAR3 ABOVE VAR2,1)}
SET{VAR32,COUNT(VAR1 BELOW VAR2,1)}
SET{VAR33,VAR31 * VAR32}

SET{GG1,COUNT(VAR43 ABOVE .5,100)}
SET{GR1,COUNT(VAR33 ABOVE .5,100)}
SET{GO_RED,COUNT(VAR23 ABOVE .5,100)}
SET{GO_GREEN,COUNT(VAR13 ABOVE .5,100)}

SET{VAR51,GO_GREEN - GG1}
SET{VAR52,GR1 - GO_RED}
SET{TRIG,VAR51 * VAR52}
set{grdiff,go_green - go_red}

add column grdiff
ADD COLUMN GG1
ADD COLUMN GO_GREEN
ADD COLUMN GO_RED
ADD COLUMN GR1

DRAW GO_RED
DRAW GO_GREEN

2 DAY SLOPE OF GO_GREEN ABOVE 0
2 DAY SLOPE OF GO_RED BELOW 0

CLOSE ABOVE .1
VOLUME ABOVE 1000000
SORT COLUMN 5 DESCENDING







]



StockFetcher Forums · Filter Exchange · TRO RED/GREEN filter<< 1 2 >>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 2016 - 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