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.
Does the 200 day moving average typically include 200 days of activity or 200 closes of activity? IE - Are Saturday and Sundays included in those 200 days?
0
Comments
For scans, you can specify day, week or month - so
sma(20, close) - this is daily, which is the default, so you don't have to say "daily"
weekly sma(20, weekly close) - is weekly
monthly sma(20, monthly close) - is monthly
In scans, you can't specify a time period less than daily, like hourly or ten minutes, etc. so, this isn't legal:
hourly sma(20, hourly close)
You can put MAs for any supported time period on your chart styles (see what's available in the drop down), however. But, you can't mix time frames on a chart - for instance, you can't put a daily sma on a weekly chart, or vice versa. You can approximate them however - for instance, a 40 week moving average is similar to a 200 day average (40 weeks x5 days=200 days).
Here is a link to the chart school article on MAs.
stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_averages