1,501
edits
(Created page with "Returns a numerical value indicating the open open price. ==== Usage ==== Open ==== Example ==== Plot the open price of the current bar: <syntaxhighlight>Plot1(Ope...") |
(→Notes) |
||
(3 intermediate revisions by 2 users 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> | ||
== | == 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]] |