Why Identical Charts Are Showing Different Strategy Trading Results: Difference between revisions
From MultiCharts
Why Identical Charts Are Showing Different Strategy Trading Results (view source)
Revision as of 09:46, 11 June 2013
, 11 June 2013no edit summary
No edit summary |
|||
Line 15: | Line 15: | ||
<div style="background-color: #E3FBE5;">'''Note 3''': If your script requires a number of bars for calculation the price for an order and this number of bars is greater than MaxBarsBack value, the example is not valid.</div> | <div style="background-color: #E3FBE5;">'''Note 3''': If your script requires a number of bars for calculation the price for an order and this number of bars is greater than MaxBarsBack value, the example is not valid.</div> | ||
<div style="background-color: #E3FBE5;">'''Note 4''': In this example an ideal and very simple situation is described. Different resolutions, presence of session breaks on chart and many other factors make it much more complicated. | <div style="background-color: #E3FBE5;">'''Note 4''': In this example an ideal and very simple situation is described. Different resolutions, presence of session breaks on chart and many other factors make it much more complicated. | ||
=== Asynchronous Mode === | |||
Auto trading in asynchronous mode shows all the orders generated by your strategy on chart and the starting points of script calculation are the same on chart A that is auto trading in AA and the same chart B that is calculating in real-time nearby, but '''this mode is supposed to give you different picture on chart and at broker end by its design'''. There are 3 places where orders are executed and positions are opened/closed: | |||
# '''Broker end''', | |||
# '''MultiCharts auto trading engine''', | |||
# '''Chart in MultiCharts'''. | |||
If everything set up correctly and working flawlessly (without any errors, manual orders or issues) in synchronous mode [SA] all these 3 places should be synchronized; in asynchronous mode [AA] visual order execution on chart may be up to 100% different from broker end. |