Returns the date for the currently calculating bar
| Visual Basic |
Public ReadOnly Property DateValue As DateTime
A System.Date value for the current bar
Not used during manual loop calculations
Examples
Example: Check the day of week for the current bar
CopyVB.NET
if price.DateValue.DayOfWeek = Monday then plot = price.close(1) end if