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