Try this one
//Richard Estes' Breakout Scan 9/16/96
Exchange=NYSE,NASDAQ,AMEX Max(-3,-25,Hi) > 1.2*Min(-3,-25,lo) // 3 days ago Months highest high/Months lowest low GT 1.2 High(0)>Max(-1,-21,Hi) // Todays high GT Months highest high Close(0)<30 // Today's Close LT $30 Close(0)>MovAvg(0,34,Cl) // Today's Close GT 34day simple Mov avg Vol(0)>AvgVol(-1,-180) // Today's Vol GT 9 mo avg vol
// end of scan
Watch out for line-wrapped comments, as usual.
I think the original also had the sense of the inequality reversed. I posted a question to that effect but got no responses. The original post didn't make sense to me, but being a TA infant, WDIK?
However, regardless of the sense of the inequality, this avoids the zero divide problem.
Regards,
Spots |