Anyone,
I'm entry level in this stuff but trying to learn how to write. Below is a small chunk of a scan to keep my question simple. I just can't figure out why I get an "unexpected letter" on the "a" after "if". Thanks to anyone who has the time Alan
output = "out.lst"; issuetype = common; exchange = nyse,nasdaq,amex; daystoload = 100; daysrequired = 99; integer a, b, c, d, j, k, l, m; set ROC=10; a := ROC(0); j := ROC(-1); set ROC=15; b := ROC(0); k := ROC(-1); set ROC=20; c := ROC(0); l := ROC(-1); set ROC=30; d := ROC(0); m := ROC(-1);
if (MovAvg(0,10,a) + ((MovAvg(0,10,b)*2) + ((MovAvg(0,10,c)*3)+((MovAvg(0,15,d)*4))> (MovAvg(-1,10,j) + ((MovAvg(-1,10,k)*2) + ((MovAvg(-1,10,l)*3)+((MovAvg(-1,15,m)*4))
then println symbol,",", close(0); endif; |