Login Page - Create Account

Support Board


Date/Time: Sat, 31 May 2025 09:32:43 +0000



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

[2023-04-11 15:40:38]
C_Money - Posts: 81
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.