# Scanner for beaten down stocks

#### optionssaj

##### New member
Hi, I am looking to scan stocks that are down >20% from their ATH. Any pointers on a scanner that can do this? Thanks

Solution
Try this,....
close <= .20 * Max((high,20),252) AND
plot data = Max("value1" = Max(volume[1],volume[2]), "value2" = Max(volume[2],volume[3])) is greater than 4900000

You can change volume size,.... I don't know if I wrote it correctly

there are some issues with your post

close <= 0.20 *
to find a number down x% , it would be 1 minus the %.
close <= (1 - 0.20) * ....

Max((high,20),252)
this compares a high to the constant 252. so if a high is < 252, it will equal 252. if a high is > 252, then it will equal the high.

after AND is nothing ?

the plot statement ...? is referencing volume, that wasn't requested
Hi, I am looking to scan stocks that are down >20% from their ATH. Any pointers on a scanner that can do this? Thanks
Try this,....
close <= .20 * Max((high,20),252) AND
plot data = Max("value1" = Max(volume[1],volume[2]), "value2" = Max(volume[2],volume[3])) is greater than 4900000

You can change volume size,.... I don't know if I wrote it correctly

Try this,....
close <= .20 * Max((high,20),252) AND
plot data = Max("value1" = Max(volume[1],volume[2]), "value2" = Max(volume[2],volume[3])) is greater than 4900000

You can change volume size,.... I don't know if I wrote it correctly

there are some issues with your post

close <= 0.20 *
to find a number down x% , it would be 1 minus the %.
close <= (1 - 0.20) * ....

Max((high,20),252)
this compares a high to the constant 252. so if a high is < 252, it will equal 252. if a high is > 252, then it will equal the high.

after AND is nothing ?

the plot statement ...? is referencing volume, that wasn't requested

87k+ Posts
203 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?