Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 21:55:15 +0000



moving average simple

View Count: 204

[2024-02-08 02:38:03]
coachted - Posts: 328
Why doies a moving average set to 30 days result in less than 30 days...does the moving average study include the weekends as a day?
[2024-02-08 02:55:32]
User43 - Posts: 101
Would be good to know which moving avg study you are referring to. There are plenty.

Typically the moving averages calculate the average of the given number of bars.
The study does not care if you have days, weeks, hours, or even volume bars on.

It just takes the last, in your case 30 bars, from the current bar and calculates the average.
then moves to the next bar and again calculates the avg of the last "30" bars.

For each bar the avg value is plotted producing the average curve.

The first avg value can obviously only be plotted on Bar 30.
Before that there is not enough data available to calculate the mov avg (30)

Which bars you have on your chart you control via its chart settings.
Data Limiting
Bar Period
Session Times
are all have settings which influence the shown bars.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account