Stocks at new 52wk high for first time in 26

How would I modify the following scan [or build a new one] to find names at new 52 week
highs for the first time in 26 weeks?

[type = stock] AND [Daily SMA(20,Daily Volume) > 40000] AND [Daily High >
Yesterday's Daily MAX(253,Daily High)]

Thank you

JDA760

Best Answer

  • gord
    gord admin
    Answer ✓
    If my understanding is correct.

    You've got the first part, just add the second to ensure the new high did not happen in the last 26 weeks, (approx 126 days).

    [type = stock]
    AND [Daily SMA(20,Daily Volume) > 40000]
    AND [ High > 1 day ago MAX(253, High)]

    and [ 1 day ago Max (126, high) < 126 days ago Max (126, high)]





    http://stockcharts.com/h-sc/ui?s=ASPU&p=D&yr=1&mn=0&dy=0&id=p15592217367&a=367173486

    Of course if you are talking about rolling backwards 52 week high, then that would be a different scan covering a greater time period.

    cheers Gord
    1sc.png 16.5K

Answers

  • Nice!...looks great, thank you for your help.
  • Nice one gord. I am glad I did not comment, I thought he was looking for the 26 week high!