×

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
Open main menu

Changes

Realtime-History Matching

1,715 bytes added, 15:42, 20 July 2018
no edit summary
==Understanding Realtime-history matching option==
'''Realtime-history matching''' option allows MultiCharts to synchronize the calculation of studies based on several data series. When using several data series calculation on historical data may differ from real-time calculation . Realtime-history matching option makes historical calculation results closer to real-time.
When Realtime-history matching option is enabled the signal/indicator is calculated on the latest bar of the main data series and on the currently completed bar of the auxiliary data series. If the auxiliary data series stops updating, the final calculation will be made on the main data series bar that was received immediately after the latest bar of the auxiliary data series. In this case no further calculation will be performed.
 
<div style="background-color: #E3FBE5;">Note: If more than one auxiliary data series is used, the latest bar for the calculation will be
the one that was completed earlier.</div>
When Realtime-history matching option is disabled the signal/indicator is calculated on the basis of the main data series latest bar and current (completed or not) bar of the auxiliary data series. If the auxiliary data series stops updating, the calculation will continue on the basis of the latest bar of the main data series and the open bar of the auxiliary data series.
 
<div style="background-color: #E3FBE5;">Note: All the following examples are true if script/study/signal/strategy is applied to/based on data series 1.</div>
When {|class="wikitable"! scope="row" colspan="2"| Realtime-history matching option History Matching is disabled the signal <span style="color: red>OFF</indicator is span>|-! style="width: 50%; text-align:center;" | Data 1 Continues Updating, Data 2 Stops Updating! style="width: 50%; text-align:center;" | Data 1 Stops Updating, Data 2 Continues Updating|-| Script will be calculated on data series 1 using the basis of updating values from data series 1 and the main latest static available values from data series 2.| Script will be calculated on the latest bar of data series 1 and current (completed will not be calculated until new ticks/bars come in on data series 1, no matter if data series 2 is updating or not) bar . At the moment of this last calculation of the auxiliary script the latest values of data series2 are used. If the auxiliary |-! scope="row" colspan="2"|Realtime-History Matching is <span style="color: green>ON</span>|-! style="width: 50%; text-align:center;" | Data 1 Continues Updating, Data 2 Stops Updating! style="width: 50%; text-align:center;" | Data 1 Stops Updating, Data 2 Continues Updating|-| Script will be calculated on a historical bar of data series 1 and will not be calculated until new ticks/bars come in on data series 2, no matter if data series stops 1 is updating, the calculation or not.| Script will continue be calculated on the basis of the latest bar of the main data series 1 and will not be calculated until new ticks/bars come in on data series 1, no matter if data series 2 is updating or not. At the open bar moment of this last calculation of the auxiliary script the corresponding (not the latest) values of data series2 are used.|}
==Enabling/disabling the Realtime-History Matching option==
===Enabling/disabling the Realtime-History Matching option for signals===
To enable/disable the Realtime-History Matching option for indicatorssignals:
# Insert a signal.<br>To learn more see [[Using Studies#Inserting Studies|Inserting Studies]] section.
# Open the '''Format SignalsObjects''' window.<br><span>{{FormatSignalFormatObjectIS}}</span># Click Select the '''FormatSignals''' buttontab.# Select Click '''Properties''' to open the '''Strategy Properties''' tabwindow.# In Select the '''AdvancedBacktesting''' section, checktab.# Check/uncheck the '''Realtime-History Matching''' checkbox.
<div style="background-color: #E3FBE5;">Note: The Realtime-History Matching option is enabled by default.</div>
[[Category:Studies]]