Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 20:07:07 +0000



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

[2023-04-11 17:37:15]
User431178 - Posts: 544
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