726
edits
No edit summary |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
## Enter the path and name of the wave (.wav) sound file to be used into the '''File''' text box, or click the '''...''' http://www.multicharts.com/img/wiki/portfolio/ellipse.gif button on the right side of the text box for '''Open''' dialog box, navigate to and select a sound file, and click the '''Open''' button. | ## Enter the path and name of the wave (.wav) sound file to be used into the '''File''' text box, or click the '''...''' http://www.multicharts.com/img/wiki/portfolio/ellipse.gif button on the right side of the text box for '''Open''' dialog box, navigate to and select a sound file, and click the '''Open''' button. | ||
## Click the '''Test''' button to test the alert. | ## Click the '''Test''' button to test the alert. | ||
## Select '''Play Once''' or '''Repeat''' for the alerts to be played once or repeatedly, respectively. | ## Select '''Play Once''' or '''Repeat''' for the alerts to be played once or repeatedly, respectively. | ||
# In the '''Price Orders Emulation''' section you can switch between native and emulated Stop, Limit and Stop-Limit orders. This feature requires real-time data subscription on your broker account. | |||
#* '''Native orders''' are server-side orders. As soon as an order is sent to the broker, it is managed by the broker. | |||
#* '''Emulated orders''' are managed in MultiCharts, and when the price conditions are met, MultiCharts sends a market or a limit order to the broker. | |||
# In the '''Mode Selection''' section, there are two options: synchronous and asynchronous [[Understanding Automated Trade Execution|mode]]. | # 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 '''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)'''. | ## 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)'''. | ||
# In the '''Assign | #: To learn more, see [[Auto_Trading#Mode Selection|Mode Selection in Auto Trading Mode]]. | ||
# In the '''Assign Initial Market Position to Strategy''' section choose the initial position. | |||
## Select '''Flat''' to set the initial position to 0. | ## 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 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 '''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 '''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. | ## 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. | ||
#: If AA is selected, the '''Show dialogue window only if market position on chart is different from broker''' option is replaced with '''Show dialogue window only if market position on chart is not flat'''. | |||
#: To learn more, see [[Auto_Trading#Assign the Initial Market Position at the Broker Settings|Synchronization of Market Position in Auto Trading Mode]]. | #: 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- | # Choose the broker/gateway from the list box in the ''''''[[Auto Trading#Select Broker Plug-in|Select Broker Plug-in]]'''''' section. | ||
# Click '''Settings'''. | # Click '''Settings'''. | ||
# Input the settings for the appropriate broker/gateway. | # Input the settings for the appropriate broker/gateway. | ||
Line 37: | Line 42: | ||
#* SA Mode | #* SA Mode | ||
#*# Select the [[Auto_Trading#Distinguished Features of Auto Trading|Auto Trading Status Switch]] and select '''Automate Order Execution'''. | #*# Select the [[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 | #*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access its 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'''. | #*# Read the disclaimer and click '''Yes'''. | ||
#*# The button will turn green which means auto trading is on. | #*# The button will turn green which means auto trading is on. | ||
#* AA Mode | #* AA Mode | ||
#*# Select the [[Auto_Trading#Distinguished Features of Auto Trading|Auto Trading Status Switch]] and select '''Automate Order Execution'''. | #*# Select the [[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 | #*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access its 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'''. | #*# 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'''. | #*# 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'''. | ||
Line 50: | Line 55: | ||
#*# Select '''Format''' from the main menu. | #*# Select '''Format''' from the main menu. | ||
#*# Select '''Automate Order Execution'''. | #*# Select '''Automate Order Execution'''. | ||
#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access its properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings. | |||
#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access | |||
#*# Read the disclaimer and click '''Yes'''. | #*# Read the disclaimer and click '''Yes'''. | ||
#*# The button will turn green which means auto trading is on. | #*# The button will turn green which means auto trading is on. | ||
Line 57: | Line 61: | ||
#*# Select '''Format''' from the main menu. | #*# Select '''Format''' from the main menu. | ||
#*# Select '''Automate Order Execution'''. | #*# Select '''Automate Order Execution'''. | ||
#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access its properties. If the wrong Broker Plug-in is selected, then please click '''No''', and select the correct one in Auto Trading settings. | |||
#*# Make sure that the proper Broker Plug-in is selected. You can click on the name to access | |||
#*# Read the disclaimer and click '''Yes'''. | #*# 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'''. | #*# 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. | #*# The button will turn green which means auto trading is on. | ||
== Turning off Auto Trading in MultiCharts == | == Turning off Auto Trading in MultiCharts == | ||
Line 95: | Line 97: | ||
== Managing Active Orders and Open Positions == | == Managing Active Orders and Open Positions == | ||
If you | If you want to enable or disable the pending orders dialog box when turning off auto trading, select '''File''' in the main menu, click '''Preferences''' and select the '''Trading''' tab. In the section '''Managing active orders when autotrading is turned off''', choose the necessary option: | ||
*Cancel active orders sent by the strategy; | *Cancel active orders sent by the strategy; | ||
*Do not cancel active orders sent by the strategy | *Do not cancel active orders sent by the strategy; | ||
*Require manual confirmation | |||
If you | If you want to enable or disable the open position dialog box when turning off auto trading, select '''File''' in the main menu, click '''Preferences''' and select the '''Trading''' tab. In the section '''Managing open position when autotrading is turned off''', choose the necessary option: | ||
*Close the open position opened by the strategy; | *Close the open position opened by the strategy; | ||
*Do not close the open position opened by the strategy | *Do not close the open position opened by the strategy; | ||
*Require manual confirmation | |||
<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> | <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]] | [[Category:AutoTrading]] |