Close Value for the barsAgo. 0 = current bar. Same as Close(barsAgo) and Last(barsAgo)


- barsAgo (Int32)
- Number of bars ago to return the value

Returns the Close value for the offset index. 0 = current bar

Not used during manual loop calculations
,
Examples

Example: plot the close value 50 bars ago. On a daily timeframe 50 bars = 50 days.
CopyVB.NET

plot = price.value(50) ' return the current close value