TheRumpledOne 6,411 posts msg #37734 - Ignore TheRumpledOne
8/31/2005 12:13:34 AM
Another "old school" filter.
MAY ALL YOUR FILLS BE COMPLETE.
TheRumpledOne 6,411 posts msg #37751 - Ignore TheRumpledOne
9/1/2005 12:02:45 AM
SOMEBODY NEEDS TO BACKTEST THIS.
TheRumpledOne 6,411 posts msg #37761 - Ignore TheRumpledOne
9/1/2005 5:17:57 PM
This filter finds stocks breaking out of "trends".
The filter looks for the lowest high of the period and when the close closes about it, that's a "breakout".
MAY ALL YOUR FILLS BE COMPLETE.
__fetcheruser123 msg #46534 - Ignore __fetcheruser123
8/22/2006 12:51:09 PM Wasn't sure what kind of backtesting parameters to use so I just left them at their defaults.Approach Information Approach Name: /* Punching through the top trend line */ set... Test started on 08/20/2004 ended on 08/21/2006 , covering 504 days Filter used:
/* Punching through the top trend line */
set{LL, count(low equal low 20 day low, 20)}
set{NewLo, count(low below low 1 day ago, 20)}
set{LH, count(high below high 1 day ago, 20)}
add column LL
add column NewLo
add column LH
LL above 0
high 1 day ago equal high 20 day low 1 day ago
CLOSE above high 1 day ago
volume above 1000000
close above 20
sort column 5 descending
/* NORMALIZE accumulation distribution */
set{adval, INDPOSITION(accumulation distribution, 60) }
/* 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) }
add column wrval
add column adval
add column rsval
add column moval
/* VOLUME CALCULATIONS */
set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}
set{VolZ, days(volume < 1,100)}
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}
set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}
and add column VlXvl
and add column Vdbl
and add column volpct
Trade Statistics There were 4110 total stocks entered. Of those, 3932 or 95.67% were complete and 178 or 4.33% were open. Of the 3932 completed trades, 2098 trades or 53.36% resulted in a net gain. Your average net change for completed trades was: 0.59% . The average draw down of your approach was: -5.75% . The average max profit of your approach was: 6.07% The Reward/Risk ratio for this approach is: 1.19 Annualized Return on Investment (ROI): 7.81% , the ROI of ^SPX was: 9.26% .
Exit Statistics Stop Loss was triggered 859 times or 21.85% of the time. Stop Profit was triggered 1026 times or 26.09% of the time. Trailing Stop Loss was triggered 0 times or 0.00% of the time. You held for the maximum period of time (25 days) 2047 times or 52.06% of the time. An exit trigger was executed 0 times or 0.00% of the time.
Statistics By Holding Period Completed 2 day chg 5 day chg 10 day chg 25 day chg 40 day chg Winners: 2098 2009 2075 2084 2064 2053 Losers: 1829 2078 1978 1944 1788 1676 Win/Loss Ratio: 1.15:1 0.97:1 1.05:1 1.07:1 1.15:1 1.23:1 Net Change: 0.59% -0.06% 0.05% 0.14% 0.85% 1.41%
Statistics By Variable: Match Price <300 <600 <900 <1200 <1500 <1800 <2100 <2400 <2700 <3000 Completed 2092:1825 2:1 - - - - - - 1:0 3:3 2 day chg 2005:2071 1:3 - - - - - - 0:1 3:3 5 day chg 2068:1974 2:2 - - - - - - 0:1 5:1 10 day chg 2077:1940 3:1 - - - - - - 0:1 4:2 25 day chg 2058:1784 2:1 - - - - - - 1:0 3:3 40 day chg 2048:1671 3:0 - - - - - - 1:0 1:5
Statistics By Variable: Average Volume <15.0M <30.0M <45.0M <60.0M <75.0M <90.0M <105.0M <120.0M <135.0M <150.0M Completed 2040:1742 35:65 6:5 6:8 7:3 1:4 3:1 - - 0:1 2 day chg 1941:1997 44:56 6:5 8:7 6:5 1:4 2:3 - 1:0 0:1 5 day chg 2001:1903 46:55 9:2 8:6 5:6 2:3 3:2 - 1:0 0:1 10 day chg 2016:1861 39:63 9:2 6:9 7:4 2:3 3:2 - 1:0 1:0 25 day chg 2011:1701 31:63 6:5 5:10 7:3 1:4 3:1 - - 0:1 40 day chg 1988:1608 39:48 8:3 6:9 8:2 1:4 3:1 - - 0:1
TheRumpledOne 6,411 posts msg #46533 - Ignore TheRumpledOnemodified
8/22/2006 12:59:45 PM
TheRumpledOne 6,411 posts msg #46535 - Ignore TheRumpledOne
8/22/2006 1:00:31 PM Thanks!
TheRumpledOne 6,411 posts msg #48345 - Ignore TheRumpledOne
12/2/2006 8:09:28 PM
Added Muddy's ONE LINE FILTER columns.