RealCode API
NetChange Method (barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorNetChange(Int32)
Returns the net change vs the specified bars ago.
Declaration Syntax
Visual Basic
Public Function NetChange ( _
	barsAgo As Integer _
) As Single
Parameters
barsAgo (Int32)
Number of bars ago to perform the comparison. 1 = previous bar.
Return Value
Net change vs barsAgo.
Remarks
Not used during manual loop calculations
Examples
Example: plot the price net change for the last 2 bars
CopyVB.NET
plot = price.netChange(2)
See Also

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