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