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: Craig DeHaan who wrote (6524)9/14/1998 8:50:00 PM
From: Bob Jagow  Read Replies (2) of 11149
 
Terse is good, Craig ;)
Gets complicated if, for example, you want to print each date
that BBB was true using Sean's flag method. -Bob
---------------------------
output="Bbbloop.lst";
ProcessMS = "c:\meta\bbbloop",MSDATA;
integer i, flag, first, last;
first:=-50; last:=0; flag:=0;
For i = first to last do
if Close(i) > Min(i-1,i-5,cl)*1.05 and
Close(i) > Max(i-1,i-260,cl)*.85 and
Vol(i) >= AvgVol(i,-65) and
AvgVol(i,-130) >= 30000 and
Vol(i) >= 30000 and
QRS(i) > 80 then
if flag = 0 then
print symbol, date(i);
flag:= 1;
else
print ",", date(i);
endif;
endif;
next i;
if flag = 1 then
println;
endif;
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext