Close: Difference between revisions
From MultiCharts
(Created page with "Returns the closing price. ==== Usage ==== Close ==== Example ==== Plot the closing price of the current bar: <syntaxhighlight>Plot1(Close,"Close");</syntaxhighlig...") |
(→Notes) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Returns the closing price. | Returns the closing price. | ||
==== | == Usage == | ||
[[ | <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 == | |||
Plot the closing price of the current bar: | Plot the closing price of the current bar: | ||
<syntaxhighlight>Plot1(Close,"Close");</syntaxhighlight> | <syntaxhighlight>Plot1(Close, "Close");</syntaxhighlight> | ||
Plot the closing price of the previous bar: | Plot the closing price of the previous bar: | ||
Line 16: | Line 20: | ||
<syntaxhighlight>Plot1(Close[2], "Close 2 bars ago");</syntaxhighlight> | <syntaxhighlight>Plot1(Close[2], "Close 2 bars ago");</syntaxhighlight> | ||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
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");