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 200 sma at least One Month Uptrend

How would I go about adding a clause to a scan that would only pick up stocks where the 200 sma has been in an uptrend for at least one month?


  • Options
    lmkwinlmkwin ✭✭
    edited June 2020
    //So the 200 SMA needs to be higher than it was 21 days ago? (approximately 21 trading days in a month)

    //Select the dropdown in Technical Attributes for the SMA.

    and [SMA(50,volume) > 9999999]

    //Change it to the 200 day and close instead of volume.

    and [SMA(200,close) > 9999999]

    //then compare it to the 200 SMA 21 days ago

    and [SMA(200,close) > 21 days ago SMA(200,close)]

  • Options
    Great! Thanks for that!
Sign In or Register to comment.