Difference between revisions of "Open"

From MultiCharts
Jump to navigation Jump to search
(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...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns a numerical value indicating the open open price.   
+
Returns a numerical value indicating the bar's open price.   
  
==== Usage ====
+
== Usage ==
[[Open]]  
+
<syntaxhighlight>Open</syntaxhighlight>
+
 
==== Example ====
+
== 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");