Changes

Jump to navigation Jump to search
no edit summary
<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 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 auto trading is considered):
# Placing manual orders when a strategy is auto trading (the same broker, account, instrument)
# Auto trading from one chart window when a strategy is auto trading on a different chart (the same broker, account, instrument)

Navigation menu