DT-Box: Installation and configuration

In this article, I’ll guide you step-by-step through the installation of the DT-Box app and its initial setup.

Firstly, you need to install the MetaTrader5 terminal. If you haven’t already installed it, you can download the installer from this page. If you already have MetaTrader5 installed, we’ll proceed using your current version.

Secondly, you must download the latest version of the DT-Box files. Please download the ZIP archive from the latest release page on GitHub. This archive includes the DT-Box application itself, along with the necessary MetaTrader5 files, such as wrappers for strategies and indicators. Extract the contents into any temporary folder.

After extracting the files, you will get the following folder structure:

A batch file ‘Install.bat’ is designed to copy the required strategy and indicator files into the corresponding directories of your MetaTrader 5 installation. It will also create a ‘pccom’ folder in your documents directory, containing the DT-Box.exe program. Please run this batch file as an Administrator:

The installation is now complete. Next, let’s open the DT-Box app, and you should see the following window appear:

Note that the title bar of the app window shows the connection status. Immediately after launching, it will display ‘Waiting for strategy,’ indicating that the app is ready and awaiting a connection from the MT5 strategy.

Now, navigate to MetaTrader 5, open the Strategy Tester window (View -> Strategy Tester), and select the ‘Single’ option on the Overview tab:”

Next, on the Settings tab, select the Expert ‘Box0.1.ex5’, then check the box for ‘Visual mode with display of charts, indicators, and trades’ and click ‘Start’:

A new window titled ‘Strategy Tester Visualization’ will open, where you can observe the price replay from the start date. If you are new to the MetaTrader 5 backtester, I recommend reading this article, where you will find a comprehensive description of backtesting in MetaTrader 5 including Visual mode.

After the backtesting begins, the DT-Box app will change its status from ‘Waiting for strategy’ to ‘Strategy connected’:

Now, DT-Box is ready to use. If this is your first time using the app, here I demonstrate how to develop a profitable trading strategy with DT-Box, from the initial idea to the actual set of trading rules. Additionally, in this article I provide a comprehensive overview of all the functionalities available in DT-Box.