Difference between revisions of "Close"
Jump to navigation
Jump to search
m |
(→Notes) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<syntaxhighlight>Close</syntaxhighlight> | <syntaxhighlight>Close</syntaxhighlight> | ||
+ | |||
+ | == 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 == | == 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");