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 -- Ignore unavailable to you. Want to Upgrade?


To: Bob Jagow who wrote (5982)8/12/1998 3:46:00 AM
From: bdog  Respond to of 11149
 
Bob,

"Daysrequired = 228 rejects those with shorter histories. "

That I understand. But I don't understand why it doesn't work when you have the line

daystoload =1000;

and the line

daysrequired=228;

or why it doesn't work when when you have neither because some dates that come out wrong had well over 228 days!

hmmm
bewilderedog



To: Bob Jagow who wrote (5982)8/12/1998 3:58:00 AM
From: bdog  Read Replies (4) | Respond to of 11149
 
How's for another call for smart people?

I'm trying to scan for an all time high. This is not working. It gives a error message that the 2nd parameter has to be < the first parameter.

When I output the variable mday1 it shows that it IS less than -1. Maybe daysloaded is calc'd in a strange seq? Or where is my error?

output="alltimenewhigh.lst";
exchange=AMEX,NASDAQ,NYSE;
issuetype=common;

daystoload=2200;
integer mday1;

mday1:=(daysloaded)*-1;

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

//,daysloaded:-8,mday1:-8; // check calculation

endif;

thanks
bdog