GetTime()
<< Click to Display Table of Contents >> GetTime() |
Returns the time stamp at the current bar index value.
Note: This method will return what is displayed in the chart's data box. For formatting purposes, the value returned is NOT guaranteed be equal to the TimeSeries value. If you are using daily bars and need the session end time, you should use Bars.GetSessionEndTime() instead. |
A DateTime structure that represents the time stamp at the desired bar index.
Bars.GetTime(int index)
index |
An int representing an absolute bar index value |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |