Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 19:56:35 +0000



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

[2023-04-11 15:40:38]
C_Money - Posts: 65
Hello,

I'm trying to make my own version of the Number Of Trades indicator but can't figure out how to get the total number of trades since the session start.

I understand the following will give me the number of trades per bar:

Subgraph_NumTrades[sc.Index]= sc.NumberOfTrades[sc.Index];

But I am unsure what replace sc.Index with so that it gets me a total instead.