Difference between revisions of "Open"
Jump to navigation
Jump to search
m |
(→Notes) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Usage == | == 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 == | == Examples == |
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");