Changes
Bar
,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..."
Used in combination with [[This,]] [[Next,]] or [[Ago]] to reference a specific bar.
==== Usage ====
[[Bar]]
==== Example ====
<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:
<syntaxhighlight>Buy This Bar On Close;</syntaxhighlight>
Buy a user-set number of shares on open of next bar:
<syntaxhighlight>Buy Next Bar On Open;</syntaxhighlight>
[[Category:Data Information/General]]
==== Usage ====
[[Bar]]
==== Example ====
<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:
<syntaxhighlight>Buy This Bar On Close;</syntaxhighlight>
Buy a user-set number of shares on open of next bar:
<syntaxhighlight>Buy Next Bar On Open;</syntaxhighlight>
[[Category:Data Information/General]]