From Broker To Strategy MP Synchronizer: Difference between revisions
From MultiCharts
From Broker To Strategy MP Synchronizer (view source)
Revision as of 15:57, 14 September 2021
, 14 September 2021no edit summary
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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> | 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> | <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 | 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> | ||
By default, [[Signal Settings#Intra-Bar Order Generation|the IOG mode]] is enabled. | |||
=== How to set timeouts === | === How to set timeouts === |