Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 02:55:46 +0000



Post From: ACSIL Restart cumulative measurement with each new session

[2024-09-24 07:33:22]
User431178 - Posts: 540
I'm wondering how to restart a measurement when a new session begins. I tried using `IsNewTradingDay` but that's only working for each new calendar day, not when my session and evening sessions change.

Take a look at 'Cumulative Delta Bars - Volume' in studies8.cpp (in your ACS_Source folder), it has example of how you can reset at both session start times.

How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies