Changes

Jump to navigation Jump to search

Auto Trading

2,503 bytes added, 16:29, 14 June 2016
no edit summary
If the feature is turned on, it triggers a sound alert when an order placed by a strategy from the chart is filled. Once the box is checked, the File field becomes active and allows you to locate a sound file to play when an order is filled. To select the file, click the "'''...'''" button. It is possible to specify if the sound file should be played once or repeated by selecting one of these options below the File field. After the file is specified, one can try it by clicking the '''Test''' button.
<div style="background-color: #E3FBE5;">'''Note''': Only '''.wav''' file format is supported. </div>
<br>
 
=== Stop auto-trading if final status of an order is not received ===
 
There is a possibility of a situation when broker's API loses the order and does not send the status for it at all or sends it with a big delay.
MultiCharts waits for the order status for 60 seconds by default (60 seconds between MultiCharts asking for the order status and receiving or not receiving the order status). If no feedback is provided for the order within 60 seconds by the broker - this order is considered to be cancelled/no longer present at the broker. In such situation the message '''“Didn’t receive final status for order”''' appears in the Order and Position Tracker window Logs tab. If the order was cancelled but the order generation conditions are still valid in the code – the signal generates the order and sends it to the broker again while the order generation conditions are met in the code. If the previous order (lost by the API/not sent to MC) is still active – an overfill is possible.
 
When this option is enabled the auto-trading will be automatically turned off once the final status for an order sent by this strategy is not received. This option does not manage the open position/active orders. By default this option is disabled.
 
<br>
When enabled the auto-trading will be automatically turned off after the specified number of the strategy orders is rejected. By default this option is disabled.
 
<br>
 
=== Emulate Stop orders locally ===
<div style="background-color: #E3FBE5;">'''Note: This feature is available since MultiCharts 10.0 Beta 1.'''</div>
<div style="background-color: #E3FBE5;">Note: This feature requires realtime data subscription on your broker account.</div>
When this option is enabled a stop order is emulated by MultiCharts - once the stop price level is reached by the corresponding ask or bid series, a market order is sent to the broker.
In case Stop and/or Stop-Limit order emulation is enabled - the emulated OCO group is used, disregard the broker profile/autotrading plugin settings.
 
<br>
 
=== Emulate Stop-Limit orders locally ===
<div style="background-color: #E3FBE5;">'''This feature is available since MultiCharts 10.0 Beta 1.'''</div>
<div style="background-color: #E3FBE5;">Note: This feature requires realtime data subscription on your broker account.</div>
When this option is enabled a stop-limit order is emulated by MultiCharts - once the stop price level is reached by the corresponding ask or bid series, a limit order is sent to the broker.
In case Stop and/or Stop-Limit order emulation is enabled - the emulated OCO group is used, disregard the broker profile/autotrading plugin settings.
 
<br>
=== Unfilled Strategy Order Replacement ===

Navigation menu