Changes

Jump to navigation Jump to search

Getting Started with AutoTrading

2,671 bytes added, 14:11, 11 October 2021
no edit summary
== Setting Up AutoTrading Auto Trading in MultiCharts ==
# Determine the symbol to plot on a chart. In QuoteManager, verify that that the '''Price Scale''', '''Min Movement''', and '''Big Point Value''' settings for the symbol are correct. MultiCharts will have the correct settings for most of the symbols, but it is not possible to cover every symbol. If these settings are not correct, then the chart will not plot properly and orders may be rejected by the execution gateway. To learn more, see [[Setting Properties]].
#:* Select '''Convert unexecuted limit or stop exit orders to market orders''' check box to convert unexecuted limit or stop exit orders to market after a specified number of seconds. Enter the number of seconds in the list box.<br><div style="background-color: #E3FBE5;">Note: The waiting period for converting unfilled limit or stop orders to market orders must be less than the duration of a single bar. </div><br><div style="background-color: #E3FBE5;">Note: As long as the order is completely unfilled, MultiCharts will always convert the order as described in this step regardless of any settings under '''Replace to Market Partially Filled Orders'''. If there is a partially filled order and '''Replace to Market Partially Filled Orders''' was turned on, then MultiCharts will convert the order according to the settings in '''Replace to Market Partially Filled Orders'''.</div><br><br>
#:'''''Assign the Initial Market Position at the Broker Settings'''''
#:To learn more, see [[Working with AutoTradingAuto_Trading#Synchronization of Assign the Initial Market Position in at the Auto trading ModeBroker Settings|Synchronization of Market Position in Auto Trading Mode]].#:* Select '''Show the Assign the Initial Market Position at the BrokerFlat''' radio button to display a dialog box to input set the initial position and average entry price. This dialog box will appear when auto trading is turned on in the chart (see last step)to 0.#:* Select '''Do not show the Assign the Initial Market Position at the BrokerFrom Chart''' radio button to set the initial position here instead of in to the position that's on the dialog boxchart.<br>There are two choices:#::* Select '''Assume the initial market position at the broker FLATFrom Broker''' to set the initial position to 0the same as actual position at the broker.#::* Select '''Assume the initial market position at the broker the SAME AS on the CHARTAlways show dialogue window''' to set display a dialog box to input the initial position to the position that's and average entry price. This dialog box will appear when auto trading is turned on in the chart(see last step).<br>#::<div style="background-color: #E3FBE5;">Note: Synchronization of the Market Position in the Auto Trading Mode may not work correctly * Select '''Show dialogue window only if pyramiding was used in the strategy. It may also not work correctly if more than one active entry was generated market position on a chart when auto trading is launched. The reason for this limitation is that different from broker''' to display a dialog window is set up box to define input the initial position only one active entrywhen there is a difference between chart position and broker position.</div># Choose the broker/gateway from the list box in the ''''''[[Auto Trading#Select Broker Plug-in|Broker Plug-ins]]'''''' section.
# Click '''Settings'''.
# Input the settings for the appropriate broker/gateway.
#: <categorytree mode=pages showcount="on" depth=2>Broker Plug-ins</categorytree> # <li value=="15">Turn Turning on auto trading. There are two ways to do this.</li>Auto Trading in MultiCharts ==#* Turning on auto trading on the chart#** SA Mode#**# Select the [[<span style="color: red;">'''LINK'''</span> /0295_AutoTrading/02-9503_AT_Working.html name="11"; Auto_Trading#Distinguished Features of Auto Trading|Auto Trading Status Switch]] and select '''Automate Order Execution'''.#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access it's properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings.#*# Read the disclaimer and click '''Yes'''.#**# The button will turn green which means auto trading is on.#** AA Mode#**# Select the [[<span style="color: red;">'''LINK'''</span> /0295_AutoTrading/02-9503_AT_Working.html name="11"; Auto_Trading#Distinguished Features of Auto Trading|Auto Trading Status Switch]] and select '''Automate Order Execution'''.#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access it's properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings.#*# Read the disclaimer and click '''Yes'''.#**# If '''Show the Assign the Initial Market Position at the Broker dialogue''' was selected earlier, then a dialog box will appear.<br>Enter the initial market position and average entry price. Then select '''Yes'''.#**# The button will turn green which means auto trading is on.#* Turning on auto trading from main menu#** SA Mode#**# Select '''Format''' from the main menu.#**# Select '''Automate Order Execution'''.#**# Click on the switch and select '''Automate Order Execution'''.#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access it's properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings.#*# Read the disclaimer and click '''Yes'''.#**# The button will turn green which means auto trading is on.#** AA Mode#**# Select '''Format''' from the main menu.#**# Select '''Automate Order Execution'''.#**# Click on the switch and select '''Automate Order Execution'''.#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access it's properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings.#*# Read the disclaimer and click '''Yes'''.#**# If '''Show the Assign the Initial Market Position at the Broker dialog''' was selected earlier, then the dialog box will appear. Input the initial market position and average entry price. Then select '''Yes'''.#**# The button will turn green which means auto trading is on.# <li value =="15">Turn Turning off auto trading. There are two ways to do this.</li>Auto Trading in MultiCharts ==#* Turning off auto trading from the chart#*# Select the [[<span style="color: red;">'''LINK'''</span> /0295_AutoTrading/02-9503_AT_Working.html name="11"; Auto_Trading#Distinguished Features of Auto Trading|Auto Trading Status Switch]] and deselect '''Automate Order Execution'''.
#*# If there are orders pending, a dialog box will appear to ask if pending orders should be cancelled. Select '''Cancel Orders''' or '''Do Not Cancel Orders''' to proceed.
#*# If there are open positions, a dialog box will appear to ask if open positions should be closed. Select '''Close Positions''' or '''Do Not Close Positions''' to proceed.
#*# The Auto Trading Status Switch will turn gray which means auto trading is turned off.
#* Turning off auto trading from the main menu
#*# Select '''Format''' and deselect '''Automate Order Execution'''.
#*# If there are orders pending, a dialog box will appear to ask if pending orders should be cancelled. Select '''Cancel Orders''' or '''Do Not Cancel Orders''' to proceed.
#*# If there are open positions, a dialog box will appear to ask if open positions should be closed. Select '''Close Positions''' or '''Do Not Close Positions''' to proceed.
#*# The Auto Trading Status Switch will turn gray which means auto trading is turned off.
 
