NinjaScript > Language Reference > Data > FirstTickOfBar |
|
Definition Indicates if the incoming tick is the first tick of a new bar. This property is only of value in scripts that run tick by tick which is when the CalculateOnBarClose property is set to false.
NOTE: This property should NOT be accessed outside of the OnBarUpdate() method.
Property Value This property returns true if the incoming tick is the first tick of a new bar; otherwise, false.
Syntax FirstTickOfBar
Examples
|