Thread
Trying to write a simple scan which outputs a few variables (ave vols and mov aves) for a set of stocks in a list I create manually using QP list in the charts section. I have created a list named "traders.lst" and this is the scan as written
input ="Traders.lst"; output ="Data.1st"; daystoload=500;
If close(0)<250 then
println symbol:-6,", ",avgvol(0,-29):8:0,", ",avgvol(-1,-5):8:0, ", " ,MovAvg(0,4,cl),", ",MovAvg(0,7,cl),", ",MovAvg(0,12,cl),", ", MovAvg(0,20,cl),", ",MovAvg(0,33,cl),", ",EMovAvg(0,54,cl),", ", EMovAvg(0,86,cl),", ",EMovAvg(0,143,cl),", ",EMovAvg(0,232,cl),", ", IndustryGroup:15;
endif;
It runs with no hangups but it does not output data. What is wrong?
thanks david |