How to speed up your MetaTrader 4 terminal in 5 minutes?

Every trader knows that the MetaTrader 4 trading platform is periodically updated. Undoubtedly there are positive moments in it, but today let's talk about the disadvantages of such updates.

With each new version MetatTrader 4 becomes "heavier" and more demanding to computer resources. And if a trader uses the built-in strategy tester to test indicators and trading experts, the "weight" of MT4 can reach ten or more gigabytes.

How to speed up MetaTrader 4

High demand for PC resources creates a problem for traders who use VPS servers for testing EAs, reducing the number of terminals available for installation on the server.

All these problems lead to the fact that the trading terminal often freezes and slows down, taking up unacceptably much space on the hard drive.

How do you deal with it? How to speed up MetaTrader 4? Here are some simple tips on how to clean your MetaTrader 4 terminal to speed up its operation.

Quickly and automatically unload unnecessary MT4

1. Remove all unnecessary characters

First of all, it is necessary to optimize the operation of the terminal itself. To begin with, let's remove all the symbols that we don't use. The fact is that each symbol is updated in real time on every tick, which causes increased traffic and load on the PC.

To do this, right-click in the "Market Watch" window and choose "Hide All Symbols" from the drop-down menu.

Hide all symbols in the MT4 terminal
Hide all symbols in the MT4 terminal

In the "Market Watch" window there will be only those currency pairs whose charts are open in the terminal.

Turn off the news in the MT4 terminal

The next step is to disable news in the terminal. To do this, go to the settings and in the tab "Server" uncheck the "Allow news".

Disabling news in MetaTrader 4
Disabling news in MetaTrader 4

3. Reducing the history of quotes

To reduce the load on the terminal, we reduce the quotes history (if your Expert Advisor does not use it). To do this, go to the "Charts" tab in the terminal settings and set the required number of bars of history.

Shortening the story for the advisor
Shortening the story for the advisor

It is desirable to restart the terminal after all last procedures.

Clearing the terminal from unnecessary information by hand

Now let's move on to manual cleaning of the terminal. You can find various utilities on the resources that do it yourself, but you need to understand the very essence of the process, not to mention that an unfamiliar utility can clean the terminal "to a pulp".

The MetaTrader 4 trading terminal is designed so that it constantly accumulates a variety of data: tests, quotes, logs, and more.

An important point: always use different terminals for trading and for testing EAs and indicators. Residuals of tests of previous EAs can cause incorrect work of the current EA or change global variables.

Clean the terminal MetaTrader 4 can be done in two ways.

  • The first way: complete removal and reinstallation. With this method, you must save the profiles, templates, indicators, scripts and advisors that you use to transfer them to the newly installed terminal.
  • The second way: manually delete unnecessary data from the folders of the terminal. To do this, enter the "File" tab in the terminal and open the data directory.
Open the data catalog in MT4
Open the data catalog in MT4

In the window that appears, you will see all the folders of your MetaTrader 4 terminal.

4. Remove emails from mailboxes and unnecessary charts

MetaTrader 4 folder on your computer
MetaTrader 4 folder on your computer

Go to the folder history, find the folders mailbox (this is where the mailbox and all incoming information in the form of email messages is stored) and deleted (this is where the history of all charts opened and subsequently deleted by the trader is stored), and delete all files from them.

Clearing the Deleted and Mailbox folders
Clearing the Deleted and Mailbox folders

Next, open the logs folder. This is where the logs of the terminal for each day are stored. Delete them.

Deleting logs
Deleting logs

The next step is to open the MQL4 folder. There we delete files from the Logs folder (the history of log messages of Expert Advisors, indicators and scripts) and from the Files folder (sometimes saved statments are accumulated there, and some Expert Advisors may put their reports or charts screenshots there).

Delete unnecessary logs and files in the MQL4 folder
Delete unnecessary logs and files in the MQL4 folder

In the end, open the folder tester. In it, we also delete all files and folders history (messages as the history of the strategy tester Metatrader 4) and logs (this folder stores the logs of the strategy tester).

Delete history and logs in the Strategy Tester
Delete history and logs in the Strategy Tester

As you can see, all manipulations will not take even five minutes, but after that you will simply do not recognize your terminal and will enjoy its performance. And if you perform these operations periodically, you will forget about braking and freezing of your favorite MetaTrader 4 and speed up its work significantly.

You will also be interested in

Комментарии ( 5 )

  1. Скажите, пожалуйста, Роман, влияют ли удаления, описанные в разделе “чистка терминала от ненужной информации руками” на быстродействие терминала? Или только на объем места, занимаемого терминалом на диске?
    I appreciate the answer in advance!

    1. В первую очередь, удаление ненужных файлов освобождает место на жестком диске. При тестировании индикаторов и советников набирается очень много журналов, логов и так далее, которые не только занимают место, а так или иначе тормозят терминал. На быстродействие терминала, в большей степени, влияют операции, описанные выше – это функции, использующие траффик (новости, изменение котировок и т.д.), а также количество используемых индикаторов и советников. Каждый индикатор или советник для своей работы использует определенное количество оперативной памяти, которая (не все об этом знают) в терминале MetaTrader 4 ограничена 3Гб, вне зависимости от того, сколько оперативки на Вашем компьютере.

      1. Понятно, спасибо. Позвольте еще пару вопросов. Существенно ли, на ваш взгляд, тормозят работу терминала обращения советника за различными данными (вроде AccountEquity(), OrderProfit() – ну, их много, суть, я думаю, понятна) или этим торможением можно пренебречь? Скажем, будет ли заметна разница между парой десятков и парой сотен обращений к подобным функциям за один цикл работы советника? Аналогично: заметно ли влияют на быстродействие запись и считывание глобальных переменных?

        1. Unfortunately, I'm not a professional MQL programmer and my knowledge is not deep enough to give you a detailed answer. Chat to here. The guys who do all this in practice will help you and tell you all the details.

          1. Спасибо, Роман, за статью (у меня 5 терминалов на VPS; отключил в них новости и сократил историю котировок – похоже, им стало полегче) и за ответы (в частности, зашел на http://forexsystemsru.com/yazyk-programmirovaniya-mql4-f72/I see a lot of interesting things there).
            I read that you are trying your hand as an investor. I have been accepting funds for forex trading for several years now. Perhaps we could mutually benefit from working together. If you are interested, please send me your e-mail at additionald05-for@yahoo.com , и я изложу свое предложение подробнее. (На всякий случай: это не из серии “дайте мне денег, а я вам обеспечу тыщу процентов годовых”; речь идет о пяти-семи процентах в месяц, и деньги при этом остаются на Вашем счете).

Leave a Reply

Back to top button