Difference between revisions of "Close"
Jump to navigation
Jump to search
(→Notes) |
|||
Line 6: | Line 6: | ||
== Notes == | == Notes == | ||
* See [[High]] for the high price, [[Low]] for the low price and [[Open]] for the open price of a bar. | * See [[High]] for the high price, [[Low]] for the low price and [[Open]] for the open price of a bar. | ||
+ | * The range of returned values is limited by the [[MaxBarsBack]] setting. | ||
== Examples == | == Examples == |
Latest revision as of 15:54, 28 February 2012
Returns the closing price.
Usage
Close
Notes
- See High for the high price, Low for the low price and Open for the open price of a bar.
- The range of returned values is limited by the MaxBarsBack setting.
Examples
Plot the closing price of the current bar:
Plot1(Close, "Close");
Plot the closing price of the previous bar:
Plot1(Close Of 1 Bar Ago, "Previous bar's close");
Plot the closing price of two bars ago:
Plot1(Close[2], "Close 2 bars ago");