Symbol Close: Difference between revisions
From MultiCharts
(Created page with "Category:Data Information/General") |
No edit summary |
||
Line 1: | Line 1: | ||
Returns the closing price of the bar | |||
== Usage == | |||
<syntaxhighlight>symbol_close</syntaxhighlight> | |||
== Note == | |||
The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series. | |||
== Example == | |||
Plot the closing price of the current bar | |||
<syntaxhighlight>Plot1(symbol_close, "Close");</syntaxhighlight> | |||
Plot the closing price of the previous bar: | |||
<syntaxhighlight>Plot1(symbol_close of 1 Bar Ago, "Previous Bar's Close");</syntaxhighlight> | |||
Plot the closing price of two bars ago: | |||
<syntaxhighlight>Plot1(symbol_close[2], "Close 2 bars ago");</syntaxhighlight> | |||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
Latest revision as of 13:06, 1 March 2012
Returns the closing price of the bar
Usage
symbol_close
Note
The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series.
Example
Plot the closing price of the current bar
Plot1(symbol_close, "Close");
Plot the closing price of the previous bar:
Plot1(symbol_close of 1 Bar Ago, "Previous Bar's Close");
Plot the closing price of two bars ago:
Plot1(symbol_close[2], "Close 2 bars ago");