RealCode API
NetChange Method (barsAgo, offset)
RealCode APIWBI.CommonBlocksRealCodeIndicatorNetChange(Int32, Int32)
Returns the net change vs the specified bars ago for the number of bars ago
Declaration Syntax
Visual Basic
Public Function NetChange ( _
	barsAgo As Integer, _
	offset As Integer _
) As Single
barsAgo (Int32)
Number of bars before the offset to perform the net comparison.
offset (Int32)
Offset to perform the barsAgo comparison.
Return Value
net change for barsAgo vs BarsAgo.
Not used during manual loop calculations
Example: Return 2 bar net change, 1 bar ago (previous bar)
plot =,1)
See Also

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