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: bdog who wrote (5985)8/12/1998 10:44:00 PM
From: shasta23  Read Replies (1) of 11149
 
HI BDOG!

Just a simple question! Your original alltimehigh scan had the following code

daystoload=2200;
integer mday1;

mday1:=(daysloaded)*-1;

if close(0)>max(-1,mday1,cl) then // this is where the error occurs
println symbol:-8;(i deleted the input/output lines!!)

WHY can't you use Close(0)>max(-1,-2199,cl)? Isn't that the usual way of working with the max-command? I tried to run it this way but my the scan program locked up. It only ran when i reduced the days to -1500 which was just a number randomly picked since the lock up occured with -2100 and -1800. Don't know what is going on there! The stocks picked are correct with -1500. Any ideas or explanation why you use mday as parameter?

Stefan

P.S.Sorry about my answer about the item tokens. It was very, very early and i was still sleepy. You used of course an item token and i mixed up mday with that.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext