SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Thomas Eglin who wrote (4846)6/24/1998 12:08:00 PM
From: Bob Jagow  Read Replies (1) of 11149
 
Think the error msg was at one of the many unmatched ')'s, Tom.
Don't need the enclosing (...)s because 'and' has lower precedence -- try
------------
output = "!MA and Stoch.lst";
DaysToLoad = 250;
if EMovAvg(0,20,cl) > MovAvg(0,50,cl) and
MovAvg(0,50,cl) > MovAvg(0,200,cl) and
Close (0) > Movavg(0,50,cl) and
Close(0) > Max(-1,-250,cl)*.8 and
Movavg (0,50,cl)>Movavg(-15,50,cl)*1.02 and
Close(0)>= 12 and
Close(0)<= 40 and
AvgVol(0,-29)>= 20000 and
Min(-1,-5,stochPctK) < 30 and
close(0) > close(-1)+.25 then
println symbol , "," , Description;
endif;
--------------
-note that I anally removed anal comments -- sorry ;)
Get 19 hits -- all fine and good until you try to load it and find that QP doesn't like spaces in file names.
"!MA-Stoch.lst" works.

Bob
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext