1,501
edits
(Created page with "Category:Data Information/General") |
No edit summary |
||
Line 1: | Line 1: | ||
Returns a numerical value indicating the open price of the bar. | |||
== Usage == | |||
<syntaxhighlight>symbol_open</syntaxhighlight> | |||
== Note == | |||
The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series. | |||
== Example == | |||
Plot the open price of the current bar: | |||
<syntaxhighlight>Plot1(symbol_open, "Open");</syntaxhighlight> | |||
Plot the open price of the previous bar: | |||
<syntaxhighlight>Plot1(symbol_open Of 1 Bar Ago, "Previous bar's open");</syntaxhighlight> | |||
Plot the open price of two bars ago: | |||
<syntaxhighlight>Plot1(symbol_open[2], "Open 2 bars ago");</syntaxhighlight> | |||
[[Category:Data Information/General]] | [[Category:Data Information/General]] |