Returns the percent change vs the specified bars ago.
Parameters
- barsAgo (Int32)
- Number of bars ago to perform the percent comparison. 1 = previous bar.
Return Value
Percent change vs barsAgo.
Remarks
Not used during manual loop calculations
Examples
Example: plot the price percent change vs previous bar
CopyVB.NET
plot = price.percentChange(1)
See Also