Changes

Jump to navigation Jump to search

Auto Trading

95 bytes removed, 13:14, 28 April 2021
m
Reverted edits by Vlada MultiCharts (talk) to last revision by KateMultiCharts
To enable the Stop, Limit or Stop-Limit order emulation for automated trading select '''Emulate locally using Bid/Ask''' or '''Emulate locally using Trade''' from the dropdown list next to the corresponding order type. Leave the settings to '''Use native''' if using price order emulation is undesirable.
In order to apply the changes one needs to disconnect the broker profile and reconnect it.
 
<br>
 
=== Self-Adaptive Trading ===
 
Self-Adaptive Trading is an enhancement for automated trading, in which there is a periodic re-optimization of the strategy on new data. After the optimization is completed, the newly optimized input values of the strategy are used to continue automated trading. Check here for a [[Self-Adaptive Trading|full guide on Self-Adaptive Trading]].
 
<br>
<br>
===Assign the Initial Market Position to Strategy at the Broker Settings ===
Whenever automated trading is turned on a strategy starts working with a particular market position. Depending on the mode of auto trading the position can vary. In [SA] mode it is always flat on chart when you turn it on, but in [AA] mode it can be short, flat or long, depending on what was generated in backtesting (to learn more see [[#Mode_Selection|Mode Selection]]). This option allows you to control the initial market position for the strategy to start calculation and order generation when you turn on automated trading.
The following Two options are available:
* Show the Assign the Initial Market Position at the Broker Dialogue<br>By default this variant is selected. If market position on the chart is not flat and automation is turned on, than the Assign the Initial Market Position Dialogue window will pop up. There the direction of current market position, number of open contracts and average entry price can be put.<br><div style="background-color: #E3FBE5;">'''Note''':* The '''FlatShow Always''' - box should be checked to get the Assign the Initial Market Position Dialogue every time the automation is enabled, no matter what is the initial market strategy position by that moment. It is extremely important for [SA] mode, because it is always flat when automation is turned on in [SA].</div>  * Do not Show the Assign the Initial Market Position at the broker Broker Dialogue<br>When this variant is selected it opens three sub variants:<br>:* '''Assume the Initial Market Position at the Broker''' is assumed to be flat always '''FLAT''' when automation is enabled.<br><div style="background-color: #E3FBE5;">'''Example''': Assume that according to your backtesting the current position is 1 contract long and your real broker position is 1 contract short. With this option you will have +1 on your chart, flat for auto trading engine within the software and -1 short at broker, when the automation is turned on. </div>:* '''From Chart''' - Assume the initial position will be set corresponding to Initial Market Position at the one on chart.:* Broker'''From Brokeris ''' - the initial position will be SAME AS on the same as the actual position at the broker CHART when automation is enabled.:* '''Always show dialog window''' - this box should be checked to get the Assign the Initial Market Position Dialogue every time the automation is enabled, no matter what the strategy position is at that moment. 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 Use the actual position on chart is different from at the broker''' - with this option enabled the dialogue window initial position will appear when be the same as actual position on the chart differs from at the broker's position. Thus you will have an opportunity to assign the correct position in case there when automation is a differenceenabled. </divbr>
===Select Broker Plug-in===

Navigation menu