Difference between revisions of "Close"
Jump to navigation
Jump to search
(→Usage) |
m |
||
Line 1: | Line 1: | ||
Returns the closing price. | Returns the closing price. | ||
− | + | == Usage == | |
<syntaxhighlight>Close</syntaxhighlight> | <syntaxhighlight>Close</syntaxhighlight> | ||
− | == | + | == 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 16: | ||
<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]] |
Revision as of 11:45, 19 February 2012
Returns the closing price.
Usage
Close
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");