SharpScriptBaseGetBarIndexFromTime Method (DateTime) |
Gets the bar index of the primary bar from time. Returns -1 if time is beyond the bars range
Namespace:
SharpCharts.Base.SharpScript
Assembly:
SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax protected int GetBarIndexFromTime(
DateTime time
)
Parameters
- time
- Type: SystemDateTime
Time
Return Value
Type:
Int32See Also