Auto Trading: Difference between revisions
From MultiCharts
m
→Cancel Expired Market Orders After X Seconds
(2 intermediate revisions by one other user not shown) | |||
Line 62: | Line 62: | ||
=== Cancel Expired Market Orders After X Seconds === | === Cancel Expired Market Orders After X Seconds === | ||
This option sets the timeout to cancel market orders not filled within specified time. If the option is not enabled any market order will be cancelled in 40+ seconds automatically. | This option, formerly known as "Cancel Market Orders as Obsolete If not Filled Within X Seconds", sets the timeout to cancel market orders not filled within specified time. If the option is not enabled any market order will be cancelled in 40+ seconds automatically. | ||
<div style="background-color: #E5F6FF;">'''Example''': the feature is not enabled;<br>12:00:00 Strategy Calculation at close of bar # 51 - place market order to buy at open of next bar;<br>12:00:01 Strategy Calculation at open of bar # 52 - market order to buy is placed at broker;<br>12:00:10 Strategy Calculation at close of bar # 52 - no market order to buy at open of next bar should be placed;<br>Default 40 seconds countdown has been started:<br>12:00:50 - market order is cancelled.</div> | <div style="background-color: #E5F6FF;">'''Example''': the feature is not enabled;<br>12:00:00 Strategy Calculation at close of bar # 51 - place market order to buy at open of next bar;<br>12:00:01 Strategy Calculation at open of bar # 52 - market order to buy is placed at broker;<br>12:00:10 Strategy Calculation at close of bar # 52 - no market order to buy at open of next bar should be placed;<br>Default 40 seconds countdown has been started:<br>12:00:50 - market order is cancelled.</div> | ||
<br> | <br> | ||
Line 91: | Line 90: | ||
=== Price Order Emulation === | === Price Order Emulation === | ||
Since '''MultiCharts 12''' it is possible to switch between native and emulated Stop, Limit and Stop-Limit orders in both auto trading and manual trading. This feature requires realtime data subscription on your broker account. When a Stop/Limit order is emulated - once the Stop/Limit price level is reached by the corresponding Ask/Bid or Trade prices, a market order is sent to the broker. When a Stop-Limit order is emulated - once the Stop price level is reached by the corresponding Ask/Bid or Trade prices, a Limit order is sent to the broker. In case Stop, Limit and/or Stop-Limit order emulation is enabled - the emulated OCO group is used, disregard the broker profile/autotrading broker plugin settings. | Since '''MultiCharts 12''' it is possible to switch between native and emulated Stop, Limit and Stop-Limit orders in both auto trading and manual trading. This feature requires realtime data subscription on your broker account. When a Stop/Limit order is emulated - once the Stop/Limit price level is reached by the corresponding Ask/Bid or Trade prices, a market/limit order is sent to the broker correspondingly. When a Stop-Limit order is emulated - once the Stop price level is reached by the corresponding Ask/Bid or Trade prices, a Limit order is sent to the broker. In case Stop, Limit and/or Stop-Limit order emulation is enabled - the emulated OCO group is used, disregard the broker profile/autotrading broker plugin settings. | ||
To enable the Stop, Limit or Stop-Limit order emulation for | To enable the Stop, Limit or Stop-Limit order emulation for automated trading select '''Emulate locally using Bid/Ask''' or '''Emulate locally using Trade''' from the dropdown list next to the corresponding order type. Leave the settings to '''Use native''' if using price order emulation is undesirable. | ||
In order to apply the changes one needs to disconnect the broker profile and reconnect it. | In order to apply the changes one needs to disconnect the broker profile and reconnect it. | ||
<br> | <br> |