×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Difference between revisions of "Bar" - MultiCharts
Open main menu

Difference between revisions of "Bar"

 
(One intermediate revision by one other user not shown)
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 ==
<syntaxhighlight>Close Of 1 Bar Ago</syntaxhighlight> 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;