Auto Trading: Difference between revisions
From MultiCharts
→Cancel Expired Market Orders After X Seconds
Line 64: | Line 64: | ||
This option sets the timeout to cancel market orders not filled within specified time. | This option sets the timeout to cancel market orders not filled within specified time. | ||
<div style="background-color: #E5F6FF;">'''Example''': | <div style="background-color: #E5F6FF;">'''Example''': 30 second timeout is set;<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 30 second countdown has been started:<br>12:00:40 - market order is cancelled.</div> | ||
<br> | <br> | ||