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
Parameters
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.
Remarks
Not used during manual loop calculations
Examples
Example: Return 2 bar net change, 1 bar ago (previous bar)
CopyVB.NET
plot = price.net(2,1)
See Also

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