1,501
edits
(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]] |