726
edits
Line 104: | Line 104: | ||
With the help of these options one can have unexecuted entry/exit price orders converted into market orders when the specified timeout is exceeded or upon bar close. | With the help of these options one can have unexecuted entry/exit price orders converted into market orders when the specified timeout is exceeded or upon bar close. | ||
The timer is launched depending on the option “Get | The timer is launched depending on the option “Get Real-Time Data from” and the mode of auto trading. | ||
In '''SA''' mode: | |||
* when set to “Broker”, the timer starts when the '''price at the broker''' touches the order’s price; | * when set to “Broker”, the timer starts when the '''price at the broker''' touches the order’s price; | ||
* when set to “Chart”, the timer starts when the order price is hit '''on a chart'''. | * when set to “Chart”, the timer starts when the order price is hit '''on a chart'''. | ||
Line 112: | Line 113: | ||
<div style="background-color: #E3FBE5;">'''Note''': If the order price is not hit at broker/chart then the order will not be converted.</div> | <div style="background-color: #E3FBE5;">'''Note''': If the order price is not hit at broker/chart then the order will not be converted.</div> | ||
<br> | <br> | ||
In '''AA''' mode conversion will start when an order is filled on a chart. | |||
The conversion algorithm is the following: | |||
# The Auto trading engine system receives an order filling event on the chart. | |||
#* If an identical order is now placed on the broker, the timer for conversion is launched. | |||
#* If this order is not placed on the broker yet, MultiCharts remembers that on this bar it is necessary to convert this particular order. | |||
# The Auto Trading engine places an order that needs conversion. The timer for conversion is launched. | |||
=== Partially Filled Orders Replacement === | === Partially Filled Orders Replacement === |