Returns the date for the specified offset bars ago
Declaration Syntax
Parameters
- barsAgo (Int32)
- Bars ago to get the date. 0 = current bar
Return Value
A System.Date value for the barsAgo
Remarks
Not used during manual loop calculations
Examples
Example: Check the previous bars date and time:
CopyVB.NET
if price.DateValue(1).DayOfWeek = Monday then plot = price.close(1) end if