Webb, Forget my "If Max(0, -5, Cl) > 0 then" [it was the work of an earlier, immature mind :o)], but you probably do want to filter on average vol and price in the 'common' scan.
Try something like gonzongo's "scans which I update weekly- One is called 300vol which has stocks basically over 300 k in volume and over $10. The other is called small cap which has about 1000 symbols which covers stocks over 25k in volume and over $5- The two files are basically mutually exclusive. I then run all my scans with those two files as "input files"." In the 'common'template I use, his 1st scan would be ----------------- IssueType Common; //No warrants or Pfd float minVol, maxVol, minCl, maxCl; integer bar,lenVolMA; bar := 0; // for checking past values lenVolMA := 30; minCl := 10; // Set here ************ maxCl := 1000; minVol := 300; // Set here in K ******* minVol := 1000*minVol; maxVol := 100000; // Set here in K ******* maxVol := 1000*minVol; output = "300+Vol.lst"; // Rename to match the K setting**** daystoload = 2200; DaysRequired = lenVolMA+1; // Will also screen out newer issues If MovAvg(0, 20, cl) >= minCl then If MovAvg(0,lenVolMA,vol) > minVol then If MovAvg(0,lenVolMA,vol) < maxVol then Println symbol,",",date(bar),",",MovAvg(bar,lenVolMA,vol):8:3,",", SIC,",",DaysLoaded; endif; endif; endif; --------------- [The extra fields are added as potential sorts.] and you would set ------------------ minCl := 5; minVol := 25; maxVol := 300; output = "25-300Vol.lst"; ----------------- to get his 2nd. -Bob |