Returns the percent change for the current bar vs the previous bar.
| Visual Basic |
Public Function PercentChange As Single
Percent change vs 1 bar ago. On a daily timeframe the daily percent change
Not used during manual loop calculations
Examples
Example: plot the price percent change
CopyVB.NET
plot = price.percentChange()