StockFetcher Forums · Filter Exchange · /* TRI - Trend Reversal Indicator << >>Post Follow-up
TheRumpledOne
6,364 posts
msg #37742
Ignore TheRumpledOne
8/31/2005 7:00:57 PM

Fetcher[
/* TRI - Trend Reversal Indicator - ONE SHOT ONE KILL, John Netto */

set{TRI, rsi(13) + cma(rsi(3), 3)};

set{TRIUP, count(TRI above TRI 1 day ago, 1)}
set{TRIDN, count(TRI below TRI 1 day ago, 1)}

set{TRIUPx, days(TRI below TRI 1 day ago, 100)}
set{TRIDNx, days(TRI above TRI 1 day ago, 100)}
set{TRIxTRI, TRIUPx - TRIDNX}

close above 20

volume above 1000000
]

I read most of "ONE SHOT ONE KILL TRADING" by John Netto while sitting in a book store. This guy uses RSI(3)!!!

This trend reversal indicator works very well for daytrading.

TRIUP = 1 when the trend is up and TRIDN = 1 when the trend is down.

TRIxTRI is the number of days trend is up(+) or down(-).

I wondered if I could program SF to do it.

It works!!

I computed all the pieces so you can use what you want.

MAY ALL YOUR FILLS BE COMPLETE.

TheRumpledOne
6,364 posts
msg #37743
Ignore TheRumpledOne
8/31/2005 7:06:43 PM

Fetcher[
/* TRI - Trend Reversal Indicator - ONE SHOT ONE KILL, John Netto */

set{TRI, rsi(13) + cma(rsi(3), 3)};

set{TRIUPx, days(TRI below TRI 1 day ago, 100)}
set{TRIDNx, days(TRI above TRI 1 day ago, 100)}

set{TRIxTRI, TRIUPx - TRIDNX}

set{TRIREV, sign(TRIxTRI) + sign(TRIxTRI 1 day ago)}

set{wTRI, weekly rsi(13) + cma( weekly rsi(3), 3)};

set{wTRIUPx, days(wTRI below wTRI 1 week ago, 100)}
set{wTRIDNx, days(wTRI above wTRI 1 week ago, 100)}

set{wTRIxTRI, wTRIUPx - wTRIDNX}

set{wTRIREV, sign(wTRIxTRI) + sign(wTRIxTRI 1 day ago)}

TRIREV EQUAL 0
wTRIREV EQUAL 0

close above 20

volume above 1000000
]

I have a hunch this combined with the WARM filter is going to be profitable... stay tuned!

MAY ALL YOUR FILLS BE COMPLETE.

TheRumpledOne
6,364 posts
msg #37744
Ignore TheRumpledOne
8/31/2005 7:16:38 PM

Fetcher[
/* TRI - Trend Reversal Indicator - ONE SHOT ONE KILL, John Netto */

set{TRI, rsi(13) + cma(rsi(3), 3)};

set{TRIUPx, days(TRI below TRI 1 day ago, 100)}
set{TRIDNx, days(TRI above TRI 1 day ago, 100)}

set{TRIxTRI, TRIUPx - TRIDNX}

set{TRIREV, sign(TRIxTRI) + sign(TRIxTRI 1 day ago)}

set{wTRI, weekly rsi(13) + cma( weekly rsi(3), 3)};

set{wTRIUPx, days(wTRI below wTRI 1 week ago, 100)}
set{wTRIDNx, days(wTRI above wTRI 1 week ago, 100)}

set{wTRIxTRI, wTRIUPx - wTRIDNX}

set{wTRIREV, sign(wTRIxTRI) + sign(wTRIxTRI 1 day ago)}

/* NORMALIZE accumulation distribution */

/* NORMALIZE momentum(12) */

set{moval, INDPOSITION(momentum(12), 60) }

/* NORMALIZE rsi(2) */

set{rsval, RSI(2) }

/* NORMALIZE williams %r(10) */

set{wrval, INDPOSITION(williams %r(10), 60) }

TRIREV EQUAL 0
wTRIREV EQUAL 0

close above .01
volume above 100000

sort column 8 ascending
]

MAY ALL YOUR FILLS BE COMPLETE.

TheRumpledOne
6,364 posts
msg #37755
Ignore TheRumpledOne
9/1/2005 6:51:46 AM

Trapper, this is from John Netto's site, just so you don't get confused...
lol!

I day and swing trade using a variety of technical analysis techniques. My trading focuses on the Nasdaq 100, S&P 500, Eurex, Ten Year Notes, Forex and the Russell 2000.

I prefer using E-mini index futures to execute my trading strategies due to their high liquidity and low commission. However, you may also use Exchange Traded Funds (ETFs) such as the QQQ or SPY or index tracking mutual funds as index trading vehicles.

The information you'll find at this site and in my newsletters will be useful for you, whether you trade the indices directly or individual stocks, since most of them correlate well with one index or another.
My Primary Strategy

My primary trading strategy is a simple one. I look to buy weakness in rising markets and sell strength in falling markets. Once in a trade, I take profits at predetermined price points.
Implementing the Strategy

There are several tools and techniques that I use to help me execute this basic strategy. Most importantly I trade based on price action. I often use Fibonacci and Gann price points and have found them to consistently provide high probability trade entry and exit points. This is especially true if a confluence of indicators appear in the same area on a chart.

