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.

Scanning for Lower Percent Change from 252 Day High

What is the scanning syntax for finding stocks trading 20 percent below their 252 high?

Comments

  • You can use the max( ) function to the find the highest value of something over the period you specify - so for instance, 252 day high is max(252, high) or max(252, close), depending on which you want to use. For the lowest value over some period, you would min( ).

    To find a per cent of anything, like the max( ) value, multiply by the decimal equivalent of the percent. The decimal equivalent of 100% is 1.0. Something less than 100% would be something less than 1.0 - in your case, .8. If you wanted 20% above something - like an MA - it would something more than 1.0 - say 1.2
  • I know how to write the scan for the 252 day high, but what is the script for showing a close 20% lower than that high? Thanks.
  • max( ) * .8
  • Thank you!
Sign In or Register to comment.