Pullback, Stochastics
This is a long scan to find stocks trading above their 50 day EMA, below their 10 day EMA, and today the stochastics has moved from below 20 to above 20.Prices are over 7 and Volume over 1 million shares.
Input= "udu5550.lst";
output = "PBSTO.lst";
daystoload=261;
DaysRequired=261;
set stochastic = 8,3,3;
Printhdrln "Symbol,Close,EPSRank,QRS,30adv,Vol,PE,IRLGroup,SharesFloat,SharesShort,Name,InstHold";
if Close(0)\=EMovAvg(0,52,cl) and
StochasticPctK( -1 )\<20 and
StochasticPctK( 0 )>0 and
Vol(0)>=100000 and
Close(0)>=7
then
println Symbol,",",Close(0):7:2,",",EPSRank(0):3:0,",",QRS(0):3:0,",",avgvol(0,-29):8:0,",",vol(0):8:0,",",PE:5:0,",",IRLsymbol:12,",",Sharesfloat:5:2,",",Shortint:5:2,",",description:-15,",",InstHold:3:2;
endif;