+1 888 340 6572

Bar: Difference between revisions

From MultiCharts
(Created page with "Used in combination with This, Next, or Ago to reference a specific bar. ==== Usage ==== Bar ==== Example ==== <syntaxhighlight>Close Of 1 Bar Ago</synta...")
 
No edit summary
 
(2 intermediate revisions 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 ==
[[Bar]]
<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;