Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 00:06:52 +0000



moving average shift

View Count: 2499

[2013-10-08 19:18:54]
M5amhan - Posts: 468
normally a moving average only needs the number of days to load equal (or exceed by a few) to the length to plot accurately.. my longest moving average on here is the 200sma (brown) and when i only load 400 days my 144ema (orange) is off but my 200sma is still the same. do you know why this is happening?

http://www.sierrachart.com/image.php?l=1381259682907.png - days to load = 600

http://www.sierrachart.com/image.php?l=1381259763907.png - days to load = 400

if you open both links and click back and forth through the tab you can see it shift

[2013-10-09 03:45:04]
JohnL - Posts: 27
normally a moving average only needs the number of days to load equal (or exceed by a few) to the length to plot accurately

This is true for SMA, but not so for EMA. For an EMA the starting data points are always part of the final result, so you need to load enough data so that this startup effect is small. Try loading more data until you don't see a difference when changing data length.
[2013-10-09 03:58:18]
Sierra Chart Engineering - Posts: 104368
Exponential moving averages will be affected by the changing number of days in a chart. If you research how the calculation is done, you will see why. We wonder why they are so popular.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account