close([nRelativeOffset] [, nNumBars [, Symbol ] ])
- nRelativeOffset: Offset to bar. 0 is most recent bar, -1 is next bar, etc.
- nNumBars: Number of bars to retrieve (a negative number)
- Symbol: The symbol to retrieve data for.
close(-1); gets the next-to-last close for the current symbol
close(0, "IBM"); gets the most recent close for IBM
close(0, -10, "INTC"); gets the last 10 closes for INTC and places them in an array
This is a shortcut to getValue, requesting the close bars. See getValue for more information.