correct me if I am wrong but the multiple if-then -endif scenario only allows one input file and will generate duplicate outputs when the criteria interesect. Example:
output="metastoc" input ="epsrise.lst" if close(0)>3 and pe < .5*eps1growth and qrs(0) > 65 and eps1growth >20 and qtreps(0) > qtreps(-4)*1.20 and qtrrev(0)>qtrrev(-4)*1.1 and avgvol(0,-54)>25000 then Println Symbol, ",",close(0),","," eps1growth:",",",eps1growth,",", " rev1growth:",",",rev1growth,","," pe:",",",pe,","," Sharesfloat:",",",Sharesfloat,",","QRS:",",",qrs(0),",","fundyscan","," endif
if close(0)>3 and close(0)< 35 and qrs(0) > 85 and avgvol(0,-54)>25000 then Println Symbol, ",",close(0),","," eps1growth:",",",eps1growth,",", " rev1growth:",",",rev1growth,","," pe:",",",pe,","," Sharesfloat:",",",Sharesfloat,",","QRS:",",",qrs(0),",","hiqrsscan","," endif
if close(0)>10 and eps1growth >10 and hasoptions=True and avgvol(0,-143)>400000 and max(0,-143,cl) > 1.55*min(0,-143,cl)then Println Symbol, ",",close(0),","," eps1growth:",",",eps1growth,",", " rev1growth:",",",rev1growth,","," pe:",",",pe,","," Sharesfloat:",",",Sharesfloat,",","QRS:",",",qrs(0),",","hicapscan","," endif
I still have to merge watchlist ala Jeff but would love to eliminate dups and allow multiple inputs...... |