To determine trend I apply 5, 15, and 39 period moving averages to 3 minute, 13 minute, hourly, and daily price charts. I look for volume to confirm price movements and increase the probability of a good trade. I also look for common chart patterns and use trendlines, channels, and market sentiment to supplement my technical analysis.

To add depth to the index's price chart I look at individual sectors and the major component stocks that make up the indices. I also employ correlation analysis and look for bonds and currencies to confirm index price movements.

 Railwhore69 postsmsg #37765- Ignore Railwhore 9/1/2005 8:05:10 PMOuch - this is a nice filter. I added a couple lines to slim down the great picks /* pe between 5 and 40 */ volume increasing last 3 days an optional filter for PE if anyone is into that. He also claims to watch for volume to confirm action so i added the final line.
TheRumpledOne
6,364 posts
msg #37767
Ignore TheRumpledOne
9/1/2005 8:27:48 PM

Fetcher[
/* TRI - Trend Reversal Indicator - ONE SHOT ONE KILL, John Netto */

set{TRI, rsi(13) + cma(rsi(3), 3)};

set{TRIUPx, days(TRI below TRI 1 day ago, 100)}
set{TRIDNx, days(TRI above TRI 1 day ago, 100)}

set{TRIxTRI, TRIUPx - TRIDNX}

set{TRIREV, sign(TRIxTRI) + sign(TRIxTRI 1 day ago)}

set{wTRI, weekly rsi(13) + cma( weekly rsi(3), 3)};

set{wTRIUPx, days(wTRI below wTRI 1 week ago, 100)}
set{wTRIDNx, days(wTRI above wTRI 1 week ago, 100)}

set{wTRIxTRI, wTRIUPx - wTRIDNX}

set{wTRIREV, sign(wTRIxTRI) + sign(wTRIxTRI 1 day ago)}

/* NORMALIZE accumulation distribution */

/* NORMALIZE momentum(12) */

set{moval, INDPOSITION(momentum(12), 60) }

/* NORMALIZE rsi(2) */

set{rsval, RSI(2) }

/* NORMALIZE williams %r(10) */

set{wrval, INDPOSITION(williams %r(10), 60) }

/* volpct - percentage volume increased(+)/decreased(-) */
set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

/* VlxVl - number of consecutive days volume increasing(+)/decreasing(-) */
set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VlxVl, VolUp - VolDn}

/* vdbl - consecutive days volume at least doubled */
set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

TRIREV EQUAL 0
wTRIREV EQUAL 0

close above .01
volume above 100000

sort column 8 ascending
]

Instead of filtering out stocks, I added the volume display columns. Now you can see how many days volume has been increasing/decreasing, the percent of the increase/decrease and how many consecutive days volume has at least doubled.

Just click on a volume column to sort.

MAY ALL YOUR FILLS BE COMPLETE.

TheRumpledOne
6,364 posts
msg #37768
Ignore TheRumpledOne
9/1/2005 8:32:17 PM

FORGOT TO ADD: /* pe between 5 and 40 */

Fetcher[
/* TRI - Trend Reversal Indicator - ONE SHOT ONE KILL, John Netto */

set{TRI, rsi(13) + cma(rsi(3), 3)};

set{TRIUPx, days(TRI below TRI 1 day ago, 100)}
set{TRIDNx, days(TRI above TRI 1 day ago, 100)}

set{TRIxTRI, TRIUPx - TRIDNX}

set{TRIREV, sign(TRIxTRI) + sign(TRIxTRI 1 day ago)}

set{wTRI, weekly rsi(13) + cma( weekly rsi(3), 3)};

set{wTRIUPx, days(wTRI below wTRI 1 week ago, 100)}
set{wTRIDNx, days(wTRI above wTRI 1 week ago, 100)}

set{wTRIxTRI, wTRIUPx - wTRIDNX}

set{wTRIREV, sign(wTRIxTRI) + sign(wTRIxTRI 1 day ago)}

/* NORMALIZE accumulation distribution */

/* NORMALIZE momentum(12) */

set{moval, INDPOSITION(momentum(12), 60) }

/* NORMALIZE rsi(2) */

set{rsval, RSI(2) }

/* NORMALIZE williams %r(10) */

set{wrval, INDPOSITION(williams %r(10), 60) }

/* volpct - percentage volume increased(+)/decreased(-) */
set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

/* VlxVl - number of consecutive days volume increasing(+)/decreasing(-) */
set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VlxVl, VolUp - VolDn}

/* vdbl - consecutive days volume at least doubled */
set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

TRIREV EQUAL 0
wTRIREV EQUAL 0

close above .01
volume above 100000

sort column 8 ascending
]

I added PE as a column. Lot of N/A in that column!!

MAY ALL YOUR FILLS BE COMPLETE.

jbesr1230
28 posts
msg #37779
Ignore jbesr1230
9/2/2005 5:43:46 PM

Hi,
I noticed that when I clicked the magnify glass it did not give all the code in the filter. So I copied and pasted the entire code into create filter and got the message "Your StockFetcher filter exceeds filter performance restrictions."

TheRumpledOne
6,364 posts
msg #37797
Ignore TheRumpledOne
9/3/2005 2:13:06 PM

That's probably because I am using the advanced SF.

It's worth the extra money people!

NO, I DON'T WORK FOR SF AND NO THEY DIDN'T PAY ME OR ASK ME TO SAY THAT.

 StockFetcher Forums · Filter Exchange · /* TRI - Trend Reversal Indicator << >>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.

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