×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

From Broker To Strategy MP Synchronizer

4 bytes removed, 15:01, 27 December 2021
no edit summary
=== Definition===
From Broker To Strategy MP Synchronizer signal is used to synchronize MultiCharts position and the broker position. This can be useful in cases when you auto trade in [[Understanding_Automated_Trade_Execution|Asynchronous mode]] (AA mode) or [[Manual_Trading_and_Automated_Trading_on_the_Same_Instrument_at_a_Time|combine manual trading and auto trading on the same instrument]]. The synchronization is performed inside MultiCharts, no actual orders are not sent to the broker.<br>
<br>
On each strategy calculation, the signal compares chart position with broker position. If the difference between these two positions is detected, TimeOutMS timer starts counting down. If by the end of the specified period the positions don’t get equal, then [[ChangeMarketPosition]] order will be sent by the auto trading system. This event will activate the next timer specified in LatencyMS input. LatencyMS determines how much time to wait before the next synchronization. If during the period specified for LatencyMS the ChangeMarketPosition order is not filled, the synchronizing signal sends another synchronizing order which will send the second notification on the chart. The price of the synchronizing order is equal to [[AvgEntryPrice_at_Broker]].<br>

Navigation menu