RealCode API
Close Property (barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorClose[([(Int32])])
Close value for the barsAgo. 0 = current bar. Same as value(barsAgo) and Last(barsAgo)
Declaration Syntax
Visual Basic
Public Overridable ReadOnly Property Close ( _
	barsAgo As Integer _
) As Single
barsAgo (Int32)
Number of bars ago to return the close value
Return Value
Returns the Close value for the offset index. 0 = current bar
Not used during manual loop calculations ,
Example: plot the close for the current bar in a RealCode Indicator
plot = price.close(0) ' return the current close value
See Also

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