Login Page - Create Account

Support Board


Date/Time: Mon, 13 May 2024 22:29:59 +0000



Post From: Calculation based on subgraph values

[2017-06-28 22:45:30]
Sierra Chart Engineering - Posts: 104368

MOVAVGTYPE_SIMPLE_SKIP_ZEROS looks to skip zero values and replace them with the last value

. I didn't pay close enough attention to the code. I was thinking that it completely skipped over the zeros but it does in fact replace them with the last value.
How do both of you come to this conclusion? This is not what MOVAVGTYPE_SIMPLE_SKIP_ZEROS actually does. And can be easily verified by looking at the provided code. The mathematical formula is also given here:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=353#Moving_Average_-_Simple_Skip_Zeros
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
Date Time Of Last Edit: 2017-06-28 22:51:53