GetBar()
<< Click to Display Table of Contents >> GetBar() |
Returns the first bar that matches the time stamp of the "time" parameter provided.
Note: If the time parameter provided is older than the first bar in the series, a bar index of 0 is returned. If the time stamp is newer than the last bar in the series, the last absolute bar index is returned. |
An int value representing an absolute bar index value.
time |
Time stamp to be converted to an absolute bar index |
// Check that its past 9:45 AM |