Default Value property. Same as Value. Used to return the value for a given offset
Declaration Syntax
Parameters
- barsAgo (Int32)
- the number of bars to offset
Value
Last value for the given offset
Return Value
Returns the last value for the given offset
Remarks
Examples
Example: plot the close value 50 bars ago. On a daily timeframe 50 bars = 50 days.
CopyVB.NET
plot = price(50) ' return the current close value