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.

Help With Weekly MA Scan

Hello, I am trying to build a scan that will return stocks that are above and within 1% of their 50 day SMA on the weekly chart but it doesn't seem to be working as expected. These are the parameters I am using. Any help would be greatly appreciated.

and [WEEKLY Close > WEEKLY SMA(50)]
and [WEEKLY DistFromSMA(50) <1]


  • markdmarkd mod
    edited July 22
    You are right to suspect the parameters.

    On the weekly chart, the sma parameter would be 10, not 50.

    10 weeks x 5 days in a week = 50 days.

    50 weeks would be 50 weeks times 5 days = 250 days.

    The weekly vs daily sma values will be close but not exactly the same, so the sma lines on the charts may not intersect price at exactly the same time or same level.
Sign In or Register to comment.