#### Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Options

# Scanning for Lower Percent Change from 252 Day High

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

• Options
mod
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
• Options
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.
• Options
mod
max( ) * .8
• Options
Thank you!