== Enabling and Disabling Auto Trading on Multiple Charts ==
Since MultiCharts 14 it is possible to enable automated trading on all charts from all of the currently open MultiCharts desktops.<br>
To ''turn on'' auto trading on several charts:
# Select '''Format''' from the main menu.
# Click '''Enable Automated Order Execution for Multiple Charts'''.
Or
# From the '''Main''' toolbar select the '''Enable Automated Order Execution for Multiple Charts option'''.
 
In the opened up window put the checkmark next to the strategies/workspaces/desktops that you would like to enable.
The window displays the essential information about the signals applied to each chart, the selected mode of trading (SA or AA), the selected broker plugin and the [[Auto_Trading#Assign_the_Initial_Market_Position_at_the_Broker_Settings|Assign the Initial Position]] option.<br>
 
To ''turn off'' auto trading on several charts:
# Select '''Format''' from the main menu.
# Click '''Disable Automated Order Execution for Multiple Charts'''.
Or
# From the '''Main''' toolbar select the '''Disable Automated Order Execution for Multiple Charts''' option.
 
== Managing Active Orders and Open Positions ==
 
If you do not want to see the pending orders dialog box when disabling auto trading select '''File''' in the main menu, click '''Preferences''', select the '''Trading''' tab and check the '''Do not show cancel active orders confirmation dialog when disabling auto trading''' check box.
 
There are two options available:
*Cancel active orders sent by the strategy;
*Do not cancel active orders sent by the strategy.
 
If you do not want to see the open position dialog box when disabling auto trading select '''File''' in the main menu, click '''Preferences''', select the '''Trading''' tab and check the '''Do not show close open position confirmation dialog when disabling auto trading''' check box.
 
There are two options available:
*Close the open position opened by the strategy;
*Do not close the open position opened by the strategy.
 
<div style="background-color: #E3FBE5;">Note: If the workspace (or MultiCharts) was closed while auto trading mode was enabled on one or several charts, a dialogue asking you if you want to enable auto trading on these charts on restart. Click '''Yes''' to enable auto trading or '''No''' to open charts with auto trading disabled.</div>
[[Category:AutoTrading]]

Navigation menu