To: Craig Monroe who wrote (3055 ) 1/15/1998 8:53:00 PM From: Craig DeHaan Read Replies (1) | Respond to of 11149
What could I add to exclude the stocks selected by this code that have missed at least one of these conditions from day -16 thru -120. I see. Those ultimately selected would have steadily rising price slopes. The 20% increasing volume part seems unsustainable for 120 days tho. Maybe not. As Paul mentioned in a followup, you can rewrite the second scan to stipulate each day before -15 (-16,-17.etc.) to filter the first group output without resorting to multiple batch loops as I suggested; and yes, QP2 will be a great when it finally arrives for just this sort of process. If you code in all 105 days to a single scan please let me know of your results. It should be interesting. There are some canned breakout scans that come with QP but I haven't found them to be extremely useful. One adaptation from Richard that restricts the initial price lift-off and considers a one-month time frame follows: // Richard's breakout scan translated from tc2k and revised by Doug from Silicon Investor Discussion Group //Input="hiqrs.lst" AllGroup Close(0) <= 30 // price < $30 Close( 0 ) > movavg(0,34,cl) // price > avg price last 34 days (Max(-4,-25,hi)/(0.01+Min(-4,-25,lo)))<1.2 // prev month max high no more than 20% greater than max low Vol(0) > AvgVol(0,-180) // Volume is greater than the past 3/4y avg vol Vol(0) >= 300 // Volume today greater than 30000 AvgVol( 0,-30 ) >= 300 // Average volume over the last 30 days is at least 30,000 QRS(0)>=80 // Strength > 80% (Close(0)/(0.01+movavg(-1,3,cl)))>1.02 // price > avg price prev 3 days by at least 2.0% (Close(0)/(0.01+movavg(-1,3,cl)))<1.06 // But not more than 6.0% After reading what QP2's are working on here lately this seems elementary, but sometimes the basics are the classics.