Open for the barsAgo. 0 = current bar
Declaration Syntax
Parameters
- barsAgo (Int32)
- Number of bars ago to return the Open value
Return Value
Returns the Open value for the offset index. 0 = current bar
Remarks
Not used during manual loop calculations
Examples
Example: plot the open for the current bar in a RealCode Indicator
CopyVB.NET
plot = price.open(0) ' return the current close value