×

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.

Changes - MultiCharts
Open main menu

Changes

IntraBarOrderGeneration

366 bytes added, 09:35, 19 February 2012
* [[:Category:Attributes|Attributes]] like the ''IntrabarOrderGeneration'' statement are applied at the time of compilation and cannot be changed at run-time.
== Example Examples ==
Enable intra-bar order generation:
<syntaxhighlight>[IntrabarOrderGeneration = True];</syntaxhighlight>
 
When IntraBarOrderGeneration is turned on, ''next bar'' really means ''next '''tick''' ''. For example:
 
<syntaxhighlight>
if (Close > Close[1]) then
Buy ("EL") 1 contracts next bar at market;
</syntaxhiglight>
Will generate a buy order that is active for the next tick only. As long as the condition remains true, the entry order is submitted for the next tick.
[[Category:Attributes]]