RealCode API
DateValue Property
RealCode APIWBI.CommonBlocksRealCodeIndicatorDateValue
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

Assembly: WBI.CommonBlocks (Module: WBI.CommonBlocks) Version: 1.0.25.0 (1.0.0.0)