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.

How to scan for stocks far below or above the 20sma.

Hi Guys,

I'm pretty new to the scanning engine. How would I scan for stocks that are far below (or above) the 20sma, ideally 8% or more. Also would like to include a dragonfly dogi or a hammer or a morning star (green or red).

Much appreciated.

Best Answer

  • KevoKevo
    Answer ✓
    Here is my attempt at building your scan:

    [type = stock] and [Country = US] and [Daily SMA(20,Daily Volume) > 40000] and [Daily SMA(20,Daily Close) > 10]

    and [[today's daily Close < SMA(20,Daily Close) * 0.92] or [today's daily Close > SMA(20,Daily Close) * 1.08]]

    and [[Hammer is true] or [Star is true] or [Doji is true]]

    Please Note: I have not fully tested this scan to be sure it meets your criteria. Also, I removed "Morning" and "Dragonfly" from the Candlesticks. This was needed to get some hits. The first clause below the filters return both above and below the 20d SMA. Hope this helps.


Sign In or Register to comment.