New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Stock Price >= -20% of 52 Week High

edited December 2018 in Scanning
I'm trying to build a scan that will show me stocks that range within 52 Week Highs down to -20% from their 52 Week High. I know that [today's high <= yesterday's daily max(253,high)*0.8] will get me those that are 20% below their 52 wk high, but how do I get those that are -20% to 0% of a 52 wk high?


  • Change the <= to >=
  • change [today's high <= yesterday's daily max(253,high)*0.8] to
    [today's high >= yesterday's daily max(253,high)*0.8]
  • JasonJason
    edited December 2018
    Wouldn't that show stocks 20% over their 52 week high? Sorry if my post wasn't quite clear. I want to be able to scan for stocks that are -20% to 0% of their 52 wk high.
  • lmkwinlmkwin ✭✭
    edited December 2018
    The clause says Show me things in the universe you selected that the current HIGH price is greater than or equal to the 253 day High times 0.8.

    This would show things in the universe that you selected that are within 20% of the high. Your first clause or expression ( <=) would show things that are NOT within 20% of the high.
  • lmkwin is right.

    Another way to do this is use Fast Stochastics with parameters 251,1.

    and [Fast Stoch %K(251,1) > 80]
Sign In or Register to comment.