Changes

Jump to navigation Jump to search

Getting Started with AutoTrading

1,305 bytes removed, 12:18, 11 August 2022
no edit summary
## Select '''Play Once''' or '''Repeat''' for the alerts to be played once or repeatedly, respectively.
# In the '''Mode Selection''' section, there are two options: synchronous and asynchronous [[Understanding Automated Trade Execution|mode]].
## In '''synchronous''' mode '''[SA]''' one can see the same open market position and active orders on the chart as at broker. All orders generated by historical calculation during Backtesting are wiped out from the chart when auto execution is turned on. Executed order is displayed only if it has been executed at broker and the final status of the order has been received by MultiCharts. To use synchronous mode for auto trading select '''Entries/Exits are based on the execution confirmation by the broker (Sync)'''.## In ''' asynchronous ''' mode ''' [AA] ''' the strategy on the chart starts auto trading based on the historically calculated orders and open position, displaying all generated by the script orders on chart even if an order was not executed at broker. In AA strategy on chart acts separately from broker.<br>To use asynchronous mode for auto trading select '''Entries/Exits are independent of the execution status at the broker (Async)'''<br><br>#: '''''Unfilled Strategy Order Replacement'''''#: This feature gives the strategy the ability to automatically convert limit orders or stop orders into market orders after a certain period of time.#:* Select '''Convert unexecuted limit or stop entry orders to market orders''' check box to convert unexecuted limit or stop entry orders to market after a specified number of seconds. Enter the number of seconds in the list box.#:* 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 In 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 [[Auto_Trading#Assign choose the Initial Market Position at the Broker Settings|Synchronization of Market Position in Auto Trading Mode]]initial position.#:* # Select '''Flat''' to set the initial position to 0.#:* # Select '''From Chart''' to set the initial position to the position that's on the chart.#:* # Select '''From Broker''' to set the initial position the same as actual position at the broker.#:* # Select '''Always show dialogue window''' to display a dialog box to input the initial position and average entry price. This dialog box will appear when auto trading is turned on in the chart (see last step).#:* # Select '''Show dialogue window only if market position on chart is different from broker''' to display a dialog box to input the initial position only when there is a difference between chart position and broker position. #: To learn more, see [[Auto_Trading#Assign the Initial Market Position at the Broker Settings|Synchronization of Market Position in Auto Trading Mode]].
# Choose the broker/gateway from the list box in the ''''''[[Auto Trading#Select Broker Plug-in|Broker Plug-ins]]'''''' section.
# Click '''Settings'''.

Navigation menu