×

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

Chart Backtesting VS Portfolio Backtesting

1 byte added, 13:51, 10 August 2023
no edit summary
MultiCharts and [[Portfolio_Trader|Portfolio Trader]] serve for different purposes , and backtesting on charts and in Portfolio is not supposed to match. Still there are some recommendations that can help bringing the backtesting on charts and in Portfolio as close to each other as possible.
==Instrument settings==
#* [[Quote_Field|Quote Field]];
#* [[Sessions]];
#* [[Chart_Resolution#Build_Volume_On_Selector|Build volume on]] (if the strategy uses volumes in it’s its calculations);
#* [[Data_Range|Data Range]]* - should be specified as From…To and not Days/Bars Back;
#* [[Time_Zone|Time Zone]]*.
The following settings are unavailable on charts, therefore they need to be configured so that they don’t influence Portfolio backtesting. In the [[Portfolio_Settings|'''Money Management Settings''']] section:
* '''Exposure = 100%* Max % of Capital at Risk per Position''' should be set to = 100%. * '''Initial Portfolio Capital''' should be set to maximum which is $1 000 000 000.Margin value = 0* Max Potential Loss = 0
<br>
<div style="background-color: #ff9999;"> '''NOTE:''' Even with all of these recommendations implemented there’s a possibility that the backtesing backtesting results in both applications will not match. This is related to the code’s specific and one should review the strategy’s code to find the reason for the discrepancy. An example of how to do that can be found [[Why_an_Order_Was_or_Was_Not_Executed|'''here''']]. </div>
[[Category:FAQ]]

Navigation menu