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
Not used during manual loop calculations
Example: plot the price percent change
plot = price.percentChange()
See Also

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