SharpScriptBaseGetBarIndexFromTime Method |
| Name | Description | |
|---|---|---|
| GetBarIndexFromTime(DateTime) |
Gets the bar index of the primary bar from time. Returns -1 if time is beyond the bars range
| |
| GetBarIndexFromTime(Bars, DateTime) |
Gets the bar index from time. Returns -1 if time is beyond the bars range
|