bkagarwal 1 posts msg #61714 - Ignore bkagarwal |
4/23/2008 3:55:07 AM
Hi,
Your Filter is great, I am using it in conjection with my own filters, please improve it. I have removed crossed and xcroseed over zero.
/////////////////////////////////////////////////////////////////////////////////////////////////
Show stocks where close is above 7
and average volume(60) is above 70000
and average volume(30) is above 70000
and average volume(17) is above 70000
and average volume(10) is above 70000
and average volume(5) is above 70000
and PPO(5,35) has been increasing for 1 days
and PPO(13,50) has been increasing for 1 days
and CCI has been increasing for 1 days
and Fast Stochastic(13,3) Fast %K has been increasing for 1 days
and MACD histogram(12,26) has been increasing for 1 days
and Momentum has been increasing for 1 days
and Ultimate Oscillator(7,14,28) has been increasing for 1 days
and Bollinger Oscillator(20) has been increasing for 1 days
add column separator
set{OVER, count(TSI(6,3,3) crossed above 0,1) *1}
set{UNDER, count(TSI(6,3,3) crossed below 0,1) * -1}
set{both2, OVER + UNDER}
set{CROSS, 1 - count(both2 equals 0,1)}
add column both2{TSI6}
set{var1, 2 * EMA(9)}
set{var2, cema(ema(9),9)}
set{DEMA, var1 - var2}
set{TEMA, T3(7,1)}
set{xUP, count(DEMA crossed above TEMA,1) *1}
set{xDOWN, count(DEMA crossed below TEMA,1) * -1}
set{both, xUP + xDOWN}
set{xOVER, 1 - count(both equals 0,1)}
add column both{D2/T3}
add column separator
/*close position within a 1-month price range*/
set{hi1mo,high 1 month high}
set{lo1mo,low 1 month low}
set{cllo1mo,close - lo1mo}
set{hilo1mo,hi1mo - lo1mo}
set{diff1,cllo1mo / hilo1mo}
set{%gain1mo,diff1 * 100}
/*close position within a 2-month price range*/
set{hi2mo,high 1 month high 1 month ago}
set{lo2mo,low 1 month low 1 month ago}
set{cllo2mo,close 1 month ago - lo2mo}
set{hilo2mo,hi2mo - lo2mo}
set{diff2,cllo2mo / hilo2mo}
set{%gain2mo,diff2 * 100}
/*close position within a 3-month price range*/
set{hi3mo,high 1 month high 2 month ago}
set{lo3mo,low 1 month low 2 month ago}
set{cllo3mo,close 2 months ago - lo3mo}
set{hilo3mo,hi3mo - lo3mo}
set{diff3,cllo3mo / hilo3mo}
set{%gain3mo,diff3 * 100}
/*EMA calc.*/
set{return1,%gain2mo + %gain3mo}
set{return2,return1 / 2}
set{return3,%gain1mo - return2}
set{return4,return3 * 0.6667}
set{return,return4 + return2}
add column return
draw T3(14,0.5)
draw TEMA on plot price
draw DEMA on plot price
draw TSI(6,3,3)
draw return line at 70
draw return line at 30
and DEMA >= TEMA
and CCI >= 0
and +DI(14) >= -DI(14)
and ADX(14,14) > 18
and ADX(14,14) >= -DI(14)
and Fast Stochastic(5,3) Fast %K > Fast Stochastic(5,3) Slow %D
and Fast Stochastic(13,3) Fast %K > 25
and Stochastic %K(15,5,3) > 25
and close >= T3(14,0.50)
and close > T3(5,0.7)
and close >= MA(40)
and close >= EMA(13)
and close > lower Bollinger Band(20,2.0)
and close > lower Keltner Band(10)
do not draw CROSS
do not draw xOVER
do not draw Momentum
do not draw stochastic(15,5,3) %K
do not draw Fast Stochastic(13,3) %K
do not draw Fast Stochastic(5,3) %K
do not draw ppo(5,35)
do not draw ppo(13,50)
do not draw CCI
do not draw MA(40)
do not draw EMA(13)
do not draw Bollinger Band(20,2.0)
do not draw keltner band(10)
do not draw ultimate oscillator(7,14,28)
//////////////////////////////////////////////////////////////////////////////////////////////
|