Login Page - Create Account

Support Board


Date/Time: Sun, 20 Jul 2025 04:56:40 +0000



Post From: How to get a running total of sc.NumberOfTrades since session start?

[2023-04-11 17:37:15]
User431178 - Posts: 742
But I am unsure what replace sc.Index with so that it gets me a total instead.
It doesn't work like that.

Take a look at "Cumulative Daily Volume" study in studies8.cpp (instructions to find a link below) for one example of how you might do this.
How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies