I need some basic help with a simple version 2 scan. I'd like to use the BBB scan to pick up stocks that have matched the criteria sometime in the past 50 days - The loop function in version 1 worked fine but I'm having a difficult time getting this to work in version 2 (I have read the help file on how to do this and tried a few times) - the basic code is: (can anyone help? - thanks)
output = "bbb.lst"; //input = "epscomb.lst";
if Close(0)-Close(-5)>.05*Close(-5) and Vol(0) > MovAvg(0,63,vol) and Close(0)>.85*Max(0,-250,cl) then println symbol:-6," BUY: Close: ", close(0):-6:3, ",", " Up: ", close(0)-close(-1):4:3, ","," Volume: ", vol(0):-10, ",", " QRS: ", QRS(0):2, ","," Sharesfloat: ", Sharesfloat:6:3, ", ",Description:-12; endif;
//println symbol, ",", "Close", ",", close(0), ",", "Volume", ",", vol(0), ",", "PE", ",", PE:3:2, ",", "QRS", ",", QRS(0), ","," Sharesfloat", ",", Sharesfloat:12:3, ",", Description; //endif;
//println Symbol , "," , " Close", ",", Close(0):9:3, "," , " Volume", ",", vol(0):8, "," , " PE", ",", PE:6:2, "," , " QRS" , ",", QRS(0):3, "," , " Float", "," , Sharesfloat:8:3, "," , description; //endif;
|