Hi

The easist way to find out how far back to go is to print the date out with 

println date(-389);

You can also use the max or min functions to get the highest or lowest value in 
a period.

println  max(-360,-390,high);

JNPR should show up if your periods are right.


Best regards,

Gary Lyben



  ----- Original Message ----- 
  From: Michael Last 
  To: [email protected] 
  Sent: Thursday, November 30, 2006 9:04 PM
  Subject: [quotes-plus] qp scan question


  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]



   

[Non-text portions of this message have been removed]

Reply via email to