Bars
<< Click to Display Table of Contents >> Bars |
Represents the data returned from the historical data repository. The Bars object contain several methods and properties for working with bar data.
Warning: The Bars object and its member should NOT be accessed within the OnStateChange() method before the State has reached State.DataLoaded |
Number of bars that have elapsed since the start of the trading day |
|
Returns the Ask price |
|
Returns the bar index based on time |
|
Returns the Bid price |
|
Returns the closing price |
|
Returns a Bar object that represents a trading day whose properties for open, high, low, close, time and volume can be accessed. |
|
Returns the High price |
|
Returns the Low price |
|
Returns the opening price |
|
Returns the time |
|
Returns the volume |
|
Returns true if the bar is the first bar of a session |
|
Returns true if the bar is the first bar of a session |
|
Returns true if the bar is the last bar of a session |
|
Returns true if the chart bars should reset on a new trading day |
|
Returns true if the bars are using tick replay |
|
Value indicating the completion percent of a bar |
|
Total number of ticks of the current bar |
|
Returns the bars series as a string formatted as the series would be displayed in the user interface |