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.
scan for all stocks with a close within 10% of SMA(20)
To avoid more volatile stocks, I'm trying to filter out any stocks over the last 90 days that had a close great than 10% of SMA(20)
I came up with the following: [max(90,close) < SMA(20,close)*1.1]
I'm still getting results where closings are well above 10% of the SMA, and thoughts how to fix this?