Difference between revisions of "Bar"
Jump to navigation
Jump to search
(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...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Used in combination with [[This | + | Used in combination with [[This]], [[Next]], or [[Ago]] to reference a specific bar. |
− | + | == Usage == | |
− | + | <syntaxhighlight>Bar</syntaxhighlight> | |
− | + | ||
− | == | + | == Examples == |
− | <syntaxhighlight>Close Of 1 Bar Ago</syntaxhighlight> | + | <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;