Auto Trading: Difference between revisions
From MultiCharts
→Assign Initial Market Position to Strategy
Line 166: | Line 166: | ||
===Assign Initial Market Position to Strategy=== | ===Assign Initial Market Position to Strategy=== | ||
When auto trading is turned on, a strategy starts working with a specific market position.<br> | |||
Depending on the mode of auto trading, this 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 backtesting trades (to learn more see [[#Mode_Selection|Mode Selection]]).<br> | |||
This option allows to control the initial market position for the strategy to start calculation and order generation with when you turn on auto trading. | |||
The available options are: | The available options are: | ||
:* '''Flat ''' - the initial position will be flat. | :* '''Flat ''' - the initial position will be flat.<br> <div style="background-color: #E3FBE5;">'''Example''': 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> | ||
<div style="background-color: #E3FBE5;">'''Example''': | |||
:* '''From Chart''' - the initial position will be the same as the position on the chart. | :* '''From Chart''' - the initial position will be the same as the position on the chart. | ||
:* '''From Broker''' - the initial position will be the same as actual position at the broker when automation is enabled. | :* '''From Broker''' - the initial position will be the same as the actual position at the broker when automation is enabled. | ||
:* '''Always show dialog window''' - to get the dialog every time the automation is enabled, no matter what | :* '''Always show dialog window''' - to get the dialog every time the automation is enabled, no matter what the strategy position is at that moment.<br> <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. | ||