Michael,

Here is a suggestion for a scan for generating a list of stocks whose 
maximum high during the 1999 and 2000 bubble is higher than its most 
recent closing price. The scan prints the symbol, maximum high and the 
date on which the maximum high occurred.  However,  I ran into the same 
problem you did. My version does not find Juniper.  I do not know why.

// "Start of scan"
Input = "sample.lst";
Output = "results.lst";
DaysToLoad(1900);
DaysRequired(1900);
Integer i;
Float maxHI;
maxHi := max( -1630, -1890, hi );
If ( maxHi >  Close(0) ) Then

For i = -1890 to -1630 step 1
Do
If ( High(i) = maxHi ) Then
Println Symbol, ", ", High(i), ", ", Date(i);
endif;
next i;
endif;
// "End of scan"

Here is the list of stocks I used to test the scan.
ALL
CBE
EFX
EOP
JNPR
PMCS
QCOM
TXN

Here is output of the scan.
PMCS, 255.5, 03/10/2000
QCOM, 100, 01/03/2000
TXN, 99.78125, 03/06/2000

Howard

Michael Last wrote:
>
> I have written a simple scan that looks for stocks that were higher 
> between approx Oct 1999 and Oct 2000 than now. I get a list of 
> approximately 630 stocks, but I know some stocks are missing from the 
> list that were higher then than they are now. Example; JNPR was higher 
> during that period than it is now, but does not show up on the list.
>
> I set the weekly parameter and calculated that the weekly look back 
> period is 326 to 378 weeks from this week.
>
> I would also like to print the date of the highest high during that 
> period, but do not know how to code that.
>
> Any help would be greatly appreciated
>
> thanks
>
> Mike
>
> weekly;
> maxHi := max( -326 , -378 , hi ); // + or- 26 weeks from NAZ high of 
> 3-10-2000
> if (max(-326,-378,cl) > close(0))
> then
> prntln ............
>
> [Non-text portions of this message have been removed]
>
>  

Reply via email to