NinjaScript > Language Reference > Data >

Count

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
The total number of bars or data points.

 

Property Value

An int value representing the the total number of bars.

 

Syntax

Count
 

 

Tips

1.CurrentBar value is guaranteed to be <= Count - 1. This is because of the NinjaTrader multi-threaded architecture, the Count value can have additional bars as inflight ticks come in to the system.