Returns the date for the currently calculating bar
Declaration Syntax
Visual Basic |
Public ReadOnly Property DateValue As DateTime
Return Value
A System.Date value for the current bar
Remarks
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