Difference between revisions of "Bar"

From MultiCharts
Jump to navigation Jump to search
 
Line 1: Line 1:
Used in combination with [[This,]] [[Next,]] or [[Ago]] to reference a specific bar.   
+
Used in combination with [[This]], [[Next]], or [[Ago]] to reference a specific bar.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Bar</syntaxhighlight>
 
<syntaxhighlight>Bar</syntaxhighlight>
  
==== Example ====
+
== Examples ==
[[Close Of 1 Bar Ago]]  will return the closing price of the previous bar  
+
<syntaxhighlight>Close Of 1 Bar Ago</syntaxhighlight>
 +
Will return the closing price of the previous bar.
  
 
Buy a user-set number of shares on close of this bar:  
 
Buy a user-set number of shares on close of this bar:  
 
 
<syntaxhighlight>Buy This Bar On Close;</syntaxhighlight>  
 
<syntaxhighlight>Buy This Bar On Close;</syntaxhighlight>  
  
 
Buy a user-set number of shares on open of next bar:  
 
Buy a user-set number of shares on open of next bar:  
 
 
<syntaxhighlight>Buy Next Bar On Open;</syntaxhighlight>
 
<syntaxhighlight>Buy Next Bar On Open;</syntaxhighlight>
 
 
  
 
[[Category:Data Information/General]]
 
[[Category:Data Information/General]]

Latest revision as of 11:43, 19 February 2012

Used in combination with This, Next, or Ago to reference a specific bar.

Usage

Bar

Examples

Close Of 1 Bar Ago

Will return the closing price of the previous bar.

Buy a user-set number of shares on close of this bar:

Buy This Bar On Close;

Buy a user-set number of shares on open of next bar:

Buy Next Bar On Open;