Changes

Jump to navigation Jump to search

Auto Trading

288 bytes removed, 16:38, 23 April 2021
<br>
===Assign the Initial Market Position at the Broker Settings to Strategy ===
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.
Two The following 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;">'''NoteFlat''': The '''Show 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 strategy initial market 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 Dialogue<br>When this variant broker is selected it opens three sub variants:<br>:* '''Assume the Initial Market Position at the Broker''' is always '''FLAT''' assumed to be 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>:* '''Assume From Chart''' - the Initial Market Position at initial position will be set corresponding to the Brokerone on chart.:* ''' is From Broker'''- the SAME AS on initial position will be the same as the actual position at the CHART broker when automationis 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>:* '''Use the actual Show dialog window only if market position at the on chart is different from broker''' - with this option enabled the initial position dialogue window will be appear when the same as actual position at on the chart differs from the broker when automation 's position. Thus you will have an opportunity to assign the correct position in case there is enableda difference. <br/div>
===Select Broker Plug-in===

Navigation menu