StockFetcher Forums · Filter Exchange · ENHANCED TREND DISPLAY<< >>Post Follow-up
TheRumpledOne
6,359 posts
msg #42476
Ignore TheRumpledOne
modified
3/25/2006 2:00:05 PM

Fetcher[
/* TREND CHANGE FILTER */

/* ENHANCED TREND DISPLAY */

set{T10, count(10 day slope of the close above 0,1)}

set{T30, count(30 day slope of the close above 0,1)}
set{T60, count(60 day slope of the close above 0,1)}
set{T100, count(100 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{a1, T200 * 1}
Set{a2, T100 * 10}
Set{a3, T60 * 100}
Set{a4, T30 * 1000}
Set{a5, T10 * 10000}

Set{aa, a1 + a2}
Set{ab, aa + a3}
Set{ac, ab + a4}
Set{TREND, ac + a5}

set{T10a,days(10 day slope of the close below 0, 100)}
set{T30a,days(30 day slope of the close below 0, 100)}
set{T60a,days(60 day slope of the close below 0, 100)}
set{T100a,days(100 day slope of the close below 0, 100)}
set{T200a,days(200 day slope of the close below 0, 100)}

set{t1ago, trend 1 day ago}
set{t1diff, trend - t1ago}

ADD COLUMN TREND
ADD COLUMN t1ago

ADD COLUMN T10a
ADD COLUMN T30a
ADD COLUMN T60a
ADD COLUMN T100a
ADD COLUMN T200a

draw T10a
draw T30a on plot t10a
draw T60a on plot t10a
draw T100a on plot t10a
draw T200a on plot t10a


/* Selection Criteria */


t1diff above 0

close ABOVE .01

avg vol(5) above 500000
avg vol(30) above 500000

add column industry

Sort column 5 descending
]




I decided to check to see if I could "push" Advanced SF a little today.

I added 2 more trends to the mix 30 day and 100 day.

Glossary:

ADD COLUMN TREND /* 10/30/60/100/200 day trend 1 = up, 0 = down */
ADD COLUMN t1ago /* trend 1 day ago */

ADD COLUMN T10a /* number days since 10 day trend was 0 */
ADD COLUMN T30a /* number days since 30 day trend was 0 */
ADD COLUMN T60a /* number days since 60 day trend was 0 */
ADD COLUMN T100a /* number days since 100 day trend was 0 */
ADD COLUMN T200a /* number days since 200 day trend was 0 */

tdiff is used to determine if a trend changed. If above 0 then at least one trend turned up.

So if any trend ( 10, 30, 60, 100, 200 ) changes this filter will pick it up.

Also, SF decided to draw tdiff on the chart. What I see is the 10 day trend flips to zero when a stock is basing (consolidating) then when it flops back to 1, it's off to the races if the other trends were 1!!

Feel free to try different days and combinations. Who knows, maybe RIGGS will fix this filter too!

MAY ALL YOUR FILLS BE COMPLETE.



TheRumpledOne
6,359 posts
msg #42489
Ignore TheRumpledOne
modified
3/25/2006 6:52:14 PM

Fetcher[
/* LOW TREND CHANGE FILTER */

/* ENHANCED TREND DISPLAY */

set{T3, count(3 day slope of the low above 0,1)}
set{T5, count(5 day slope of the low above 0,1)}
set{T8, count(8 day slope of the low above 0,1)}
set{T13, count(13 day slope of the low above 0,1)}
set{T21, count(21 day slope of the low above 0,1)}

Set{a1, T21 * 1}
Set{a2, T13 * 10}
Set{a3, T8 * 100}
Set{a4, T5 * 1000}
Set{a5, T3 * 10000}

Set{aa, a1 + a2}
Set{ab, aa + a3}
Set{ac, ab + a4}
Set{TREND, ac + a5}

set{T3a,days(3 day slope of the low below 0, 100 ) }
set{T5a,days(5 day slope of the low below 0, 100 ) }
set{T8a,days(8 day slope of the low below 0, 100 ) }
set{T13a,days(13 day slope of the low below 0, 100 ) }
set{T21a,days(21 day slope of the low below 0, 100 ) }

set{t1ago, trend 1 day ago}
set{t1diff, trend - t1ago}

ADD COLUMN TREND
ADD COLUMN t1ago

ADD COLUMN T3a
ADD COLUMN T5a
ADD COLUMN T8a
ADD COLUMN T13a
ADD COLUMN T21a

draw T3a
draw T5a on plot t3a
draw T8a on plot t3a
draw T13a on plot t3a
draw T21a on plot t3a


/* Selection Criteria */


t1diff above 0
trend equal 11111

low ABOVE .01

avg vol(5) above 500000
avg vol(5) above 500000

add column industry

Sort column 5 descending

]



Trend of the LOW... looking for rising lows.

The selection:

t1diff above 0
trend equal 11111

finds stocks where all the lows are rising and at least one low trend just turned positive.

In case you didn't notice or are wondering why I used different trend numbers, 3/5/8/13/21 are FIB numbers.

MAY ALL YOUR FILLS BE COMPLETE.





TheRumpledOne
6,359 posts
msg #42490
Ignore TheRumpledOne
3/25/2006 6:54:15 PM

Fetcher[

/* HIGH TREND CHANGE FILTER */

/* ENHANCED TREND DISPLAY */

set{T3, count(3 day slope of the high above 0,1)}
set{T5, count(5 day slope of the high above 0,1)}
set{T8, count(8 day slope of the high above 0,1)}
set{T13, count(13 day slope of the high above 0,1)}
set{T21, count(21 day slope of the high above 0,1)}

Set{a1, T21 * 1}
Set{a2, T13 * 10}
Set{a3, T8 * 100}
Set{a4, T5 * 1000}
Set{a5, T3 * 10000}

Set{aa, a1 + a2}
Set{ab, aa + a3}
Set{ac, ab + a4}
Set{TREND, ac + a5}

set{T3a,days(3 day slope of the high below 0, 100 ) }
set{T5a,days(5 day slope of the high below 0, 100 ) }
set{T8a,days(8 day slope of the high below 0, 100 ) }
set{T13a,days(13 day slope of the high below 0, 100 ) }
set{T21a,days(21 day slope of the high below 0, 100 ) }

set{t1ago, trend 1 day ago}
set{t1diff, trend - t1ago}

ADD COLUMN TREND
ADD COLUMN t1ago

ADD COLUMN T3a
ADD COLUMN T5a
ADD COLUMN T8a
ADD COLUMN T13a
ADD COLUMN T21a

draw T3a
draw T5a on plot t3a
draw T8a on plot t3a
draw T13a on plot t3a
draw T21a on plot t3a


/* Selection Criteria */


t1diff above 0
trend equal 11111

high ABOVE .01

avg vol(5) above 500000
avg vol(5) above 500000

add column industry

Sort column 5 descending
]



Of course, there has to be a HIGH TREND CHANGE filter too.

Higher Highs mean $$$$$




TheRumpledOne
6,359 posts
msg #47816
Ignore TheRumpledOne
modified
11/5/2006 8:01:28 AM

Fetcher[
/* TREND CHANGE FILTER - WEEKLY TREND UP */

/* ENHANCED TREND DISPLAY - WEEKLY TREND UP */

set{T04 , count(04 week slope of the weekly close above 0,1)}
set{T13, count(13 week slope of the weekly close above 0,1)}
set{T26, count(26 week slope of the weekly close above 0,1)}
set{T52, count(52 week slope of the weekly close above 0,1)}
set{T104, count(104 week slope of the weekly close above 0,1)}

Set{a1, T104 * 1}
Set{a2, T52 * 10}
Set{a3, T26 * 100}
Set{a4, T13 * 1000}
Set{a5, T04 * 10000}

Set{aa, a1 + a2}
Set{ab, aa + a3}
Set{ac, ab + a4}
Set{TREND, ac + a5}

set{T04a,days(04 week slope of the weekly close below 0, 100)}
set{T13a,days(13 week slope of the weekly close below 0, 100)}
set{T26a,days(26 week slope of the weekly close below 0, 100)}
set{T52a,days(52 week slope of the weekly close below 0, 100)}
set{T104a,days(104 week slope of the weekly close below 0, 100)}

set{t1ago, trend 1 day ago}
set{t1diff, trend - t1ago}

ADD COLUMN TREND
ADD COLUMN t1ago

ADD COLUMN T04a
ADD COLUMN T13a
ADD COLUMN T26a
ADD COLUMN T52a
ADD COLUMN T104a

draw T04a
draw T13a on plot t04a
draw T26a on plot t04a
draw T52a on plot t04a
draw T104a on plot t04a


/* Selection Criteria */


t1diff above 0

close ABOVE .01

avg vol(5) above 500000
avg vol(30) above 500000

add column industry

Sort column 5 descending

chart-display is weekly
]



For you "BOTTOM FISHERS":

Fetcher[
/* TREND CHANGE FILTER - WEEKLY TREND DOWN */

/* ENHANCED TREND DISPLAY - WEEKLY TREND DOWN */

set{T04 , count(04 week slope of the weekly close above 0,1)}
set{T13, count(13 week slope of the weekly close above 0,1)}
set{T26, count(26 week slope of the weekly close above 0,1)}
set{T52, count(52 week slope of the weekly close above 0,1)}
set{T104, count(104 week slope of the weekly close above 0,1)}

Set{a1, T104 * 1}
Set{a2, T52 * 10}
Set{a3, T26 * 100}
Set{a4, T13 * 1000}
Set{a5, T04 * 10000}

Set{aa, a1 + a2}
Set{ab, aa + a3}
Set{ac, ab + a4}
Set{TREND, ac + a5}

set{T04a,days(04 week slope of the weekly close below 0, 100)}
set{T13a,days(13 week slope of the weekly close below 0, 100)}
set{T26a,days(26 week slope of the weekly close below 0, 100)}
set{T52a,days(52 week slope of the weekly close below 0, 100)}
set{T104a,days(104 week slope of the weekly close below 0, 100)}

set{t1ago, trend 1 day ago}
set{t1diff, trend - t1ago}

ADD COLUMN TREND
ADD COLUMN t1ago

ADD COLUMN T04a
ADD COLUMN T13a
ADD COLUMN T26a
ADD COLUMN T52a
ADD COLUMN T104a

draw T04a
draw T13a on plot t04a
draw T26a on plot t04a
draw T52a on plot t04a
draw T104a on plot t04a


/* Selection Criteria */


t1diff BELOW 0

close ABOVE .01

avg vol(5) above 500000
avg vol(30) above 500000

add column industry

Sort column 5 descending

chart-display is weekly
]





Thinking of what Mark Crisp said about weekly charts.

When the 4 week trend changes from 1 to 0 that a bottom may have been hit. That appears as xxxx 1xxxx in the trend columns.


Looks like this filter went past a SF limit. The 52 and 104 week trends are the same!








StockFetcher Forums · Filter Exchange · ENHANCED TREND DISPLAY<< >>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