Open: Difference between revisions
From MultiCharts
(→Usage) |
(→Notes) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value indicating the | Returns a numerical value indicating the bar's open price. | ||
== Usage == | |||
<syntaxhighlight>Open</syntaxhighlight> | <syntaxhighlight>Open</syntaxhighlight> | ||
==== | == Notes == | ||
* See [[Close]] for the closing price, [[Low]] for the low price and [[High]] for the high price of a bar. | |||
* The range of returned values is limited by the [[MaxBarsBack]] setting. | |||
== Examples == | |||
Plot the open price of the current bar: | Plot the open price of the current bar: | ||
<syntaxhighlight>Plot1(Open,"Open");</syntaxhighlight> | <syntaxhighlight>Plot1(Open, "Open");</syntaxhighlight> | ||
Plot the open price of the previous bar: | Plot the open price of the previous bar: | ||
Line 16: | Line 20: | ||
<syntaxhighlight>Plot1(Open[2],"Open 2 bars ago");</syntaxhighlight> | <syntaxhighlight>Plot1(Open[2],"Open 2 bars ago");</syntaxhighlight> | ||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |
Latest revision as of 15:56, 28 February 2012
Returns a numerical value indicating the bar's open price.
Usage
Open
Notes
- See Close for the closing price, Low for the low price and High for the high price of a bar.
- The range of returned values is limited by the MaxBarsBack setting.
Examples
Plot the open price of the current bar:
Plot1(Open, "Open");
Plot the open price of the previous bar:
Plot1(Open Of 1 Bar Ago, "Previous bar's open");
Plot the open price of two bars ago:
Plot1(Open[2],"Open 2 bars ago");