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?

Comments

  • lmkwin
    lmkwin ✭✭
    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)]


  • Great! Thanks for that!