Auto Trading: Difference between revisions
From MultiCharts
→Select Broker Plug-in
No edit summary |
|||
Line 178: | Line 178: | ||
<div style="background-color: #E3FBE5;">'''Note''': It is extremely important for [SA] mode, because it is always flat when automation is turned on in [SA].</div> | <div style="background-color: #E3FBE5;">'''Note''': It is extremely important for [SA] mode, because it is always flat when automation is turned on in [SA].</div> | ||
:* '''Show dialog window only if market position on chart is different from broker''' - to get the dialog when the chart and broker positions do not match. | :* '''Show dialog window only if market position on chart is different from broker''' - to get the dialog when the chart and broker positions do not match. | ||
=== Set TIF for order types === | |||
Select the '''Time in Force (TIF)''' for each order type: | |||
* Market | |||
* Limit | |||
* Stop | |||
* Stop-Limit | |||
The above controls work as a dropdown list with all TIFs supported in MultiCharts: | |||
* Default (corresponds to the value from the broker plugin settings) | |||
* DAY | |||
* GTC | |||
* GTD (includes the additional control to select the number of days) | |||
* IOC | |||
* FOK | |||
* AON | |||
The list depends on what TIFs are supported by the broker.<br> | |||
The selected TIF values will be used to send orders into the broker plugin.<br> | |||
If the selected TIF is not supported by a broker profile, the value from the broker plugin settings will be taken.<br> | |||
Some brokers may change TIF on their end – we do not regulate it.<br> | |||
The described behaviour is ''not applicable'' to backtesting.<br> | |||
===Select Broker Plug-in=== | ===Select Broker Plug-in=== |