Changes

Jump to navigation Jump to search
no edit summary
'''Strategy trading on a chart has nothing in common with manual trading on the same instrument even if the same chart is used. Auto Trading Engine doesn't have access to information of what manual orders are placed, it works only with the strategy on chart. The following information should help customers who place orders manually when auto trading is turned on to synchronize their actions with strategy calculation and correct chart or broker positions.'''
<div style="background-color: #E5F6FF;">'''Example''': Market position at broker = 0. Market position on chart = 0. If your strategy on chart generates 1 contract long entry and it is executed, then the strategy assumes that the position has changed to +1. If 1 contract short market order is placed manually by a customer, then chart doesn't know about it. So the strategiy strategies continue trading individually on the charts, assuming that the chart position is still +1 long. However, since the instrument at broker is the same, the market position at broker on the instrument is the net position of the orders sent from both charts. In this example the position will be flat after 1 generated by the script order and 1 manual order. </div>
Among prebuilt standard signals in MultiCharts there are 2 scripts that were introduced specifically for comparing market positions at broker and on chart to synchronize one of them with the other if they differ. Essentially there are 2 possible expected scenarios when market positions can get out of synch (only SA mode of autotrading is considered):

Navigation menu