Support Board
Date/Time: Tue, 25 Feb 2025 17:10:10 +0000
Cumulative sum in a time slice?
View Count: 832
[2021-04-23 13:02:11] |
Ben A - Posts: 123 |
Hi, Is it possible to do a cumulative sum of study but for resetting after x period of time? For example, cumulative sum of study for 5 minutes then reset. I want the sums for each time slice. Thanks!! |
[2021-04-23 15:04:50] |
John - SC Support - Posts: 38163 |
There is not a built-in study that can do this. You would need to develop it. You can start with the code for the "Cumulative Sum of Study" which is in Studies8.cpp which is in the ACS_Source directory under your main Sierra Chart installation. Refer to the following: How to Build an Advanced Custom Study from Source Code For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-04-23 18:38:29] |
Ben A - Posts: 123 |
Will a periodic summation work? Or is that a different calculation? Thanks |
[2021-04-23 20:05:46] |
John - SC Support - Posts: 38163 |
What Periodic Summation are you referring to?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2021-04-23 20:17:17] |
Ben A - Posts: 123 |
There is a study called 'Summation- Periodic', just noticed there is also a 'Summation of Study Subgraph- Periodic' Would any of those do what I want? Many thanks! |
[2021-04-25 07:41:14] |
|
No those other ones work differently. Do follow post #2. You can modify the existing study to do what you need. 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: