RealCode API
DefaultValue Property (barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorDefaultValue[([(Int32])])
Default Value property. Same as Value. Used to return the value for a given offset
Declaration Syntax
Visual Basic
Public ReadOnly Default Property DefaultValue ( _
	barsAgo As Integer _
) As Single
Parameters
barsAgo (Int32)
the number of bars to offset
Value
Last value for the given offset
Return Value
Returns the last value for the given offset
Remarks
Examples
Example: plot the close value 50 bars ago. On a daily timeframe 50 bars = 50 days.
CopyVB.NET
plot = price(50) ' return the current close value

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