RealCode API
PercentChange Method
RealCode APIWBI.CommonBlocksRealCodeIndicatorPercentChange()()()
Returns the percent change for the current bar vs the previous bar.
Declaration Syntax
Visual Basic
Public Function PercentChange As Single
Return Value
Percent change vs 1 bar ago. On a daily timeframe the daily percent change
Remarks
Not used during manual loop calculations
Examples
Example: plot the price percent change
CopyVB.NET
plot = price.percentChange()
See Also

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