Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 02:23:34 +0000



Cumulative Sum of Study resets at evening session, not morning session?

View Count: 534

[2023-06-15 12:38:16]
j4ytr4der_ - Posts: 938
I'm using the Cumulative Sum of Study study to get a sum of some values from the Numbers Bars Calculated Values study. It works but with one significant problem.

It's set to reset "at start of trading day" but that appears to be the evening reopen, not the morning session. This means that I can't get a cumulative sum starting at the cash open at 08:30 am Central time. It always includes the evening data values as well. The only way I can do this is to disable the evening session, which I really don't want to do if I don't have to.

Is there an issue in the study or is there something else I need to do, to get it to reset at both session start times?
[2023-06-15 14:27:09]
John - SC Support - Posts: 36309
You would have to use a second and/or third chart that is set to the specific session times that you want and set the Cumulative Sum of Study on those charts and then you can overlay those to the Full Session chart to view the data on a single chart.

The other option would be to modify the study itself for your needs. The code is in Studies8.cpp in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following for more information:
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
[2023-06-15 17:52:41]
j4ytr4der_ - Posts: 938
Oh wow... so it was actually intended to be this way. Overlays aren't going to cut it for me unfortunately, too much of a performance hit. I'll look into modifying the study I guess... thanks.
[2023-06-15 18:15:28]
j4ytr4der_ - Posts: 938
I don't suppose you guys would consider just making this study consistent with the behaviors/settings found in the Cumulative Delta studies, where there is an option to reset at both session start times? I was surprised it wasn't like this already, and I can't be the only person who's ever wanted to accumulate a study starting at the RTH open.

Appreciate your consideration, and I'm trying to figure out how I might modify the study myself anyway despite it being way over my head.
[2023-06-16 12:39:47]
John - SC Support - Posts: 36309
We certainly wish we had the time to get to all these kind of items, but we just do not. That is why we suggest you modify it - as we know we simply can't get to it.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-16 16:00:05]
j4ytr4der_ - Posts: 938
In case anyone else finds this at some point... another user kindly helped solve the problem here:

How to add Reset At Both Session Times to the Cumulative Sum of Study study?

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

Login

Login Page - Create Account