IsTimeBased
<< Click to Display Table of Contents >> IsTimeBased |
Used to indicate the BarsType is built from time-based bars (day, minute, second). Setting this property on a custom bar type is useful for correct calculations from many core data and session logic, and can also be used by 3rd party NinjaScript objects to determine how to interact with the bars.
A bool which when true tells other objects the bars are built from time; default set to false.
Setting the IsTimeBased defaults in a custom BarsType |
---|
protected override void OnStateChange() |
Reading IsTimeBased from a custom NinjaScript object |
---|
protected override void OnBarUpdate() |