BarsInProgress
<< Click to Display Table of Contents >> BarsInProgress |
An index value of the current Bars object that has called the OnBarUpdate() method. In a multi-bars script, the OnBarUpdate() method is called for each Bars object of a script. This flexibility allows you to separate trading logic from different bar events.
Notes: 1.In a single Bars script this property will always return an index value of 0 representing the primary Bars and instrument the script is running on. 2.See additional information on running multi-bars scripts. |
An int value represents the Bars object that is calling the OnBarUpdate() method.
BarsInProgress
protected override void OnStateChange() |