NR4
Narrow Range 4 Swing Trading Volatility breakout scan
input="udu5550.lst";
output = "nr4.lst";
daystoload=65;
DaysRequired=65;
Printhdrln "Symbol,Company,Industry Group,Close,Change, % Chg,EPSRank,QRS,PE,Vol,30adv,Buy Stop,Sell Stop";
if Range (-3) > Range (0) and
Range (-2) > Range (0) and
Range (-1) > Range (0) and
Low (-1) \< low (0) and
high (-1) > high (0) and
Close(0)>=10 and
EPSRank(0) >=85 and
QRS(0) >=85 and
AvgVol (0, -49)>=10000
then
println symbol , "," , Description,",",IRLsymbol:12,",",Close(0):7:2,",",Close(0)-Close(-1):7:2,",",((Close(0)-Close(-1))/Close(-1))*100:7:2,",",EPSRank(0):3:0,",",QRS(0):3:0,",",PE:5:0,",",vol(0)/1000:8:1,",",avgvol(0,-29)/1000:8:1,",",Close(0)+(0.02):5:2,",",Close(0)-(0.02):5:2;
endif;