Release of SQX 139 Dev 1 and what’s planned for year 2024
We’d like to announce the release of the new SX 139 Dev 1 version – note that this is a development version for testing, not the final 139 version. Most …
Přejít k obsahu | Přejít k hlavnímu menu | Přejít k vyhledávání
Performing backtest of the strategy in the trading platform is a necessary step before going live. Generally, all trading platforms are performing the same tasks which are providing the environment for running our strategies live and access to the market. But once you focus on the particular trading platform then you realize that for having a reliable backtest you need to be aware of the specifications of the certain trading platform.
In this article, I will show you how to perform a reliable backtest of the strategy in the commonly used MultiCharts trading platform. We will go through the whole process starting with preparing data for generating strategies and ending with having our strategy backtested in MultiCharts. This article will primarily focus on the technical aspect of backtesting and using the right data. The following article will focus on example setting how to generate example strategies with have good performance results in MultiCharts.
For obtaining a reliable backtest in StrategyQuant you need to use data preprocessed by MultiCharts. We do not recommend directly import data from source e.g. TradeStation into StrategyQuant and avoid the MultiChart data – preprocessing step. If you will avoid it then backtest results between StrategyQuant and MultiCharts will differ more.
Now let’s show the whole process step-by-step:
MultiCharts has a QuoteManager module that allows using data from multiple sources. In this tutorial, we will show you how to deal with data from the TradeStation broker.
Note: For using TradeStation data you need to have installed TradeStation and MultiCharts on the same computer and also run MultiCharts with the admin rights.
The step-by-step tutorial follows:
Now is time to export data from MultiCharts into .csv file which we can import into StrategyQuant.
The step-by-step tutorial follows:
Congratulations, now you have prepared data for importing to the SQ X
Another important point is to have set the same session intervals in MultiCharts and StrategyQuant.
The step-by-step tutorial follows:
Once you have data exported from MultiCharts then you need to import them into StrategyQuant X
The step-by-step tutorial follows:
Make sure that you build strategies on the same data and sessions as you are using in your trading platform in this case MultiCharts.
The correct “futures” session is selected
The data are ready, now you can focus on creating strategies.
After creating some strategies, we will follow with importing them into MultiCharts and performing backtest. This is the final part of our article.
Make sure that you have imported custom indicators into MultiCharts.
File with custom indicators is located in C:\StrategyQuantX\custom_indicators\Tradestation folder.
For MultiCharts, you can use SQ_MC.pla file.
For TradeStation, you can use SQ.el file.
Once custom indicators are imported then you can export strategy source code from StrategyQuant X
Once we exported strategy from StrategyQuant then we can import it into MultiCharts
Everything is ready now to backtest your strategy in MultiCharts.
Final tip: When you build strategies in SQ X for D1 then make sure that you have set up the session correctly.
We’d like to announce the release of the new SX 139 Dev 1 version – note that this is a development version for testing, not the final 139 version. Most …
Dive into Algorithmic Trading Without the Coding Headache! Are you intrigued by algorithmic trading but dread the thought of coding? Today marks the beginning of our exciting series that’s about …
In this interview, we catch up with Naoufel, a seasoned trader, to explore his journey through the stormy market of 2023. Naoufel is successful trader with verfied track record who …
Excellent !!!!! thank you very much
Could you show how to properly set up data and sessions for Nasdaq/NYSE regular trading hours (9:30 to 16:00) for equities?
Hello,
I have sent the setting file to your email address. Please check your inbox