Login Page - Create Account

Support Board


Date/Time: Sun, 22 Mar 2026 23:17:43 +0000



Difficulty with Reset in Cumulative Delta Bars-Volume and Numbers Bars Calculated Values

View Count: 1118

[2025-02-20 22:40:25]
drinkcodejava - Posts: 35
Hello,

I am guessing that I am missing something trivial, but I have been searching and reviewing the documentation/support board for help to resolve this and cannot figure out what I am doing wrong. I have added "Cumulative Delta Bars - Volume" and "Numbers Bars Calculated Values" studies to my chart and expect the cumulative delta value to reset at the start of my session time (09:30:00, see Chart Settings image), but instead it only resets at the start of the EVENING session (16:15:00; see graph regions 4 & 5, where values continue accumulating at 09:30 but reset at 16:15).

The only way I can get values to reset at the start of the regular session is to set the "Reset at Both Session Start Times" study input to Yes, which I did on the duplicated studies in graph regions 2 & 3. Data Configuration is set to Tick by Tick.

How do I get it to only reset at 09:30:00 and not 16:15:00?
(exchanging my regular and evening session times is not an option, as I have other studies dependent on the session times)

Chart Image: https://www.sierrachart.com/image.php?Image=1740089215167.png

Thanks, as always!

p.s. the reference page for Cumulative Delta Bars - Volume (Cumulative Delta Bars - Volume) does not include descriptions of the first two inputs, "Perform Rolling Calculation" and "Rolling Calculation Length". The same is true for the other two Cumulative Delta Bar study variants.
imageChart Settings.png / V - Attached On 2025-02-20 22:09:43 UTC - Size: 32.88 KB - 131 views
attachmentCumulative Delta Issue.Cht - Attached On 2025-02-20 22:10:10 UTC - Size: 5.86 KB - 269 views
[2025-02-21 00:18:20]
John - SC Support - Posts: 45204
The only way you would be able to do this would be to setup a separate chart with a single session time (no evening session) that covers the 24 hour period for which you want the Cumulative Delta Volume. For instance, set the following Session Times:
- Start Time: 09:30:00
- End Time: 09:29:59
- Use Evening Session: No

Then you can use the "Study/Price Overlay" to overlay that Cumulative Delta Volume to the original chart.

Refer to the following:
Chart Session Times

Study/Price Overlay Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-02-21 02:17:30]
drinkcodejava - Posts: 35
Thank you for the suggestion!

So the behavior I was observing was as expected for these studies? From the documentation, it really seems like the cumulative values should reset at the session start time specified, i.e. 09:30:00.
[2026-03-17 16:29:07]
cferry - Posts: 16
Ran into the same reset headache with the built-in study. The overlay workaround works but it's clunky.

I ended up writing my own CVD study with 4 reset modes — None, Session Start, Session + Evening, or Custom Time. So you can set it to reset at 09:30 and call it a day.

It also draws as a filled area instead of bars, which I find cleaner to read. https://scstudies.com/products/cvd-filled-area
[2026-03-17 21:43:04]
drinkcodejava - Posts: 35
Nice! Good thinking with the reset mode options.

The fact that it resets at the start of the evening session (sc.StartTime2) rather than the day session when using data from both sessions is a bit counterintuitive, but consistent with the documentation for the function ACSIL Interface Members - Functions: sc.GetStartOfPeriodForDateTime() , which is in the study's source code (Cumulative Delta Bars - Volume , Studies8.cpp).

I have been playing around with the built-in Study Subgraph Daily High Low , and this study also resets at only the start of the evening session when both sessions are used. It uses a different function to get the session start (i.e. study reset) time (ACSIL Interface Members - Functions: sc.GetTradingDayStartDateTimeOfBar()), and though not documented, the behavior appears to be the same.

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

Login

Login Page - Create Account