| jiten_ch 9 posts
 msg #158584
 - Ignore jiten_ch
 | 2/12/2022 2:44:30 PM 
 I built  a filter based on book perfect speculator. it is not catching many stocks . Did I build it right.
 /* etf want some votaliy so optionable */
 market is not ETF
 optionable
 
 /*
 52week high is more than double of 52 week low
 */
 set{52wh,high 52-week high}
 set{52wl,low 52-week low}
 set{double,52wl * 2}
 set {t52h, 52wh * 0.80}
 
 set{v3,volume 3 years ago}
 set{v6,v3 3 years ago}
 set{v9,v6 3 years ago}
 set{v10,v9 1 year ago}
 
 
 
 52wh > double
 
 /* near the 52week high withing 20% */
 close > t52h
 
 /* price went up by 20% in last four weeks */
 Price gained 20% over the last 4 weeks
 
 /* volume up 5 times */
 volume is more than 500% above average volume(30) 1 day ago
 
 
 /*  Relative-strength line */
 Relative Strength(^SPX,150) > 1.5
 30-day slope of Relative Strength(^SPX,150) > 0
 
 /*no penny stocks*/
 close > 3
 /*  companies less than 9 years old*/
 count(v10 equals 0,252) equals 252
 
 add column 52wh
 add column t52h
 add column double
 
 do not draw 52wh
 do not draw t52h
 
 
 
 
 |